summaryrefslogtreecommitdiff
path: root/sysutils/logrot
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 19:13:37 +0000
committerjoerg <joerg>2010-01-27 19:13:37 +0000
commit1d8657e20b4404dcc16e776a035c6e868afe76e7 (patch)
tree01ad4f478bf15d59e145006561d30e14ef4caf34 /sysutils/logrot
parent99ee46b8b50e28fb51b144debf9f66a77c071381 (diff)
downloadpkgsrc-1d8657e20b4404dcc16e776a035c6e868afe76e7.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/logrot')
-rw-r--r--sysutils/logrot/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/logrot/Makefile b/sysutils/logrot/Makefile
index bbb6f043f4c..d73d0bf1c4c 100644
--- a/sysutils/logrot/Makefile
+++ b/sysutils/logrot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/05/30 04:05:46 lukem Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 19:15:32 joerg Exp $
#
DISTNAME= logrot-1.7
@@ -9,9 +9,14 @@ MAINTAINER= lukem@NetBSD.org
HOMEPAGE= http://www.mewburn.net/luke/software.html
COMMENT= Rotate log files in a safe and configurable manner
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
OPSYSVARS+= CONFIGURE_ARGS
CONFIGURE_ARGS.NetBSD+= --with-pidfile=/var/run/syslogd.pid
+INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"