summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 19:03:18 +0000
committerjoerg <joerg>2009-02-16 19:03:18 +0000
commit75e2e3cf3c225d08c75e4053b2ebc3e61b9c58f8 (patch)
tree6762ce7ae2569e8ad93bbab392a7375c7fd5b22d /sysutils
parent5ecdd0ff49a8ea8c653721fa4b673aa4ccf83482 (diff)
downloadpkgsrc-75e2e3cf3c225d08c75e4053b2ebc3e61b9c58f8.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/qlogtools/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/qlogtools/Makefile b/sysutils/qlogtools/Makefile
index 482cae44f57..ac808ac764f 100644
--- a/sysutils/qlogtools/Makefile
+++ b/sysutils/qlogtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/01/13 18:58:58 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2009/02/16 19:03:18 joerg Exp $
#
DISTNAME= qlogtools-3.1
@@ -9,11 +9,19 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://untroubled.org/qlogtools/
COMMENT= Tools useful in analyzing logs from qmail and other pkgs
+PKG_DESTDIR_SUPPORT= user-destdir
+
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
SUBST_FILES.djbware+= qfilelog.c
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+post-configure:
+ ${ECHO} ${DESTDIR}${DJB_CONFIG_PREFIX}/bin > ${WRKSRC}/conf-bin
+ ${ECHO} ${DESTDIR}${DJB_CONFIG_PREFIX}/${PKGMANDIR} > ${WRKSRC}/conf-man
+
do-install:
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \
./installer; \