aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-10 20:52:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-10 20:52:20 +0000
commit05f8404a32658ff3c3dfb0ac67c40594aeca6a36 (patch)
tree05b05243d4f2ce5961d8e1204bb08bc46992f9b5 /net-mgmt
parent6b4ff7ca756ba661dbce14976de4d58ce998edc1 (diff)
downloadports-05f8404a32658ff3c3dfb0ac67c40594aeca6a36.tar.gz
ports-05f8404a32658ff3c3dfb0ac67c40594aeca6a36.zip
- Swith to USES=libtool
- Optionize and simplify docs installation
Notes
Notes: svn path=/head/; revision=357380
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/pixilate/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/pixilate/Makefile b/net-mgmt/pixilate/Makefile
index 9ca088161da8..da01c4fe0af8 100644
--- a/net-mgmt/pixilate/Makefile
+++ b/net-mgmt/pixilate/Makefile
@@ -14,7 +14,8 @@ LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
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/pixilate.1.gz
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>