diff options
Diffstat (limited to 'databases/firebird25-server/Makefile')
-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> |