pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/horde3 Tune PAX arguments for installation so that...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce99862cd82c
branches:  trunk
changeset: 508106:ce99862cd82c
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Feb 14 23:04:57 2006 +0000

description:
Tune PAX arguments for installation so that print-PLIST target is usable.
Add example configuration file to PLIST.
Sort PLIST.
The source installation installs empty directories, add them as required
via REQD_DIRS so the binary package also "have" them.

Bump PKGREVISION to 4.
Approved by maintainer.

diffstat:

 www/horde3/Makefile |  23 ++++++++++++++++++++---
 www/horde3/PLIST    |  24 +++++++++++++-----------
 2 files changed, 33 insertions(+), 14 deletions(-)

diffs (152 lines):

diff -r 6e88db1f9025 -r ce99862cd82c www/horde3/Makefile
--- a/www/horde3/Makefile       Tue Feb 14 23:03:25 2006 +0000
+++ b/www/horde3/Makefile       Tue Feb 14 23:04:57 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2006/02/05 23:11:24 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2006/02/14 23:04:57 seb Exp $
 
 DISTNAME=      horde-3.0.9
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    www
 MASTER_SITES=  ftp://ftp.horde.org/pub/horde/tarballs/
 
@@ -59,6 +59,23 @@
                        ${HORDEDIR}/config/hooks.php \
                        ${APACHE_USER} ${ROOT_GROUP} 0440
 
+# Empty directories installed by install target
+# that we need to create in the install script
+# to get the same layout from a binary package installation
+REQD_DIRS+=    share/horde/lib/data
+REQD_DIRS+=    share/horde/lib/XML/tests
+REQD_DIRS+=    share/horde/lib/XML/docs/examples
+REQD_DIRS+=    share/horde/lib/XML/docs
+REQD_DIRS+=    share/horde/lib/VFS/tests
+REQD_DIRS+=    share/horde/lib/Text/tests
+REQD_DIRS+=    share/horde/lib/Text/docs/examples
+REQD_DIRS+=    share/horde/lib/Text/docs
+REQD_DIRS+=    share/horde/lib/Horde/tests
+REQD_DIRS+=    share/horde/lib/Horde/docs/examples
+REQD_DIRS+=    share/horde/lib/Horde/docs
+REQD_DIRS+=    share/horde/lib/Horde/Text/tests
+REQD_DIRS+=    share/horde/lib/File/tests
+
 SUBST_CLASSES+=                files
 SUBST_STAGE.files=     post-build
 SUBST_FILES.files=     horde.conf.dist config/conf.xml config/conf.xml.dist \
@@ -93,7 +110,7 @@
 .      endfor
 
 .      for d in ${PAXDIRS}
