aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2015-10-08 04:00:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2015-10-08 04:00:53 +0000
commitdb50fe2ac02dc2d5d9c11798aba824e06aa3024b (patch)
treef000285ba4497413f65955840c435dd7477195f1 /news
parent1c2d90e53c9ac15654400f7068727c687d17e697 (diff)
downloadports-db50fe2ac02dc2d5d9c11798aba824e06aa3024b.tar.gz
ports-db50fe2ac02dc2d5d9c11798aba824e06aa3024b.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/ifmail/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index c02c47801553..e044a7c8a6fe 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -10,6 +10,13 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= FidoNet(tm) support package for UN*X platform
USES= shebangfix
+USERS= ifmail
+CFLAGS+= -DHAS_STDARG_H -Wall
+GID!= id -g
+MAKE_ARGS= OWNER=${UID} CC="${CC}" GROUP=${GID} CFLAGS="${CFLAGS}"
+
+LMAN3= parsedate.3
+LMAN8= ifmail.8 iftoss.8
SHEBANG_FILES= misc/contrib/a2dbm \
misc/contrib/abbs2nf/abbs2nf.pl \
misc/contrib/areafix-0.5.07/areafix.pl \
@@ -34,18 +41,9 @@ SHEBANG_FILES= misc/contrib/a2dbm \
misc/contrib/u-tic/u-attach.pl \
misc/contrib/u-tic/u-fix.pl \
misc/contrib/u-tic/u-tic.pl
-USERS= ifmail
-CFLAGS+= -DHAS_STDARG_H -Wall
-GID!= id -g
-MAKE_ARGS= OWNER=${UID} CC="${CC}" GROUP=${GID} CFLAGS="${CFLAGS}"
-
-LMAN3= parsedate.3
-LMAN8= ifmail.8 iftoss.8
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/ifmail
@@ -57,16 +55,16 @@ post-install:
.for i in ${LMAN3}
${INSTALL_MAN} ${WRKSRC}/iflib/${i} ${STAGEDIR}${PREFIX}/man/man3/
.endfor
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.for i in ifcico ifgate iflib
${INSTALL_DATA} ${WRKSRC}/${i}/README ${STAGEDIR}${DOCSDIR}/README.${i}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/misc -cf - . | ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf -
-.endif
.include <bsd.port.mk>