summaryrefslogtreecommitdiff
path: root/editors/ted-sv
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ted-sv
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.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-sv')
-rw-r--r--editors/ted-sv/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/ted-sv/Makefile b/editors/ted-sv/Makefile
index 5091207cd1b..a582d19ad52 100644
--- a/editors/ted-sv/Makefile
+++ b/editors/ted-sv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/06/08 18:41:22 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 18:25:53 jlam Exp $
DISTNAME= Ted_sv_SE
PKGNAME= ted-sv-2.16
@@ -12,6 +12,8 @@ COMMENT= Swedish 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/Swedish.ind ${PREFIX}/share/Ted/ind
+ ${INSTALL_DATA} ${WRKSRC}/ind/Swedish.ind \
+ ${DESTDIR}${PREFIX}/share/Ted/ind
.include "../../mk/bsd.pkg.mk"