diff options
author | jkim <jkim@FreeBSD.org> | 2015-09-24 05:51:39 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-09-24 05:51:39 +0800 |
commit | 657f92091b2da0c8002656ba07fea4cc93a4c0b3 (patch) | |
tree | ff01d9cd6b55d8caefd5805f3a2e429d5163a045 /databases | |
parent | 333cb88fb1e2b29a083aa542d14b4037e6a94c86 (diff) | |
download | freebsd-ports-gnome-657f92091b2da0c8002656ba07fea4cc93a4c0b3.tar.gz freebsd-ports-gnome-657f92091b2da0c8002656ba07fea4cc93a4c0b3.tar.zst freebsd-ports-gnome-657f92091b2da0c8002656ba07fea4cc93a4c0b3.zip |
Fix option handling.
PR: 197080
Diffstat (limited to 'databases')
-rw-r--r-- | databases/firebird25-server/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/databases/firebird25-server/Makefile b/databases/firebird25-server/Makefile index 153d77dfb11d..6cfd5081d10c 100644 --- a/databases/firebird25-server/Makefile +++ b/databases/firebird25-server/Makefile @@ -96,21 +96,18 @@ USES+= libedit USE_LDCONFIG= yes CLIENT_BIN= gpre isql-fb qli -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS + +DOCS_PORTDOCS= * -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= * FB_DOCS_FILES= WhatsNew README.* Firebird* ReleaseNotes.pdf ambiguity.txt \ ods11-index-structure.html FB_DOCS_DIRS= sql.extensions license upgrade .endif -.endif MAKE_ENV+= FIREBIRD_TMP="${WRKDIR}" FIREBIRD_LOCK="${WRKDIR}" MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" -OPTIONS_DEFINE= DOCS - post-extract: @${RM} -rf ${WRKSRC}/extern/icu @@ -204,7 +201,7 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/gen/firebird/*.msg ${STAGEDIR}${DATADIR} -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${FB_DOCS_DIRS:S!^!${STAGEDIR}${DOCSDIR}/!} @${INSTALL_DATA} ${FB_DOCS_FILES:S!^!${WRKSRC}/doc/!} ${STAGEDIR}${DOCSDIR} @@ -213,6 +210,5 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/doc/license/* ${STAGEDIR}${DOCSDIR}/license @${INSTALL_DATA} ${WRKSRC}/src/misc/upgrade/v2/* ${STAGEDIR}${DOCSDIR}/upgrade .endif -.endif .include <bsd.port.post.mk> |