or strongly suspected to support at least 8.0. (7.4 is currently on security support only, and that finishes in November, so I intend to switch the "ports default" version to 8.0). some of these ports _may_ work with 8.0 already, some have pull requests or support in newer upstream code (not always in a release), others definitely need 7.4.
37 lines
797 B
Makefile
37 lines
797 B
Makefile
COMMENT= tool to handle the administration of PostgreSQL over the web
|
|
|
|
DISTNAME= phpPgAdmin-5.6.0
|
|
MODPHP_VERSION= 7.4
|
|
CATEGORIES= www databases
|
|
HOMEPAGE= http://phppgadmin.sourceforge.net/
|
|
REVISION= 1
|
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= https://github.com/phppgadmin/phppgadmin/releases/download/REL_5-6-0/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
|
|
MODULES= lang/php
|
|
|
|
PREFIX= ${VARBASE}/www
|
|
INSTDIR= ${PREFIX}/phpPgAdmin
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pgsql
|
|
|
|
do-install:
|
|
@cp -Rp ${WRKDIST} ${INSTDIR}
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
post-install:
|
|
@rm -fr ${PREFIX}/phpPgAdmin/tests
|
|
@rm ${PREFIX}/phpPgAdmin/conf/{.gitignore,config.inc.php}
|
|
|
|
.include <bsd.port.mk>
|