diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-11 04:52:20 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-11 04:52:20 +0800 |
commit | 2880b62889e9c248c769c0e34ed5559098f1c8f3 (patch) | |
tree | 05b05243d4f2ce5961d8e1204bb08bc46992f9b5 | |
parent | 1336ac203c134ed70efd4276a2c0facff45c6fd5 (diff) | |
download | freebsd-ports-gnome-2880b62889e9c248c769c0e34ed5559098f1c8f3.tar.gz freebsd-ports-gnome-2880b62889e9c248c769c0e34ed5559098f1c8f3.tar.zst freebsd-ports-gnome-2880b62889e9c248c769c0e34ed5559098f1c8f3.zip |
- Swith to USES=libtool
- Optionize and simplify docs installation
-rw-r--r-- | net-mgmt/pixilate/Makefile | 11 |
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> |