summaryrefslogtreecommitdiff
path: root/editors/ted-nl
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 18:25:52 +0000
committerjlam <jlam>2008-03-03 18:25:52 +0000
commit3d81effabfcbab5f1fe7b559a3b6f6d5f452285e (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ted-nl
parentdb9434603719ac10a2850a15ce7013bca33811d2 (diff)
downloadpkgsrc-3d81effabfcbab5f1fe7b559a3b6f6d5f452285e.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/ted-nl')
-rw-r--r--editors/ted-nl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/ted-nl/Makefile b/editors/ted-nl/Makefile
index f27ffdc91f5..cfcb3925625 100644
--- a/editors/ted-nl/Makefile
+++ b/editors/ted-nl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/06/08 18:41:21 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 18:25:53 jlam Exp $
DISTNAME= Ted_nl_NL
PKGNAME= ted-nl-2.16
@@ -12,6 +12,8 @@ COMMENT= Dutch spelling dictionary for the Ted word processor
DEPENDS+= ted>=2.6:../../editors/ted
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_X11BASE= YES
@@ -21,6 +23,7 @@ NO_BUILD= YES
INSTALLATION_DIRS= share/Ted/ind
do-install:
- ${INSTALL_DATA} ${WRKSRC}/ind/Dutch.ind ${PREFIX}/share/Ted/ind
+ ${INSTALL_DATA} ${WRKSRC}/ind/Dutch.ind \
+ ${DESTDIR}${PREFIX}/share/Ted/ind
.include "../../mk/bsd.pkg.mk"