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 | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /textproc/cdif | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/cdif')
-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" |