-               cd ${WRKSRC}/${d} && ${PAX} -rw . ${HORDEDIR}/${d}
+               cd ${WRKSRC}/${d} && ${PAX} -rwpam . ${HORDEDIR}/${d}
 .      endfor
 
        ${INSTALL_DATA} ${WRKSRC}/config/*.dist ${HORDEDIR}/config
diff -r 6e88db1f9025 -r ce99862cd82c www/horde3/PLIST
--- a/www/horde3/PLIST  Tue Feb 14 23:03:25 2006 +0000
+++ b/www/horde3/PLIST  Tue Feb 14 23:04:57 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2005/11/25 20:59:15 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.7 2006/02/14 23:04:57 seb Exp $
 share/doc/horde/CHANGES
 share/doc/horde/CODING_STANDARDS
 share/doc/horde/CONTRIBUTING
@@ -13,6 +13,7 @@
 share/doc/horde/TODO
 share/doc/horde/TRANSLATIONS
 share/doc/horde/UPGRADING
+share/examples/horde/horde.conf
 share/horde/admin/cmdshell.php
 share/horde/admin/datatree.php
 share/horde/admin/groups.php
@@ -62,8 +63,8 @@
 share/horde/lib/Block/moon.php
 share/horde/lib/Block/sunrise.php
 share/horde/lib/Block/time.php
+share/horde/lib/Block/weatherdotcom.php
 share/horde/lib/Block/weatherdotcom_strings.php
-share/horde/lib/Block/weatherdotcom.php
 share/horde/lib/File/PDF.php
 share/horde/lib/File/PDF/fonts/courier.php
 share/horde/lib/File/PDF/fonts/helvetica.php
@@ -426,9 +427,9 @@
 share/horde/lib/prefs.php
 share/horde/lib/version.php
 share/horde/locale/ar_SY/LC_MESSAGES/horde.mo
-share/horde/locale/bs_BA/LC_MESSAGES/horde.mo
 share/horde/locale/bg_BG/LC_MESSAGES/horde.mo
 share/horde/locale/bg_BG/help.xml
+share/horde/locale/bs_BA/LC_MESSAGES/horde.mo
 share/horde/locale/ca_ES/LC_MESSAGES/horde.mo
 share/horde/locale/cs_CZ/LC_MESSAGES/horde.mo
 share/horde/locale/cs_CZ/help.xml
@@ -494,8 +495,8 @@
 share/horde/login.php
 share/horde/po/README
 share/horde/po/ar_SY.po
+share/horde/po/bg_BG.po
 share/horde/po/bs_BA.po
-share/horde/po/bg_BG.po
 share/horde/po/ca_ES.po
 share/horde/po/cs_CZ.po
 share/horde/po/da_DK.po
@@ -535,7 +536,6 @@
 share/horde/rpc.php
 share/horde/scripts/SCRIPTS
 share/horde/scripts/create-symlinks.php
-share/horde/scripts/sql/create.msde.sql
 share/horde/scripts/crond
 share/horde/scripts/get_login.php
 share/horde/scripts/http_login_refer.php
@@ -546,6 +546,7 @@
 share/horde/scripts/setup.php
 share/horde/scripts/sql/README
 share/horde/scripts/sql/README.OCI8
+share/horde/scripts/sql/create.msde.sql
 share/horde/scripts/sql/create.mysql.sql
 share/horde/scripts/sql/create.oci8.sql
 share/horde/scripts/sql/create.pgsql.sql
@@ -1478,13 +1479,14 @@
 @dirrm share/horde/locale/cs_CZ
 @dirrm share/horde/locale/ca_ES/LC_MESSAGES
 @dirrm share/horde/locale/ca_ES
+@dirrm share/horde/locale/bs_BA/LC_MESSAGES
+@dirrm share/horde/locale/bs_BA
 @dirrm share/horde/locale/bg_BG/LC_MESSAGES
 @dirrm share/horde/locale/bg_BG
-@dirrm share/horde/locale/bs_BA/LC_MESSAGES
-@dirrm share/horde/locale/bs_BA
 @dirrm share/horde/locale/ar_SY/LC_MESSAGES
 @dirrm share/horde/locale/ar_SY
 @dirrm share/horde/locale
+@dirrm share/horde/lib/data
 @dirrm share/horde/lib/XML/tests
 @dirrm share/horde/lib/XML/docs/examples
 @dirrm share/horde/lib/XML/docs
@@ -1560,20 +1562,20 @@
 @dirrm share/horde/lib/Horde/Block
 @dirrm share/horde/lib/Horde/Auth
 @dirrm share/horde/lib/Horde
+@dirrm share/horde/lib/File/tests
 @dirrm share/horde/lib/File/PDF/fonts
 @dirrm share/horde/lib/File/PDF
-@dirrm share/horde/lib/File/tests
 @dirrm share/horde/lib/File
-@dirrm share/horde/lib/data
 @dirrm share/horde/lib/Block
 @dirrm share/horde/lib
 @dirrm share/horde/js
 @dirrm share/horde/config
+@dirrm share/horde/admin/setup
+@dirrm share/horde/admin/perms
 @dirrm share/horde/admin/locale/fi_FI
 @dirrm share/horde/admin/locale/en_US
 @dirrm share/horde/admin/locale
-@dirrm share/horde/admin/setup
-@dirrm share/horde/admin/perms
 @dirrm share/horde/admin
 @dirrm share/horde
+@dirrm share/examples/horde
 @dirrm share/doc/horde



Home | Main Index | Thread Index | Old Index