diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 21:54:14 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 21:54:14 +0000 |
commit | 01da1d3d6cf30b21f44b8cdec6111c1581fdb020 (patch) | |
tree | ab5ce506e32784d5c0f435c1e3d56915f38eba14 /deskutils/pinot | |
parent | 4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e (diff) |
Nuke NOPORTDOCS. Convert a couple WITH_foo's to OPTIONS.
Notes
Notes:
svn path=/head/; revision=360464
Diffstat (limited to 'deskutils/pinot')
-rw-r--r-- | deskutils/pinot/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile index 5ff01389370d..056534cb368a 100644 --- a/deskutils/pinot/Makefile +++ b/deskutils/pinot/Makefile @@ -54,18 +54,13 @@ USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters SHEBANG_LANG= bash SHEBANG_FILES= scripts/bash/*.sh -.if defined(WITH_DEBUG) -CONFIGURE_ARGS+= --enable-debug=yes -.endif - -.if defined(WITH_CHMLIB) -CONFIGURE_ARGS+= --enable-chmlib=yes -LIB_DEPENDS+= libchm.so:${PORTSDIR}/misc/chmlib -PLIST_SUB+= CHMLIB="" -.else -CONFIGURE_ARGS+= --disable-chmlib -PLIST_SUB+= CHMLIB="@comment " -.endif +OPTIONS_DEFINE= DEBUG CHMLIB DOCS +OPTIONS_SUB= yes + +DEBUG_CONFIGURE_ENABLE= debug-yes + +CHMLIB_CONFIGURE_ENABLE= chmlib=yes +CHMLIB_LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib INSTALLS_ICONS= yes @@ -99,9 +94,7 @@ pre-configure: post-install: ${TOUCH} ${STAGEDIR}${DATADIR}/stopwords/.empty_file -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |