diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /textproc/cdif/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/cdif/Makefile')
-rw-r--r-- | textproc/cdif/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/cdif/Makefile b/textproc/cdif/Makefile index ef21b721d6b..3bba1f60460 100644 --- a/textproc/cdif/Makefile +++ b/textproc/cdif/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2008/05/26 22:37:30 tnn Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:37 joerg Exp $ # DISTNAME= cdif-1.15 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.srekcah.org/~utashiro/perl/scripts/cdif/ COMMENT= Word context diff +PKG_DESTDIR_SUPPORT= user-destdir + # XXX add cdif-license LICENSE= cdif-license RESTRICTED= Redistribution only for "non-commercial purpose". @@ -34,6 +36,6 @@ do-patch: < ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/cdif .include "../../mk/bsd.pkg.mk" |