diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 19:13:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 19:13:37 +0000 |
commit | d75f591abaa4018b26976eb90e6f509a8bca6f61 (patch) | |
tree | 01ad4f478bf15d59e145006561d30e14ef4caf34 /sysutils/logrot | |
parent | 560bf75433b311fd75e8b8568262de1a3833fa26 (diff) | |
download | pkgsrc-d75f591abaa4018b26976eb90e6f509a8bca6f61.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/logrot')
-rw-r--r-- | sysutils/logrot/Makefile | 7 |
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" |