pkgsrc/databases/phppgadmin/Makefile

71 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2014/09/17 10:50:15 wiz Exp $
DISTNAME= phpPgAdmin-5.1
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
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 $$(cd ${WRKSRC} && find . -type d); do \
${INSTALL_DATA_DIR} ${DESTDIR}${PHPPGBASE}/$$d; \
done
${INSTALL_SCRIPT} ${WRKSRC}/*.php ${DESTDIR}${PHPPGBASE}
cd ${WRKSRC}; \
for f in $$(find . -name "*.php"); do \
${INSTALL_SCRIPT} $$f ${DESTDIR}${PHPPGBASE}/$$f; \
done
# data:
cd ${WRKSRC}; \
for f in $$(find . -name "*.sql" -o -name "*.txt" -o -name "*.css" -o -name "*.js" -o -name "*.png" -o -name "*.gif" -o -name "*.ico"); do \
${INSTALL_DATA} $$f ${DESTDIR}${PHPPGBASE}/$$f; \
done
${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"