svn commit: r444342 - head/mail/postfix-postfwd
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jun 26 03:24:40 UTC 2017
Author: sunpoet
Date: Mon Jun 26 03:24:38 2017
New Revision: 444342
URL: https://svnweb.freebsd.org/changeset/ports/444342
Log:
Remove Perl core modules
- Add LICENSE_FILE
- Add NO_ARCH
- Convert to options target helper
- Remove blank line in PLIST
- Bump PORTREVISION for dependency change
Modified:
head/mail/postfix-postfwd/Makefile
head/mail/postfix-postfwd/pkg-plist
Modified: head/mail/postfix-postfwd/Makefile
==============================================================================
--- head/mail/postfix-postfwd/Makefile Mon Jun 26 03:24:33 2017 (r444341)
+++ head/mail/postfix-postfwd/Makefile Mon Jun 26 03:24:38 2017 (r444342)
@@ -12,12 +12,12 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= Postfix firewall policy daemon
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/doc/LICENSE
RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS \
- p5-Net-Server>=0:net/p5-Net-Server \
- p5-Storable>=0:devel/p5-Storable \
- p5-Time-HiRes>=0:devel/p5-Time-HiRes
+ p5-Net-Server>=0:net/p5-Net-Server
+NO_ARCH= yes
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
@@ -29,23 +29,23 @@ NO_BUILD= yes
OPTIONS_DEFINE= EXAMPLES DOCS POSTFWD2
POSTFWD2_DESC= Install postfwd v2 rather than v1
-.include <bsd.port.options.mk>
-
do-install:
-.if ${PORT_OPTIONS:MPOSTFWD2}
- @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.else
- @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-.endif
@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
@${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-POSTFWD2-on:
+ @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+do-install-POSTFWD2-off:
+ @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
Modified: head/mail/postfix-postfwd/pkg-plist
==============================================================================
--- head/mail/postfix-postfwd/pkg-plist Mon Jun 26 03:24:33 2017 (r444341)
+++ head/mail/postfix-postfwd/pkg-plist Mon Jun 26 03:24:38 2017 (r444342)
@@ -19,4 +19,3 @@ man/man8/postfwd2.8.gz
%%PORTDOCS%%%%DOCSDIR%%/versions.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/request.sample
-
More information about the svn-ports-all
mailing list