pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/w3c-httpd Converted this package to using the PKGI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11ff98c4af9c
branches:  trunk
changeset: 506160:11ff98c4af9c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jan 12 17:37:17 2006 +0000

description:
Converted this package to using the PKGINSTALL framework.
Bumped PKGREVISION.

diffstat:

 www/w3c-httpd/Makefile |  12 +++++++++---
 www/w3c-httpd/PLIST    |  18 +++++++++---------
 2 files changed, 18 insertions(+), 12 deletions(-)

diffs (69 lines):

diff -r ee6d2d3912a3 -r 11ff98c4af9c www/w3c-httpd/Makefile
--- a/www/w3c-httpd/Makefile    Thu Jan 12 17:37:04 2006 +0000
+++ b/www/w3c-httpd/Makefile    Thu Jan 12 17:37:17 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2006/01/08 20:45:45 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2006/01/12 17:37:17 rillig Exp $
 
 DISTNAME=      w3c-httpd-3.0A
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ftp://ftp.w3.org/pub/httpd/ \
                ftp://ftp-eu.w3.org/pub/httpd/
@@ -19,7 +20,12 @@
        Library/Implementation/HTString.h
 SUBST_SED.strcasestr=  -e "s,\([[:blank:]]\)\(strcasestr\),\1x\2,g"
 
-INSTALLATION_DIRS=     bin sbin
+EGDIR=                 ${PREFIX}/share/examples/w3c-httpd
+INSTALLATION_DIRS=     bin sbin share/examples/w3c-httpd
+
+.for f in all.conf caching.conf httpd.conf prot.conf proxy.conf
+CONF_FILES+=   ${EGDIR:Q}/${f:Q}       ${PKG_SYSCONFDIR}/${f:Q}
+.endfor
 
 pre-configure:
 .if !defined(MD5_PW)
@@ -34,7 +40,7 @@
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/etc/w3c-httpd ${PREFIX}/share/w3c-httpd
        ${CP} -R ${WRKSRC}/server_root/icons ${PREFIX}/share/w3c-httpd
-       ${CP} ${WRKSRC}/server_root/config/*.conf ${PREFIX}/etc/w3c-httpd
+       ${CP} ${WRKSRC}/server_root/config/*.conf ${EGDIR:Q}
        ${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/httpd ${PREFIX}/sbin/w3c-httpd
        ${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htadm ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC}/Daemon/${OSNAME}/htimage ${PREFIX}/sbin
diff -r ee6d2d3912a3 -r 11ff98c4af9c www/w3c-httpd/PLIST
--- a/www/w3c-httpd/PLIST       Thu Jan 12 17:37:04 2006 +0000
+++ b/www/w3c-httpd/PLIST       Thu Jan 12 17:37:17 2006 +0000
@@ -1,14 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:19:01 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/01/12 17:37:17 rillig Exp $
 bin/htadm
-etc/w3c-httpd/all.conf
-etc/w3c-httpd/caching.conf
-etc/w3c-httpd/httpd.conf
-etc/w3c-httpd/prot.conf
-etc/w3c-httpd/proxy.conf
+sbin/cgiparse
+sbin/cgiutils
 sbin/htimage
 sbin/w3c-httpd
-sbin/cgiparse
-sbin/cgiutils
+share/examples/w3c-httpd/all.conf
+share/examples/w3c-httpd/caching.conf
+share/examples/w3c-httpd/httpd.conf
+share/examples/w3c-httpd/prot.conf
+share/examples/w3c-httpd/proxy.conf
 share/w3c-httpd/icons/back.xbm
 share/w3c-httpd/icons/binary.xbm
 share/w3c-httpd/icons/binhex.xbm
@@ -33,6 +33,6 @@
 share/w3c-httpd/icons/unknown.old.xbm
 share/w3c-httpd/icons/unknown.xbm
 share/w3c-httpd/icons/uu.xbm
-@dirrm etc/w3c-httpd
 @dirrm share/w3c-httpd/icons
 @dirrm share/w3c-httpd
+@dirrm share/examples/w3c-httpd



Home | Main Index | Thread Index | Old Index