diff options
author | rillig <rillig> | 2006-01-12 17:37:17 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-01-12 17:37:17 +0000 |
commit | 5aea25b15c5a27ed3f7cadf48e6461453e677cab (patch) | |
tree | 5e65696c71b6cf277ad5c8466c6d525ee97069fb /www | |
parent | 55da54c3a7b64a3ab56af01352d2dad28b499612 (diff) | |
download | pkgsrc-5aea25b15c5a27ed3f7cadf48e6461453e677cab.tar.gz |
Converted this package to using the PKGINSTALL framework.
Bumped PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/w3c-httpd/Makefile | 12 | ||||
-rw-r--r-- | www/w3c-httpd/PLIST | 18 |
2 files changed, 18 insertions, 12 deletions
diff --git a/www/w3c-httpd/Makefile b/www/w3c-httpd/Makefile index 000dde752b7..8c055314573 100644 --- a/www/w3c-httpd/Makefile +++ b/www/w3c-httpd/Makefile @@ -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 @@ SUBST_FILES.strcasestr= Daemon/Implementation/HTWild.c \ 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 @@ pre-configure: 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 --git a/www/w3c-httpd/PLIST b/www/w3c-httpd/PLIST index 1b88f57ef7e..3cae41f19e4 100644 --- a/www/w3c-httpd/PLIST +++ b/www/w3c-httpd/PLIST @@ -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/htimage -sbin/w3c-httpd sbin/cgiparse sbin/cgiutils +sbin/htimage +sbin/w3c-httpd +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.doc.xbm 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 |