Edit

IABSD.fr/ports/databases/pgpool/Makefile

Branch :

  • Show log

    Commit

  • Author : ajacoutot
    Date : 2022-11-08 11:14:43
    Hash : f50fdd74
    Message : Stop using the daemon class in @newuser. If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)

  • databases/pgpool/Makefile
  • COMMENT= 	connection pool server for PostgreSQL
    
    DISTNAME= 	pgpool-II-3.7.18
    REVISION=	1
    
    CATEGORIES= 	databases
    
    HOMEPAGE= 	https://www.pgpool.net/
    
    MAINTAINER= 	Pierre-Emmanuel Andre <pea@openbsd.org>
    
    SHARED_LIBS=  pcp	0.0
    
    # BSD
    PERMIT_PACKAGE=	Yes
    
    MASTER_SITES=		https://www.pgpool.net/mediawiki/images/
    
    WANTLIB= 		c crypto m pq ssl pthread
    
    CONFIGURE_STYLE= 	gnu
    CONFIGURE_ARGS= 	--with-openssl
    
    USE_GMAKE=		Yes
    FAKE_FLAGS=		sysconfdir=${PREFIX}/share/examples/pgpool-II/
    
    BUILD_DEPENDS = 	databases/postgresql,-server
    LIB_DEPENDS = 		databases/postgresql
    
    post-install:
    	@cd ${WRKSRC}/src/sql/pgpool-regclass && \
    		env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
    		-f ${MAKE_FILE} ${ALL_TARGET} && \
    		env -i ${MAKE_ENV} \
    		PREFIX=${WRKINST}${PREFIX} ${DESTDIRNAME}=${WRKINST} TRUEPREFIX=${PREFIX} \
    		${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
    	${INSTALL_MAN} ${WRKDIST}/./doc/src/sgml/man8/pgpool.8 ${PREFIX}/man/man8/
    
    .include <bsd.port.mk>