blob: 24042e7351cd6accb5298dcea79e7d0a8477fddd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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>
.if ${OSVERSION} < 600000
BROKEN= does not compile, needs to fix /usr/include/net/pfvar.h
.endif
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>
|