aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2015-10-08 12:00:53 +0800
committerdinoex <dinoex@FreeBSD.org>2015-10-08 12:00:53 +0800
commit693a0c1f677d85221b89568943c838e7e35509df (patch)
treef000285ba4497413f65955840c435dd7477195f1 /news
parentba03d7ca3d827151251ee05373fe92d3f0c24f1c (diff)
downloadfreebsd-ports-gnome-693a0c1f677d85221b89568943c838e7e35509df.tar.gz
freebsd-ports-gnome-693a0c1f677d85221b89568943c838e7e35509df.tar.zst
freebsd-ports-gnome-693a0c1f677d85221b89568943c838e7e35509df.zip
- cleanup
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>