Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 17:12:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403307 - head/comms/efax
Message-ID:  <201512081712.tB8HCois079054@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081712.tB8HCois079054>