svn commit: r403307 - head/comms/efax
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 8 17:12:51 UTC 2015
Author: amdmi3
Date: Tue Dec 8 17:12:49 2015
New Revision: 403307
URL: https://svnweb.freebsd.org/changeset/ports/403307
Log:
- Whitespace fixes
- Silence patching
- Switch to options helpers
- Don't install installation instructions
Modified:
head/comms/efax/Makefile
Modified: head/comms/efax/Makefile
==============================================================================
--- head/comms/efax/Makefile Tue Dec 8 17:10:40 2015 (r403306)
+++ head/comms/efax/Makefile Tue Dec 8 17:12:49 2015 (r403307)
@@ -13,24 +13,24 @@ COMMENT= Fax send/receive program
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS=xloadimage:${PORTSDIR}/x11/xloadimage
+RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage
DOCSDIR= ${PREFIX}/share/doc/efax
-PORTDOCS= COPYING README printcap.sample efax.html fax.html
+PORTDOCS= README printcap.sample efax.html fax.html
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- INSTALL_DATA="${INSTALL_DATA}"
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ INSTALL_DATA="${INSTALL_DATA}"
SUB_FILES= pkg-message
CONFLICTS= efax-gtk-*
+OPTIONS_DEFINE= DOCS
+
post-patch:
- ${REINPLACE_CMD} -e 's,$$(PREFIX),${STAGEDIR}&,g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,$$(PREFIX),${STAGEDIR}&,g' ${WRKSRC}/Makefile
post-build:
- ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/fax
-
-OPTIONS_DEFINE= DOCS
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/fax
post-install:
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample ${STAGEDIR}${PREFIX}/etc
@@ -39,6 +39,8 @@ post-install:
${TOUCH} ${STAGEDIR}/var/spool/fax/incoming/.keepme
@${MKDIR} ${STAGEDIR}/var/spool/fax/outgoing
${TOUCH} ${STAGEDIR}/var/spool/fax/outgoing/lock
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-head
mailing list