Tue Jul 7 21:58:39 2009 UTC ()
user-destdir support


(joerg)
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/hunspell-en_US/Makefile

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/hunspell-en_US/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/hunspell-en_US/Makefile 2007/09/11 18:38:15 1.1.1.1
+++ pkgsrc/textproc/hunspell-en_US/Makefile 2009/07/07 21:58:38 1.2
@@ -1,31 +1,33 @@ @@ -1,31 +1,33 @@
1# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 18:38:15 wiz Exp $ 1# $NetBSD: Makefile,v 1.2 2009/07/07 21:58:38 joerg Exp $
2# 2#
3 3
4VERSION= 20060207 4VERSION= 20060207
5DISTNAME= en_US 5DISTNAME= en_US
6PKGNAME= hunspell-en_US-${VERSION} 6PKGNAME= hunspell-en_US-${VERSION}
7CATEGORIES= textproc 7CATEGORIES= textproc
8MASTER_SITES= http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ 8MASTER_SITES= http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
9EXTRACT_SUFX= .zip 9EXTRACT_SUFX= .zip
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries 12HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries
13COMMENT= US American English dictionaries for hunspell 13COMMENT= US American English dictionaries for hunspell
14 14
 15PKG_DESTDIR_SUPPORT= user-destdir
 16
15DIST_SUBDIR= hunspell-dictionaries/en_US-${VERSION} 17DIST_SUBDIR= hunspell-dictionaries/en_US-${VERSION}
16# don't want -L 18# don't want -L
17EXTRACT_OPTS_ZIP= -aqo 19EXTRACT_OPTS_ZIP= -aqo
18 20
19WRKSRC= ${WRKDIR} 21WRKSRC= ${WRKDIR}
20USE_LANGUAGES= # none 22USE_LANGUAGES= # none
21 23
22INSTALLATION_DIRS= share/hunspell share/doc/hunspell-en_US 24INSTALLATION_DIRS= share/hunspell share/doc/hunspell-en_US
23 25
24do-build: 26do-build:
25 27
26do-install: 28do-install:
27 ${INSTALL_DATA} ${WRKSRC}/en_US.* ${PREFIX}/share/hunspell 29 ${INSTALL_DATA} ${WRKSRC}/en_US.* ${DESTDIR}${PREFIX}/share/hunspell
28 ${INSTALL_DATA} ${WRKSRC}/README_en_US.txt \ 30 ${INSTALL_DATA} ${WRKSRC}/README_en_US.txt \
29 ${PREFIX}/share/doc/hunspell-en_US 31 ${DESTDIR}${PREFIX}/share/doc/hunspell-en_US
30 32
31.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"