aboutsummaryrefslogtreecommitdiff
path: root/textproc/sv-hyphen
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/sv-hyphen
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
Notes
Diffstat (limited to 'textproc/sv-hyphen')
-rw-r--r--textproc/sv-hyphen/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/textproc/sv-hyphen/Makefile b/textproc/sv-hyphen/Makefile
index f16a9f25b280..257a06e69bb8 100644
--- a/textproc/sv-hyphen/Makefile
+++ b/textproc/sv-hyphen/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= sv-hyphen
+PORTNAME= hyphen
PORTVERSION= 2005.04.15
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
+PKGNAMEPREFIX= sv-
DISTNAME= hyph_sv_SE
MAINTAINER= office@FreeBSD.org
@@ -19,13 +21,13 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hyphen/hyph_sv_SE.dic \
- share/hyphen/hyph_sv_FI.dic
-PLIST_DIRS= share/hyphen
+PLIST_FILES= %%DATADIR%%/hyph_sv_FI.dic \
+ %%DATADIR%%/hyph_sv_SE.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hyphen
- @${INSTALL_DATA} ${WRKDIR}/hyph_sv_SE.dic ${PREFIX}/share/hyphen
- @cd ${PREFIX}/share/hyphen; ${LN} -s hyph_sv_SE.dic hyph_sv_FI.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/hyph_sv_SE.dic ${DATADIR}/
+ ${LN} -s hyph_sv_SE.dic ${DATADIR}/hyph_sv_FI.dic
.include <bsd.port.mk>