Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= filtermail |
3 |
PORTNAME= filtermail |
4 |
PORTVERSION= 0.8.3 |
4 |
PORTVERSION= 0.8.6 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= mail |
5 |
CATEGORIES= mail |
7 |
MASTER_SITES= http://sourceforge.net/projects/mailfilter/files/Mailfilter/ |
6 |
MASTER_SITES= http://sourceforge.net/projects/mailfilter/files/Mailfilter/ |
8 |
DISTNAME= mailfilter-${PORTVERSION} |
7 |
DISTNAME= mailfilter-${PORTVERSION} |
Lines 12-22
Link Here
|
12 |
|
11 |
|
13 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
14 |
|
13 |
|
|
|
14 |
.include <bsd.port.options.mk> |
15 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 |
16 |
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex |
17 |
.endif |
18 |
|
19 |
USES= bison gmake ssl |
20 |
|
15 |
# This port is filtermail, but the author called it mailfilter. To avoid a |
21 |
# This port is filtermail, but the author called it mailfilter. To avoid a |
16 |
# clash with another port called mailfilter, we change all files |
22 |
# clash with another port called mailfilter, we change all files |
17 |
# installed by this port from the form *mailfilter* to the form |
23 |
# installed by this port from the form *mailfilter* to the form |
18 |
# *filtermail*, and similarly the names in the man pages. |
24 |
# *filtermail*, and similarly the names in the man pages. |
19 |
# |
25 |
|
20 |
EXTRACT_CMD= ${GZIP_CMD} |
26 |
EXTRACT_CMD= ${GZIP_CMD} |
21 |
EXTRACT_BEFORE_ARGS= -dc |
27 |
EXTRACT_BEFORE_ARGS= -dc |
22 |
EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf - |
28 |
EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf - |
Lines 23-33
Link Here
|
23 |
|
29 |
|
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
30 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
25 |
|
31 |
|
26 |
USES= bison gmake ssl |
|
|
27 |
GNU_CONFIGURE= yes |
32 |
GNU_CONFIGURE= yes |
28 |
MAKE_JOBS_UNSAFE= yes |
33 |
MAKE_JOBS_UNSAFE= yes |
29 |
|
34 |
|
30 |
CPPFLAGS+= -I${LOCALBASE}/include |
35 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
36 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 |
37 |
CPPFLAGS+= -I${LOCALBASE}/include/flex |
38 |
FLEX=${LOCALBASE}/bin/flex |
39 |
.endif |
31 |
LDFLAGS+= -L${LOCALBASE}/lib |
40 |
LDFLAGS+= -L${LOCALBASE}/lib |
32 |
|
41 |
|
33 |
PLIST_FILES= bin/${PORTNAME} \ |
42 |
PLIST_FILES= bin/${PORTNAME} \ |