summaryrefslogtreecommitdiff
path: root/www/crawl
diff options
context:
space:
mode:
Diffstat (limited to 'www/crawl')
-rw-r--r--www/crawl/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index f1cd4a15dee..b1a1f965260 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/08/16 15:35:44 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2010/02/16 18:11:52 joerg Exp $
DISTNAME= crawl-0.4
PKGREVISION= 8
@@ -9,14 +9,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~provos/crawl/
COMMENT= Small and efficient HTTP crawler
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_DB185= yes
-CONF_FILES= ${PREFIX}/share/examples/${PKGBASE}/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
+CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
+
+INSTALLATION_DIRS+= share/examples/crawl
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${PREFIX}/share/examples/${PKGBASE}/crawl.conf
+ ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${DESTDIR}${PREFIX}/share/examples/crawl/crawl.conf
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch