summaryrefslogtreecommitdiff
path: root/www/thttpd/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commitd9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /www/thttpd/Makefile
parentebed1329682fd1c81284e9ee1632af9b987050f0 (diff)
downloadpkgsrc-d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf.tar.gz
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'www/thttpd/Makefile')
-rw-r--r--www/thttpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile
index f8b77252dd7..8ecd44d96a7 100644
--- a/www/thttpd/Makefile
+++ b/www/thttpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2002/09/19 09:04:34 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2003/01/28 22:04:32 jlam Exp $
DISTNAME= thttpd-2.23beta1
PKGNAME= thttpd-2.23.0.1
@@ -17,6 +17,7 @@ GNU_CONFIGURE= # defined
# Note: this pkg auto-detects IPv6 without regarding USE_INET6.
BUILD_DEFS+= USE_INET6
+USE_PKGINSTALL= yes
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/thttpd.conf ${PKG_SYSCONFDIR}/thttpd.conf
RCD_SCRIPTS= thttpd
@@ -44,5 +45,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/thttpd
${INSTALL_DATA} ${DISTDIR}/sitedrivenby.gif ${PREFIX}/share/thttpd
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"