summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-16 18:11:52 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-16 18:11:52 +0000
commit3f8848a1dc10d5ce6e525f3eb365260167b1b654 (patch)
tree1462d763d9815af750e3ededda564f0354f1468f /www
parenta236821ec869e5772a0f57866261198629b4a72b (diff)
downloadpkgsrc-3f8848a1dc10d5ce6e525f3eb365260167b1b654.tar.gz
DESTDIR support
Diffstat (limited to 'www')
-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