1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/databases/pgpool-II-36/Makefile

47 lines
1022 B
Makefile

# $FreeBSD$
PORTNAME= pgpool-II
PORTVERSION= 3.6.12
CATEGORIES= databases
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
PKGNAMESUFFIX= 36
MAINTAINER= tz@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_SSL= openssl-devel
BROKEN_SSL_REASON_openssl-devel= library 'ssl' is required for OpenSSL
PORTSCOUT= limit:^3.6.[0-9]*
USES= gmake libtool pgsql:9.3+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_RC_SUBR= pgpool
CONFLICTS= pgpool-II-[0-9]*
PORTDOCS= *
OPTIONS_DEFINE= DOCS SSL
OPTIONS_DEFAULT= SSL
SSL_CONFIGURE_WITH= openssl
SSL_USES= ssl
post-install:
@${MKDIR} ${STAGEDIR}/var/run/pgpool
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.0.0 ${STAGEDIR}${PREFIX}/lib
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*"
.for f in AUTHORS ChangeLog NEWS TODO
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>