diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /textproc/GutenMark-words/Makefile | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/GutenMark-words/Makefile')
-rw-r--r-- | textproc/GutenMark-words/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/textproc/GutenMark-words/Makefile b/textproc/GutenMark-words/Makefile index 74de29f8866..a25b21c84c8 100644 --- a/textproc/GutenMark-words/Makefile +++ b/textproc/GutenMark-words/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/07/27 18:48:04 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:47 joerg Exp $ # DISTNAME= GutenMark-words-20030107 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.sandroid.org/GutenMark/ COMMENT= Word lists for GutenMark +PKG_DESTDIR_SUPPORT= user-destdir + WORDLISTS= special.words.gz english.names.gz US.places.gz \ french.names.gz english.words.gz french.words.gz \ german2.words.gz german.words.gz latin.words.gz \ @@ -23,6 +25,8 @@ DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= # empty NO_CONFIGURE= YES +INSTALLATION_DIRS= share/GutenMark share/examples/GutenMark + post-extract: ${CP} ${_DISTDIR}/GutenMark.cfg ${WRKDIR}/GutenMark.cfg.in @@ -31,12 +35,10 @@ do-build: GutenMark.cfg.in > GutenMark.cfg do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/GutenMark - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/GutenMark for wl in ${WORDLISTS}; do \ - ${INSTALL_DATA} ${_DISTDIR}/$$wl ${PREFIX}/share/GutenMark; \ + ${INSTALL_DATA} ${_DISTDIR}/$$wl ${DESTDIR}${PREFIX}/share/GutenMark; \ done ${INSTALL_DATA} ${WRKDIR}/GutenMark.cfg \ - ${PREFIX}/share/examples/GutenMark + ${DESTDIR}${PREFIX}/share/examples/GutenMark .include "../../mk/bsd.pkg.mk" |