summaryrefslogtreecommitdiff
path: root/net-im/imspector/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-19 04:27:40 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-19 04:27:40 +0000
commit0c50a725e528dc024ee27f735f5d31af9504d3a3 (patch)
treebd210f6a3d50cc33806a9b9a99623c51c1da5cd1 /net-im/imspector/Makefile
parent- Make BROKEN (fails to compile due to the newer hdf5 API incompatible). (diff)
IMSpector is an Instant Messenger transparent proxy with monitoring,
blocking, and content-filtering capabilities. WWW: http://www.imspector.org/ - Dejs Ilja ilja.dejs@gmail.com PR: ports/121778 Submitted by: Ilja Dejs <ilja.dejs at gmail.com>
Notes
Notes: svn path=/head/; revision=209345
Diffstat (limited to 'net-im/imspector/Makefile')
-rw-r--r--net-im/imspector/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-im/imspector/Makefile b/net-im/imspector/Makefile
new file mode 100644
index 000000000000..8d822bdb2f63
--- /dev/null
+++ b/net-im/imspector/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: imspector
+# Date created: 17 March 2008
+# Whom: Ilja Dejs <ilja.dejs@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= imspector
+PORTVERSION= 0.5
+CATEGORIES= net-im
+MASTER_SITES= http://www.imspector.org/downloads/
+
+MAINTAINER= lawrence@aslak.net
+COMMENT= IM transparent proxy with monitoring, blocking, and content-filtering supports
+
+CFLAGS+= -fPIC
+
+CONFIG_FILES= imspector.conf badwords.txt acl.txt
+
+USE_RC_SUBR= ${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+MAKE_ENV+= ETCDIR=${ETCDIR}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${WRKSRC}/imspector.conf \
+ ${WRKSRC}/main.cpp
+post-install:
+.for f in ${CONFIG_FILES}
+ @if [ ! -f ${ETCDIR}/${f} ]; then \
+ ${CP} -p ${ETCDIR}/${f}.sample ${ETCDIR}/${f} ; \
+ fi
+.endfor
+
+.include <bsd.port.post.mk>