diff options
author | joerg <joerg> | 2010-02-04 17:19:34 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-04 17:19:34 +0000 |
commit | fa0325e3d4763748129b86ef14523e2feab2e1bb (patch) | |
tree | 57b8ffcfaf20997df0adc4e3e9c0b3a9f7da15af /misc/linux-words/Makefile | |
parent | 550dc0152094176de6e865c157eda8ba333f2a16 (diff) | |
download | pkgsrc-fa0325e3d4763748129b86ef14523e2feab2e1bb.tar.gz |
DESTDIR support
Diffstat (limited to 'misc/linux-words/Makefile')
-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" |