aboutsummaryrefslogtreecommitdiff
path: root/russian/mythes
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/mythes
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip
Notes
Diffstat (limited to 'russian/mythes')
-rw-r--r--russian/mythes/Makefile22
1 files changed, 11 insertions, 11 deletions
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>