diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 17:19:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 17:19:34 +0000 |
commit | 70e58a9e24ab28886c81024eae28a1335a529508 (patch) | |
tree | 57b8ffcfaf20997df0adc4e3e9c0b3a9f7da15af /misc/linux-words | |
parent | d05d84b97c74d8ca3219327ec44c95e5db370404 (diff) | |
download | pkgsrc-70e58a9e24ab28886c81024eae28a1335a529508.tar.gz |
DESTDIR support
Diffstat (limited to 'misc/linux-words')
-rw-r--r-- | misc/linux-words/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/linux-words/Makefile b/misc/linux-words/Makefile index 1f7425c3ace..e2c1b97ad11 100644 --- a/misc/linux-words/Makefile +++ b/misc/linux-words/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/03/08 13:50:57 reed Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/04 17:26:25 joerg Exp $ DISTNAME= linux.words.2 PKGNAME= linux-words-2 @@ -9,6 +9,8 @@ MAINTAINER= reed@reedmedia.net #HOMEPAGE= COMMENT= English word list +PKG_DESTDIR_SUPPORT= user-destdir + # For other word packages also consider other word lists like # aspell's en list like ftp://ftp.gnu.org/gnu/aspell/aspell-en-0.51-0.tar.bz2 # SCOWL from http://wordlist.sourceforge.net/ @@ -22,11 +24,11 @@ USE_LANGUAGES= # none INSTALLATION_DIRS= share/dict share/doc/linux-words do-install: - ${INSTALL_DATA} ${WRKSRC}/linux.words ${PREFIX}/share/dict/ - ${LN} -s linux.words ${PREFIX}/share/dict/words + ${INSTALL_DATA} ${WRKSRC}/linux.words ${DESTDIR}${PREFIX}/share/dict/ + ${LN} -s linux.words ${DESTDIR}${PREFIX}/share/dict/words ${INSTALL_DATA} ${WRKSRC}/README.linux.words \ - ${PREFIX}/share/doc/linux-words/ + ${DESTDIR}${PREFIX}/share/doc/linux-words/ ${INSTALL_DATA} ${WRKSRC}/README2.linux.words \ - ${PREFIX}/share/doc/linux-words/ + ${DESTDIR}${PREFIX}/share/doc/linux-words/ .include "../../mk/bsd.pkg.mk" |