diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-21 17:43:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-21 17:43:46 +0000 |
commit | 14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3 (patch) | |
tree | 761cd23e07e2b5224d73f540985d84eede599029 /databases/slony1 | |
parent | 7ef963090c1ba3fae0e4ab7630e60ff49fe6a9f0 (diff) | |
download | ports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.tar.gz ports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.zip |
Notes
Diffstat (limited to 'databases/slony1')
-rw-r--r-- | databases/slony1/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile index d76dc5104504..5c2577f6c38a 100644 --- a/databases/slony1/Makefile +++ b/databases/slony1/Makefile @@ -23,13 +23,14 @@ USE_RC_SUBR= slon SUB_FILES= pkg-message slon-mkservice.sh SUB_LIST+= NAME=slon -OPTIONS= PERLTOOLS "Install perl configuration tools" Off +OPTIONS_DEFINE= PERLTOOLS DOCS +PERLTOOLS_DESC= Install perl configuration tools CONFLICTS?= slony1v2-2* -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_PERLTOOLS) +.if ${PORT_OPTIONS:MPERLTOOLS} USE_PERL5= yes CONFIGURE_ARGS+= --with-perltools=${LOCALBASE}/sbin RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg @@ -55,7 +56,7 @@ MAN1= slon.1 slonik.1 .endif post-install: -.if ! defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}/adminguide ${MKDIR} ${DOCSDIR}/howto @@ -70,4 +71,4 @@ post-install: @${INSTALL_DATA} ${FILESDIR}/slon.conf-sample ${PREFIX}/etc/ @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |