2008-03-19 05:27:40 +01:00
|
|
|
# New ports collection makefile for: imspector
|
|
|
|
# Date created: 17 March 2008
|
|
|
|
# Whom: Ilja Dejs <ilja.dejs@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= imspector
|
2011-06-13 21:28:35 +02:00
|
|
|
PORTVERSION= 0.9
|
2011-06-14 21:10:49 +02:00
|
|
|
PORTREVISION= 1
|
2008-03-19 05:27:40 +01:00
|
|
|
CATEGORIES= net-im
|
|
|
|
MASTER_SITES= http://www.imspector.org/downloads/
|
|
|
|
|
2011-06-13 21:28:35 +02:00
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
|
|
|
COMMENT= IM transparent proxy with monitoring, blocking and content-filtering
|
2008-03-19 05:27:40 +01:00
|
|
|
|
2011-06-13 21:28:35 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
CFLAGS+= -fPIC -I ${LOCALBASE}/include -DHAVE_SSL
|
|
|
|
USE_GMAKE= YES
|
|
|
|
USE_ICONV= YES
|
|
|
|
USE_OPENSSL= YES
|
2008-03-19 05:27:40 +01:00
|
|
|
|
|
|
|
CONFIG_FILES= imspector.conf badwords.txt acl.txt
|
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-01-06 18:59:31 +01:00
|
|
|
.include <bsd.port.mk>
|