aboutsummaryrefslogtreecommitdiffstats
path: root/russian/hyphen
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
commite7533864e7a7574c2d1b20a6b10f81c0561e4621 (patch)
tree709c0318625f1fe2eca8e12b791e969926c96e91 /russian/hyphen
parent3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff)
downloadfreebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.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
Diffstat (limited to 'russian/hyphen')
-rw-r--r--russian/hyphen/Makefile13
1 files changed, 7 insertions, 6 deletions
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>