diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
commit | dcae08b64c9bcbf2c8a6ba4bec34bd2c803eed82 (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ted-en-us | |
parent | 8215a798c07643e82100e93a0dd116651232835f (diff) | |
download | pkgsrc-dcae08b64c9bcbf2c8a6ba4bec34bd2c803eed82.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-en-us')
-rw-r--r-- | editors/ted-en-us/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/ted-en-us/Makefile b/editors/ted-en-us/Makefile index ecd1eaddb2e..a7eea661632 100644 --- a/editors/ted-en-us/Makefile +++ b/editors/ted-en-us/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/06/08 18:41:21 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 18:25:53 jlam Exp $ DISTNAME= ted-2.16.src PKGNAME= ted-en-us-2.16 @@ -12,6 +12,8 @@ COMMENT= US English spelling dictionary for the Ted word processor DEPENDS+= ted>=2.6:../../editors/ted +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/Ted-2.16 USE_X11BASE= YES NO_BUILD= YES @@ -23,6 +25,7 @@ post-extract: @cd ${WRKSRC} ; ${GTAR} xf tedPackage/TedBindist.tar do-install: - ${INSTALL_DATA} ${WRKSRC}/ind/US_English.ind ${PREFIX}/share/Ted/ind + ${INSTALL_DATA} ${WRKSRC}/ind/US_English.ind \ + ${DESTDIR}${PREFIX}/share/Ted/ind .include "../../mk/bsd.pkg.mk" |