From 07b362a82e32aadf450b64c00b0f25616ab1ef0c Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 8 Dec 2015 17:12:49 +0000 Subject: - Whitespace fixes - Silence patching - Switch to options helpers - Don't install installation instructions --- comms/efax/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'comms') 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} -- cgit