svn commit: r357380 - head/net-mgmt/pixilate

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 10 20:52:21 UTC 2014


Author: amdmi3
Date: Tue Jun 10 20:52:20 2014
New Revision: 357380
URL: http://svnweb.freebsd.org/changeset/ports/357380
QAT: https://qat.redports.org/buildarchive/r357380/

Log:
  - Swith to USES=libtool
  - Optionize and simplify docs installation

Modified:
  head/net-mgmt/pixilate/Makefile

Modified: head/net-mgmt/pixilate/Makefile
==============================================================================
--- head/net-mgmt/pixilate/Makefile	Tue Jun 10 20:50:45 2014	(r357379)
+++ head/net-mgmt/pixilate/Makefile	Tue Jun 10 20:52:20 2014	(r357380)
@@ -14,7 +14,8 @@ LIB_DEPENDS=	libnet.so:${PORTSDIR}/net/l
 
 WRKSRC=		${WRKDIR}/pixilate
 
-USE_AUTOTOOLS=	aclocal autoconf automake libtool
+USES=		libtool
+USE_AUTOTOOLS=	aclocal autoconf automake
 AUTOMAKE_ARGS=	--add-missing
 
 PORTDOCS=	README
@@ -22,6 +23,8 @@ PLIST_FILES=	bin/pixilate man/man1/pixil
 
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|libnet-config|${LIBNET_CONFIG}|; \
@@ -29,11 +32,7 @@ post-patch:
 		${WRKSRC}/configure.ac
 
 post-install:
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in README
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list