aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /vietnamese
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip
- Move language prefix to PKGNAMEPREFIX
- Use DATADIR - Use PLIST_DIRSTRY for DATADIR - Explicitly list installing filenames - Bump PORTREVISION for PORTNAME and PLIST change - Sort PLIST - Cosmetic change
Notes
Notes: svn path=/head/; revision=278527
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/hunspell/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/vietnamese/hunspell/Makefile b/vietnamese/hunspell/Makefile
index 21a4c85cdf78..7803267d0e93 100644
--- a/vietnamese/hunspell/Makefile
+++ b/vietnamese/hunspell/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hunspell
PORTVERSION= 20080604
+PORTREVISION= 1
CATEGORIES= vietnamese textproc
MASTER_SITES= GOOGLE_CODE
DISTNAME= vi_VN
@@ -14,18 +15,17 @@ DISTNAME= vi_VN
MAINTAINER= office@FreeBSD.org
COMMENT= Hunspell vietnamese dictionary
-PROJECTHOST= hunspell-spellcheck-vi
USE_ZIP= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
+PROJECTHOST= hunspell-spellcheck-vi
-PLIST_FILES= share/hunspell/vi_VN.aff \
- share/hunspell/vi_VN.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/vi_VN.aff \
+ %%DATADIR%%/vi_VN.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/vi_VN.aff \
- ${WRKDIR}/vi_VN.dic \
- ${PREFIX}/share/hunspell/
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/vi_VN.aff ${WRKSRC}/vi_VN.dic ${DATADIR}/
.include <bsd.port.mk>