Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 20:52:21 +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: r357380 - head/net-mgmt/pixilate
Message-ID:  <201406102052.s5AKqLBK014565@svn.freebsd.org>

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



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