diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-16 07:46:26 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-16 07:46:26 +0800 |
commit | 20f8cbb4b709265ef20237c6e815694bb0a6c023 (patch) | |
tree | 2fea7650928d7c18d35243660bddba6cb17659dd /databases/pgpool-II | |
parent | 83f96f9552e474901983a199082fd52a6545a421 (diff) | |
download | freebsd-ports-gnome-20f8cbb4b709265ef20237c6e815694bb0a6c023.tar.gz freebsd-ports-gnome-20f8cbb4b709265ef20237c6e815694bb0a6c023.tar.zst freebsd-ports-gnome-20f8cbb4b709265ef20237c6e815694bb0a6c023.zip |
Reduce over inclusion of bsd.port.mk
Convert USE_GMAKE -> USES=gmake
Diffstat (limited to 'databases/pgpool-II')
-rw-r--r-- | databases/pgpool-II/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/pgpool-II/Makefile b/databases/pgpool-II/Makefile index 958d0219e741..adda78dca50e 100644 --- a/databases/pgpool-II/Makefile +++ b/databases/pgpool-II/Makefile @@ -8,11 +8,11 @@ MASTER_SITES= LOCAL/kuriyama \ http://www.pgpool.net/mediawiki/images/ MAINTAINER= kuriyama@FreeBSD.org -COMMENT= A connection pool server for PostgreSQL +COMMENT= Connection pool server for PostgreSQL LICENSE= BSD -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes USE_PGSQL= yes USE_LDCONFIG= yes @@ -29,7 +29,7 @@ PORTDOCShtml+= tutorial-en.html tutorial-ja.html MAN8= pgpool.8 -OPTIONS_DEFINE+=SSL +OPTIONS_DEFINE+= DOCS SSL SSL_DESC= Build with OpenSSL support NO_STAGE= yes @@ -40,8 +40,6 @@ USE_OPENSSL= yes CONFIGURE_ARGS+=--with-openssl .endif -.include <bsd.port.pre.mk> - .if exists(${LOCALBASE}/include/postgresql/server/replication/walreceiver.h) FUNCTIONS= pgpool-recovery pgpool-regclass pgpool-walrecrunning PLIST_SUB= PGSQL9="" @@ -71,7 +69,7 @@ post-install: .for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR} .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR} @@ -82,4 +80,4 @@ post-install: PORTDOCS+= ${PORTDOCShtml} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |