pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/phppgadmin Correct some minor errors to the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a158ef2905b5
branches:  trunk
changeset: 498947:a158ef2905b5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Sep 06 06:07:28 2005 +0000

description:
Correct some minor errors to the way that this package set PKG_SYSCONFDIR
and MAKE_DIRS:

    * There is no need to set PKG_SYSCONFDIR as the concept is quite
      meaningless for PHP applications.  Simply copy the CONF_FILES
      from the examples directory into ${PREFIX}/share/phppgadmin/conf.

    * Use REQD_DIRS instead of MAKE_DIRS since these directories are
      under ${PREFIX} and we want to always create/remove these
      directories regardless of the value of PKG_CONFIG.

Bump the PKGREVISION to 1 due to changes in the +INSTALL and +DEINSTALL
scripts.

diffstat:

 databases/phppgadmin/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 602df0346e72 -r a158ef2905b5 databases/phppgadmin/Makefile
--- a/databases/phppgadmin/Makefile     Tue Sep 06 03:26:14 2005 +0000
+++ b/databases/phppgadmin/Makefile     Tue Sep 06 06:07:28 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2005/09/05 18:14:39 tv Exp $
+# $NetBSD: Makefile,v 1.16 2005/09/06 06:07:28 jlam Exp $
 
 DISTNAME=      phpPgAdmin-3.5.5
 PKGNAME=       ${DISTNAME:S/PgAdmin/pgadmin/}
+PKGREVISION=   1
 CATEGORIES=    databases www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=phppgadmin/}
 EXTRACT_SUFX=  .tar.bz2
@@ -23,13 +24,12 @@
                libraries/adodb/datadict libraries/adodb/drivers \
                classes/database lang/recoded themes/default sql conf
 
-PKG_SYSCONFDIR.phppgadmin=     ${PREFIX}/share/phppgadmin/conf
 EGDIR=         ${PREFIX}/share/examples/phppgadmin
 DOCDIR=                ${PREFIX}/share/doc/phppgadmin
-CONF_FILES=    ${EGDIR}/config.inc.php-dist ${PKG_SYSCONFDIR}/config.inc.php
+CONF_FILES=    ${EGDIR}/config.inc.php-dist ${PHPPGBASE}/conf/config.inc.php
 DOC_FILES=     CREDITS DEVELOPERS FAQ HISTORY INSTALL LICENSE TODO \
                TRANSLATORS
-MAKE_DIRS+=    ${PREFIX}/share/phppgadmin/conf ${PREFIX}/share/phppgadmin
+REQD_DIRS+=    ${PHPPGBASE} ${PHPPGBASE}/conf
 
 do-configure:
        @${SED} -e "s#/usr/bin/pg#${PREFIX}/bin/pg#" \



Home | Main Index | Thread Index | Old Index