Reduce over inclusion of bsd.port.mk
Convert USE_GMAKE -> USES=gmake
This commit is contained in:
parent
56843f344a
commit
db0ae84935
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339868
1 changed files with 5 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue