summaryrefslogtreecommitdiff
path: root/sysutils/roller
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 19:51:55 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 19:51:55 +0000
commit560e93a6c540c232fc336c245dcc1f3b270ca7d6 (patch)
tree38269b0261ea772674d0b186edaa993e72710d57 /sysutils/roller
parentb8b36e2968397821601f9f3281473d507b652c11 (diff)
downloadpkgsrc-560e93a6c540c232fc336c245dcc1f3b270ca7d6.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/roller')
-rw-r--r--sysutils/roller/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/roller/Makefile b/sysutils/roller/Makefile
index 7f3648e7809..5d92366c334 100644
--- a/sysutils/roller/Makefile
+++ b/sysutils/roller/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2008/12/25 13:27:02 kim Exp $
+# $NetBSD: Makefile,v 1.32 2010/01/27 19:53:23 joerg Exp $
#
DISTNAME= roller-1.20
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Roll log files
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= cpogm-[0-9]*:../../sysutils/cpogm
DEPENDS+= logtime-[0-9]*:../../time/logtime
DEPENDS+= pflogsumm-[0-9]*:../../sysutils/pflogsumm
@@ -18,12 +20,9 @@ DEPENDS+= pflogsumm-[0-9]*:../../sysutils/pflogsumm
NO_CONFIGURE= yes
USE_TOOLS+= perl:run
-MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
MAKE_FLAGS+= GAWK=${AWK}
MAKE_FLAGS+= PERL=${PERL5}
MAKE_FLAGS+= SH=${SH}
-BUILD_TARGET= all
-INSTALL_TARGET= install
-
.include "../../mk/bsd.pkg.mk"