diff options
author | rillig <rillig@pkgsrc.org> | 2006-01-12 17:37:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-01-12 17:37:17 +0000 |
commit | 486b6b0d06f0f296155893cf67bbe0d4f33482c9 (patch) | |
tree | 5e65696c71b6cf277ad5c8466c6d525ee97069fb /www/w3c-httpd/Makefile | |
parent | 36c0d6b187d7bd4a1d93f5dfed6b4bb9c158aaf1 (diff) | |
download | pkgsrc-486b6b0d06f0f296155893cf67bbe0d4f33482c9.tar.gz |
Converted this package to using the PKGINSTALL framework.
Bumped PKGREVISION.
Diffstat (limited to 'www/w3c-httpd/Makefile')
-rw-r--r-- | www/w3c-httpd/Makefile | 12 |
1 files changed, 9 insertions, 3 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 |