summaryrefslogtreecommitdiff
path: root/russian
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 /russian
parent- Update MASTER_SITES (diff)
- 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 'russian')
-rw-r--r--russian/hunspell/Makefile15
-rw-r--r--russian/hyphen/Makefile13
-rw-r--r--russian/mythes/Makefile22
3 files changed, 25 insertions, 25 deletions
diff --git a/russian/hunspell/Makefile b/russian/hunspell/Makefile
index ae6aad864a84..8f4fa7e31bd6 100644
--- a/russian/hunspell/Makefile
+++ b/russian/hunspell/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hunspell
PORTVERSION= 20110701
+PORTREVISION= 1
CATEGORIES= russian textproc
MASTER_SITES= GOOGLE_CODE
DISTNAME= ru_RU_UTF8
@@ -14,18 +15,16 @@ DISTNAME= ru_RU_UTF8
MAINTAINER= office@FreeBSD.org
COMMENT= Hunspell russian dictionary
-PROJECTHOST= hunspell-ru
USE_ZIP= yes
NO_BUILD= yes
+PROJECTHOST= hunspell-ru
-PLIST_FILES= share/hunspell/ru_RU.aff \
- share/hunspell/ru_RU.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/ru_RU.aff \
+ %%DATADIR%%/ru_RU.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/ru_RU.aff \
- ${WRKDIR}/ru_RU.dic \
- ${PREFIX}/share/hunspell/
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/ru_RU.aff ${WRKDIR}/ru_RU.dic ${DATADIR}/
.include <bsd.port.mk>
diff --git a/russian/hyphen/Makefile b/russian/hyphen/Makefile
index 0553620ca898..1466fc8c0e83 100644
--- a/russian/hyphen/Makefile
+++ b/russian/hyphen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hyphen
PORTVERSION= 2004.04.15
+PORTREVISION= 1
CATEGORIES= russian textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
DISTNAME= hyph_ru_RU
@@ -19,13 +20,13 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hyphen/hyph_ru_RU.dic \
- share/hyphen/hyph_ru_UA.dic
-PLIST_DIRS= share/hyphen
+PLIST_FILES= %%DATADIR%%/hyph_ru_RU.dic \
+ %%DATADIR%%/hyph_ru_UA.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hyphen
- @${INSTALL_DATA} ${WRKDIR}/hyph_ru_RU.dic ${PREFIX}/share/hyphen
- @cd ${PREFIX}/share/hyphen; ${LN} -s hyph_ru_RU.dic hyph_ru_UA.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/hyph_ru_RU.dic ${DATADIR}/
+ ${LN} -s hyph_ru_RU.dic ${DATADIR}/hyph_ru_UA.dic
.include <bsd.port.mk>
diff --git a/russian/mythes/Makefile b/russian/mythes/Makefile
index e564f3da0a5f..39218ebc8aef 100644
--- a/russian/mythes/Makefile
+++ b/russian/mythes/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mythes
PORTVERSION= 2007.06.13
+PORTREVISION= 1
CATEGORIES= russian textproc
MASTER_SITES= http://download.i-rs.ru/pub/openoffice/dict/
DISTNAME= thes_ru_RU_v2
@@ -18,19 +19,18 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
-PLIST_FILES= share/mythes/th_ru_RU_v2.dat \
- share/mythes/th_ru_RU_v2.idx \
- share/mythes/th_ru_UA_v2.dat \
- share/mythes/th_ru_UA_v2.idx
-
-PLIST_DIRS= share/mythes
+PLIST_FILES= %%DATADIR%%/th_ru_RU_v2.dat \
+ %%DATADIR%%/th_ru_RU_v2.idx \
+ %%DATADIR%%/th_ru_UA_v2.dat \
+ %%DATADIR%%/th_ru_UA_v2.idx
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/mythes
- @${INSTALL_DATA} ${WRKDIR}/th_ru_RU_v2.* ${PREFIX}/share/mythes
- @cd ${PREFIX}/share/mythes; \
- ${LN} -s th_ru_RU_v2.dat th_ru_UA_v2.dat; \
- ${LN} -s th_ru_RU_v2.idx th_ru_UA_v2.idx
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/th_ru_RU_v2.dat ${WRKSRC}/th_ru_RU_v2.idx ${DATADIR}/
+ ${LN} -s th_ru_RU_v2.dat ${DATADIR}/th_ru_UA_v2.dat
+ ${LN} -s th_ru_RU_v2.idx ${DATADIR}/th_ru_UA_v2.idx
.include <bsd.port.mk>