diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 01:12:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 01:12:49 +0800 |
commit | 07b362a82e32aadf450b64c00b0f25616ab1ef0c (patch) | |
tree | 681516dbb4b4ff2621f342f68b526425d1b21ce3 /comms | |
parent | 574f10ed06d81b0534bbfd8d3c627b94f10e2906 (diff) | |
download | freebsd-ports-gnome-07b362a82e32aadf450b64c00b0f25616ab1ef0c.tar.gz freebsd-ports-gnome-07b362a82e32aadf450b64c00b0f25616ab1ef0c.tar.zst freebsd-ports-gnome-07b362a82e32aadf450b64c00b0f25616ab1ef0c.zip |
- Whitespace fixes
- Silence patching
- Switch to options helpers
- Don't install installation instructions
Diffstat (limited to 'comms')
-rw-r--r-- | comms/efax/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/comms/efax/Makefile b/comms/efax/Makefile index 225659709c0a..9e92f1e01835 100644 --- a/comms/efax/Makefile +++ b/comms/efax/Makefile @@ -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} |