aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird25-server
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-09-23 21:51:39 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-09-23 21:51:39 +0000
commitd42cd29114230e1b7117fba0161500afb6e63eec (patch)
treeff01d9cd6b55d8caefd5805f3a2e429d5163a045 /databases/firebird25-server
parent0c00a7bea4747fba95666b1ae25e5fc257685392 (diff)
downloadports-d42cd29114230e1b7117fba0161500afb6e63eec.tar.gz
ports-d42cd29114230e1b7117fba0161500afb6e63eec.zip
Fix option handling.
PR: 197080
Notes
Notes: svn path=/head/; revision=397664
Diffstat (limited to 'databases/firebird25-server')
-rw-r--r--databases/firebird25-server/Makefile12
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>