freebsd-ports/databases/phppgadmin/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

44 lines
1,008 B
Makefile

# Created by: nbm
# $FreeBSD$
PORTNAME= phppgadmin
DISTVERSIONPREFIX= REL_
DISTVERSION= 5-6-0
PORTREVISION= 1
CATEGORIES= databases www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Web Based Postgres Administration
LICENSE= GPLv2
NO_ARCH= yes
NO_BUILD= yes
USES= cpe tar:bzip2 php:web,flavors shebangfix
USE_GITHUB= yes
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= pgsql pcre session
.endif
CPE_VENDOR= phppgadmin_project
SHEBANG_FILES= lang/synch
PGADMDIR?= www/phpPgAdmin
PLIST_SUB+= PGADMDIR=${PGADMDIR}
pre-everything::
@${ECHO_CMD} "# you can customize the installation directory"
@${ECHO_CMD} "# by setting PGADMDIR in /etc/make.conf"
do-configure:
${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \
${WRKSRC}/conf/config.inc.php-dist
${RM} ${WRKSRC}/conf/config.inc.php \
${WRKSRC}/conf/config.inc.php-dist.bak
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PGADMDIR}
${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PGADMDIR}/
.include <bsd.port.mk>