diff options
author | joerg <joerg> | 2010-02-16 18:16:26 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-16 18:16:26 +0000 |
commit | db7670556993f6c6928c9dccad6280d7c993f29b (patch) | |
tree | c526314c7c0cc6ec2d8dc3d9c65bb81c5b3c73c3 /www | |
parent | 0e399fbb81ff7aea5e62cae59bc808f7c5111c38 (diff) | |
download | pkgsrc-db7670556993f6c6928c9dccad6280d7c993f29b.tar.gz |
DESTDIR support
Diffstat (limited to 'www')
-rw-r--r-- | www/cronolog/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/cronolog/Makefile b/www/cronolog/Makefile index 731371f5db3..2a2a154e988 100644 --- a/www/cronolog/Makefile +++ b/www/cronolog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/09/25 10:07:06 hira Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/16 18:16:26 joerg Exp $ # DISTNAME= cronolog-1.6.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://cronolog.org/ COMMENT= Web log rotation utility that provides datestamp filenames +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES INFO_FILES= yes USE_TOOLS+= perl:run @@ -21,7 +23,7 @@ SUBST_FILES.cl= doc/cronolog.1m SUBST_SED.cl= -e "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g" post-install: - cd ${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8 - cd ${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8 + cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8 + cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8 .include "../../mk/bsd.pkg.mk" |