summaryrefslogtreecommitdiff
path: root/textproc/cdif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cdif/Makefile')
-rw-r--r--textproc/cdif/Makefile6
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"