aboutsummaryrefslogtreecommitdiff
path: root/textproc/wa-hunspell
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 /textproc/wa-hunspell
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 'textproc/wa-hunspell')
-rw-r--r--textproc/wa-hunspell/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/textproc/wa-hunspell/Makefile b/textproc/wa-hunspell/Makefile
index c207c5e1a43f..cfdf22e53c26 100644
--- a/textproc/wa-hunspell/Makefile
+++ b/textproc/wa-hunspell/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= wa-hunspell
+PORTNAME= hunspell
PORTVERSION= 0.4.15
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://chanae.walon.org/walon/
+PKGNAMEPREFIX= wa-
DISTNAME= aspell-wa-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
@@ -16,18 +18,15 @@ COMMENT= Wallon hunspell dictionaries
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
-ALL_TARGET= myspell
-
USE_BZIP2= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
-PLIST_FILES= share/hunspell/wa.aff \
- share/hunspell/wa.dic
+ALL_TARGET= myspell
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/wa.aff \
+ %%DATADIR%%/wa.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKSRC}/wa.aff ${WRKSRC}/wa.dic ${PREFIX}/share/hunspell
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/wa.aff ${WRKSRC}/wa.dic ${DATADIR}/
.include <bsd.port.mk>