|
Lines 7-13
Link Here
|
| 7 |
|
7 |
|
| 8 |
PORTNAME= masqmail |
8 |
PORTNAME= masqmail |
| 9 |
PORTVERSION= 0.2.21 |
9 |
PORTVERSION= 0.2.21 |
| 10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
| 11 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
| 12 |
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} |
12 |
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} |
| 13 |
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig |
13 |
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig |
|
Lines 15-22
Link Here
|
| 15 |
MAINTAINER= anray@FreeBSD.org |
15 |
MAINTAINER= anray@FreeBSD.org |
| 16 |
COMMENT= Mail server for hosts, not permanently connected to the internet |
16 |
COMMENT= Mail server for hosts, not permanently connected to the internet |
| 17 |
|
17 |
|
|
|
18 |
.if !defined (NO_INSTALL_MANPAGES) |
| 18 |
MAN5= masqmail.aliases.5 masqmail.conf.5 masqmail.get.5 masqmail.route.5 |
19 |
MAN5= masqmail.aliases.5 masqmail.conf.5 masqmail.get.5 masqmail.route.5 |
| 19 |
MAN8= masqmail.8 mservdetect.8 |
20 |
MAN8= masqmail.8 mservdetect.8 |
|
|
21 |
.endif |
| 20 |
|
22 |
|
| 21 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
| 22 |
CFLAGS+= -Wno-trigraphs |
24 |
CFLAGS+= -Wno-trigraphs |
|
Lines 25-30
Link Here
|
| 25 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
27 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
| 26 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
28 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
| 27 |
|
29 |
|
|
|
30 |
.if !defined (NOPORTDOCS) |
| 31 |
PORTDOCS= AUTHORS COPYING INSTALL NEWS README TODO |
| 32 |
.endif |
| 33 |
|
| 28 |
.if defined(WITH_LIBCRYPTO) |
34 |
.if defined(WITH_LIBCRYPTO) |
| 29 |
CONFIGURE_ARGS+= --with-libcrypto |
35 |
CONFIGURE_ARGS+= --with-libcrypto |
| 30 |
.endif |
36 |
.endif |
|
Lines 51-65
Link Here
|
| 51 |
.endif |
57 |
.endif |
| 52 |
|
58 |
|
| 53 |
USE_GNOME= glib20 |
59 |
USE_GNOME= glib20 |
| 54 |
USE_RC_SUBR= yes |
60 |
USE_RC_SUBR= masqmail |
| 55 |
|
|
|
| 56 |
post-build: |
| 57 |
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ |
| 58 |
-e 's,%%RC_SUBR%%,${RC_SUBR},g' \ |
| 59 |
${FILESDIR}/masqmail.sh > ${WRKDIR}/masqmail.sh |
| 60 |
|
61 |
|
| 61 |
post-install: |
62 |
post-install: |
| 62 |
${INSTALL_SCRIPT} ${WRKDIR}/masqmail.sh ${PREFIX}/etc/rc.d/masqmail.sh |
|
|
| 63 |
${MKDIR} ${PREFIX}/etc/masqmail |
63 |
${MKDIR} ${PREFIX}/etc/masqmail |
| 64 |
${CHOWN} mailnull:mail ${PREFIX}/etc/masqmail |
64 |
${CHOWN} mailnull:mail ${PREFIX}/etc/masqmail |
| 65 |
${INSTALL_DATA} -o mailnull -g mail ${WRKSRC}/examples/masqmail.conf ${PREFIX}/etc/masqmail/masqmail.conf-dist |
65 |
${INSTALL_DATA} -o mailnull -g mail ${WRKSRC}/examples/masqmail.conf ${PREFIX}/etc/masqmail/masqmail.conf-dist |
|
Lines 68-74
Link Here
|
| 68 |
|
68 |
|
| 69 |
.if !defined(NOPORTDOCS) |
69 |
.if !defined(NOPORTDOCS) |
| 70 |
${MKDIR} ${DOCSDIR} |
70 |
${MKDIR} ${DOCSDIR} |
| 71 |
.for i in AUTHORS COPYING INSTALL NEWS README TODO |
71 |
.for i in ${PORTDOCS} |
| 72 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
72 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
| 73 |
.endfor |
73 |
.endfor |
| 74 |
.endif |
74 |
.endif |