diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 03:06:07 +0800 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 03:06:07 +0800 |
commit | 41fcfb64f91a016dd7a83d99d115b6efcb10a4f5 (patch) | |
tree | e3772ed0921ca0d8dc861c4b7c1dd440273bc41e /archivers/lzo2 | |
parent | 12c49b0345676cbf2d18b0c8cb021c54fc454847 (diff) | |
download | freebsd-ports-gnome-41fcfb64f91a016dd7a83d99d115b6efcb10a4f5.tar.gz freebsd-ports-gnome-41fcfb64f91a016dd7a83d99d115b6efcb10a4f5.tar.zst freebsd-ports-gnome-41fcfb64f91a016dd7a83d99d115b6efcb10a4f5.zip |
Reduce unnecessary bsd.port.options.mk inclusions by using OPTIONS helpers.
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being
used to disable the selected options.
Approved by: portmgr (blanket)
Diffstat (limited to 'archivers/lzo2')
-rw-r--r-- | archivers/lzo2/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile index c0d94bf5a13c..d6acc358ba28 100644 --- a/archivers/lzo2/Makefile +++ b/archivers/lzo2/Makefile @@ -20,11 +20,7 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - -.if !${PORT_OPTIONS:MDOCS} -INSTALL_TARGET= install-exec install-pkgincludeHEADERS -.endif +DOCS_INSTALL_TARGET_OFF= install-exec install-pkgincludeHEADERS post-build: .if !defined(WITHOUT_CHECKS) @@ -35,17 +31,13 @@ post-build: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2 -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README .for i in AUTHORS BUGS COPYING NEWS README THANKS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${STAGEDIR}${EXAMPLESDIR}/ -.endif .include <bsd.port.mk> |