diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-05 06:34:02 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-05 06:34:02 +0800 |
commit | c24521c68f10956b25edf2172a463beed9f5782d (patch) | |
tree | a0128fd70f67aea037c536f81add916bb3bd0eee /net-im/gaim-ignorance | |
parent | 4e658b4768013483e0637789df73e0ec28333be4 (diff) | |
download | marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar.gz marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar.bz2 marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar.lz marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar.xz marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.tar.zst marcuscom-ports-c24521c68f10956b25edf2172a463beed9f5782d.zip |
- LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7567 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/gaim-ignorance')
-rw-r--r-- | net-im/gaim-ignorance/Makefile | 46 | ||||
-rw-r--r-- | net-im/gaim-ignorance/distinfo | 3 | ||||
-rw-r--r-- | net-im/gaim-ignorance/files/patch-ignorance.c | 14 | ||||
-rw-r--r-- | net-im/gaim-ignorance/files/pkg-message.in | 7 | ||||
-rw-r--r-- | net-im/gaim-ignorance/pkg-descr | 8 | ||||
-rw-r--r-- | net-im/gaim-ignorance/pkg-plist | 9 |
6 files changed, 87 insertions, 0 deletions
diff --git a/net-im/gaim-ignorance/Makefile b/net-im/gaim-ignorance/Makefile new file mode 100644 index 000000000..bba7aa20a --- /dev/null +++ b/net-im/gaim-ignorance/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: gaim-ignorance +# Date created: 17 April 2005 +# Whom: kevinb +# +# $FreeBSD$ +# + +PORTNAME= ignorance +PORTVERSION= 2.2 +PORTREVISION= 3 +CATEGORIES= net-im +MASTER_SITES= http://thefnords.googlepages.com/ +PKGNAMEPREFIX= gaim- + +MAINTAINER= kruptos@mlinux.org +COMMENT= Adds filtering capabilities to gaim + +BUILD_DEPENDS= gaim:${PORTSDIR}/net-im/gaim +RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim + +DEPRECATED= The author has taken down his site and has ceased developing this program + +USE_BZIP2= yes +GNU_CONFIGURE= yes + +SUB_FILES= pkg-message +PORTDOCS= README + +post-patch: + @${REINPLACE_CMD} -e 's|-g3||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s/ignorance.conf/ignorance.conf.sample/g" ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/ignorance.conf ${WRKSRC}/ignorance.conf.sample + +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/ignorance ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + if ${TEST} ! -f ${PREFIX}/etc/gaim/ignorance.conf; then \ + ${CP} ${PREFIX}/etc/gaim/ignorance.conf.sample ${PREFIX}/etc/gaim/ignorance.conf; \ + fi + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/net-im/gaim-ignorance/distinfo b/net-im/gaim-ignorance/distinfo new file mode 100644 index 000000000..913c6f186 --- /dev/null +++ b/net-im/gaim-ignorance/distinfo @@ -0,0 +1,3 @@ +MD5 (ignorance-2.2.tar.bz2) = 9d8fdc97751adc19f5871c0c7793e1f9 +SHA256 (ignorance-2.2.tar.bz2) = b543fa3f32eff9ce59a81a7c3366e66a0a87ff29ed1117944a39850ea1c20fb4 +SIZE (ignorance-2.2.tar.bz2) = 282432 diff --git a/net-im/gaim-ignorance/files/patch-ignorance.c b/net-im/gaim-ignorance/files/patch-ignorance.c new file mode 100644 index 000000000..67e78267f --- /dev/null +++ b/net-im/gaim-ignorance/files/patch-ignorance.c @@ -0,0 +1,14 @@ +--- ignorance.c.orig Fri Oct 21 03:07:36 2005 ++++ ignorance.c Mon Oct 24 11:16:17 2005 +@@ -1637,9 +1637,10 @@ + return -1; + }else if (pid){ //Parent + int rv; ++ int flags; + + close (p[1]); +- int flags = fcntl (p[0], F_GETFL, 0); ++ flags = fcntl (p[0], F_GETFL, 0); + fcntl (p[0], F_SETFL, flags | O_NONBLOCK); + + rv=read_nonblock(p[0],maxlen-chrs,EXEC_TIMEOUT,inp); diff --git a/net-im/gaim-ignorance/files/pkg-message.in b/net-im/gaim-ignorance/files/pkg-message.in new file mode 100644 index 000000000..07a130d1b --- /dev/null +++ b/net-im/gaim-ignorance/files/pkg-message.in @@ -0,0 +1,7 @@ +=============================================================================== +If this is the first time you use this port, you should copy the default +filters into your Gaim directory. To do so, log into your user account and +type: + + cp %%EXAMPLESDIR%%/ignorance ~/.gaim +=============================================================================== diff --git a/net-im/gaim-ignorance/pkg-descr b/net-im/gaim-ignorance/pkg-descr new file mode 100644 index 000000000..60e99bfbd --- /dev/null +++ b/net-im/gaim-ignorance/pkg-descr @@ -0,0 +1,8 @@ +Ignorance is a content filtering plugin for Gaim. If you love Gaim for +chat, but find yourself missing the filtering features of clients like +zinc, then Ignorance is for you! + +This program is currently without a developer and you may wish to +consider this before installing it. + +WWW: http://thefnords.googlepages.com/gaimplugins diff --git a/net-im/gaim-ignorance/pkg-plist b/net-im/gaim-ignorance/pkg-plist new file mode 100644 index 000000000..043765b16 --- /dev/null +++ b/net-im/gaim-ignorance/pkg-plist @@ -0,0 +1,9 @@ +@comment $FreeBSD$ +lib/gaim/ignorance.la +lib/gaim/ignorance.so +%%EXAMPLESDIR%%/ignorance +@unexec if cmp -s %D/etc/gaim/ignorance.conf %D/etc/gaim/ignorance.conf.sample; then rm -f %D/etc/gaim/ignorance.conf;fi +etc/gaim/ignorance.conf.sample +@exec [ -f %B/ignorance.conf ] || cp %B/%f %B/ignorance.conf +@dirrm %%EXAMPLESDIR%% +@dirrmtry etc/gaim/ |