pkgsrc/databases/phppgadmin/Makefile

104 lines
3.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.29 2013/03/16 07:21:19 obache Exp $
DISTNAME= phpPgAdmin-5.0.4
PKGNAME= ${DISTNAME:S/PgAdmin/pgadmin/}
PKGREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phppgadmin/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://phppgadmin.sourceforge.net/
2004-02-21 07:46:56 +01:00
COMMENT= Set of PHP-scripts to administer PostgreSQL over the WWW
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=4.2.0:../../databases/php-pgsql
MESSAGE_SUBST+= EGDIR=${EGDIR}
NO_BUILD= YES
PHPPGBASE= ${PREFIX}/share/phppgadmin
PHPPGHIER= conf classes/database classes/plugins help \
images/themes/cappuccino images/themes/default \
js lang/recoded \
libraries/adodb/drivers libraries/adodb/lang libraries/js \
sql themes/cappuccino themes/default themes/gotar \
xloadtree
EGDIR= ${PREFIX}/share/examples/phppgadmin
DOCDIR= ${PREFIX}/share/doc/phppgadmin
CONF_FILES= ${EGDIR}/config.inc.php-dist ${PHPPGBASE}/conf/config.inc.php
DOC_FILES= CREDITS DEVELOPERS FAQ HISTORY INSTALL LICENSE TODO \
TRANSLATORS
Update to phpPgAdmin 5.0.2 Changes in 5.0.2 ---------------- Some bug fixes. * Fix a css typo & error in cappuccino theme * Fix #3139003 "Autocomplete doesn't insert value", report and patch by Aleksander Machniak * Fix bad inheritance between pg83 -> pg instead of pg83 -> pg84 in the database access classes. This bug was breaking some functionnalities with 8.3 * Fix a lot of nonstandard escaped string in the database access classes Changes in 5.0.1 ---------------- Minor bug fix and update version. * Fix #3124417 "Wrong german translation", reported by schnoesel * Fix (officialy) a bug where non-super user roles cannot check ownership on objects * Add forgotten Galician language to the target "all" of lang/Makefile * Update jQuery library to current stable 1.4.4 * remove useless date from the topbar informations. This was the only place that did PHP 5.3 complain about bad timezone configuration (a non-PPA related warning). As it was a totaly useless information, we decide to remove it. Changes in 5.0 -------------- Features * Support for PostgreSQL 8.4 and 9.0 * Support for database level collation for 8.4+ * Support for schema level export * Add ability to alter schema ownership * Clean up domain support and improve interface * Add support for commenting on functions * Allow user to rename role/users and set new passwords at the same time * Greatly enhanced Full-Text-Search capabilities (ioguix, Loomis_K) * Overhauled Selenium Test suite to support multiple database versions * Optimized application graphics (Limo Driver) * Support for Column Level Privileges * Allow users to specify a template database at database creation time * Support killing processes * Add ability to create indexes concurrently * Much better support of autovacuum configuration * Add an admin page for table level * Refactored autocompletion: * fix support for cross-schema objects * support multi-field FK * support for pagination of values in the auto-complete list * Allow user to logicaly group their server under custom named node in the browser tree * New themes (Cappuccino and Gotar) and a theme switcher on the introduction page * Auto refresh Locks page * Auto refresh Processes page * Link in the bottom of the page to go to top of page * Browsing on Foreign Keys (When browsing a table, clicking on a FK value, jump to the PK row) Bugs * Fix problems with query tracking on overly long queries * Ensure pg_dump paths are valid * Fix multiple bugs about quoting and escaping database objects names with special chars * Fix multiple bugs in the browser tree * Fix multiple bugs on the SQL and script file import form * One security fix about code injection * Don't allow inserting on a table without fields * Some fix about commenting databases * removed deprecated functions from PHP 5.3 * Lot of code cleanup * Many other small minor bugs found on our way * Fix the operator property page Translations * Czech (Marek Cernocky) * Greek (Adamantios Diamantidis) * Brazillian Portuguese (Fernando Wendt) * Galician (Adri€n Chaves Fern€ndez) Incompatabilities * No longer support PHP < 5.0 * No longer support Postgres < 7.4
2011-02-09 00:09:17 +01:00
REPLACE_INTERPRETER+= pkgsrc-php
REPLACE.pkgsrc-php.old= .*php
REPLACE.pkgsrc-php.new= ${PREFIX}/bin/php
REPLACE_FILES.pkgsrc-php= build_tests.php
do-configure:
${SED} -e "s#/usr/bin/pg#${PREFIX}/bin/pg#" \
${WRKSRC}/conf/config.inc.php-dist > \
${WRKSRC}/conf/config.inc.php-dist.tmp
${MV} ${WRKSRC}/conf/config.inc.php-dist.tmp \
${WRKSRC}/conf/config.inc.php-dist
${SED} -e "s#@PHPPGBASE@#${PHPPGBASE}#g" ${FILESDIR}/apache.conf-dist \
> ${WRKDIR}/apache.conf
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PHPPGBASE}
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
for d in ${PHPPGHIER}; do \
${INSTALL_DATA_DIR} ${DESTDIR}${PHPPGBASE}/$$d; \
done
${INSTALL_SCRIPT} ${WRKSRC}/*.* ${DESTDIR}${PHPPGBASE}
${INSTALL_SCRIPT} ${WRKSRC}/classes/*.* ${DESTDIR}${PHPPGBASE}/classes
${INSTALL_SCRIPT} ${WRKSRC}/classes/database/* \
${DESTDIR}${PHPPGBASE}/classes/database
${INSTALL_SCRIPT} ${WRKSRC}/classes/plugins/* \
${DESTDIR}${PHPPGBASE}/classes/plugins
${INSTALL_SCRIPT} ${WRKSRC}/help/* ${DESTDIR}${PHPPGBASE}/help
${INSTALL_DATA} ${WRKSRC}/images/themes/cappuccino/*.png \
${DESTDIR}${PHPPGBASE}/images/themes/cappuccino
${INSTALL_DATA} ${WRKSRC}/images/themes/default/*.png \
${DESTDIR}${PHPPGBASE}/images/themes/default
${INSTALL_DATA} ${WRKSRC}/js/*.js \
${DESTDIR}${PHPPGBASE}/js
${INSTALL_SCRIPT} ${WRKSRC}/lang/*.* ${DESTDIR}${PHPPGBASE}/lang
${INSTALL_SCRIPT} ${WRKSRC}/lang/recoded/*.* ${DESTDIR}${PHPPGBASE}/lang/recoded
${INSTALL_SCRIPT} ${WRKSRC}/libraries/*.php ${DESTDIR}${PHPPGBASE}/libraries
${INSTALL_SCRIPT} ${WRKSRC}/libraries/adodb/*.php \
${DESTDIR}${PHPPGBASE}/libraries/adodb
${INSTALL_DATA} ${WRKSRC}/libraries/adodb/*.txt \
${DESTDIR}${PHPPGBASE}/libraries/adodb
${INSTALL_SCRIPT} ${WRKSRC}/libraries/adodb/drivers/* \
${DESTDIR}${PHPPGBASE}/libraries/adodb/drivers
${INSTALL_SCRIPT} ${WRKSRC}/libraries/adodb/lang/* \
${DESTDIR}${PHPPGBASE}/libraries/adodb/lang
${INSTALL_DATA} ${WRKSRC}/libraries/js/*.js \
${DESTDIR}${PHPPGBASE}/libraries/js
${INSTALL_DATA} ${WRKSRC}/sql/* ${DESTDIR}${PHPPGBASE}/sql
${INSTALL_DATA} ${WRKSRC}/themes/global.css \
${DESTDIR}${PHPPGBASE}/themes
${INSTALL_SCRIPT} ${WRKSRC}/themes/*.php \
${DESTDIR}${PHPPGBASE}/themes
for theme in cappuccino default gotar; do \
${INSTALL_DATA} ${WRKSRC}/themes/$$theme/global.css \
${DESTDIR}${PHPPGBASE}/themes/$$theme; done
${INSTALL_DATA} ${WRKSRC}/xloadtree/*.* \
${DESTDIR}${PHPPGBASE}/xloadtree
${INSTALL_DATA} ${WRKSRC}/conf/config.inc.php-dist ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKDIR}/apache.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
for f in ${DOC_FILES}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}; \
done
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"