summaryrefslogtreecommitdiff
path: root/textproc/hunspell-en_US
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 21:58:38 +0000
committerjoerg <joerg>2009-07-07 21:58:38 +0000
commit6826e10a0d38b9beaca0381e23207a421f61b8fa (patch)
treea904fb96a5393c2d78db82dd76027921ba9d852e /textproc/hunspell-en_US
parent5dbbf784bfc01d4028208f949dd5e646eed18df1 (diff)
downloadpkgsrc-6826e10a0d38b9beaca0381e23207a421f61b8fa.tar.gz
user-destdir support
Diffstat (limited to 'textproc/hunspell-en_US')
-rw-r--r--textproc/hunspell-en_US/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/hunspell-en_US/Makefile b/textproc/hunspell-en_US/Makefile
index e74aae6158a..d8b0b873579 100644
--- a/textproc/hunspell-en_US/Makefile
+++ b/textproc/hunspell-en_US/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 18:38:15 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 21:58:38 joerg Exp $
#
VERSION= 20060207
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries
COMMENT= US American English dictionaries for hunspell
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= hunspell-dictionaries/en_US-${VERSION}
# don't want -L
EXTRACT_OPTS_ZIP= -aqo
@@ -24,8 +26,8 @@ INSTALLATION_DIRS= share/hunspell share/doc/hunspell-en_US
do-build:
do-install:
- ${INSTALL_DATA} ${WRKSRC}/en_US.* ${PREFIX}/share/hunspell
+ ${INSTALL_DATA} ${WRKSRC}/en_US.* ${DESTDIR}${PREFIX}/share/hunspell
${INSTALL_DATA} ${WRKSRC}/README_en_US.txt \
- ${PREFIX}/share/doc/hunspell-en_US
+ ${DESTDIR}${PREFIX}/share/doc/hunspell-en_US
.include "../../mk/bsd.pkg.mk"