Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 08:31:29 +0300
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 09:00:49 +0300
commit72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63 (patch)
tree5a38291fea0ecf3734c8329b934dc334c8a9feb8 /russian
parent915dbfaa562e20c8402d3873f8bfbf07899f9f8a (diff)
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'russian')
-rw-r--r--russian/mythes/Makefile8
-rw-r--r--russian/mythes/Makefile 30
2 files changed, 34 insertions, 4 deletions
diff --git a/russian/mythes/Makefile b/russian/mythes/Makefile
index 4d8ee44d97d3..c7aa6439b4f2 100644
--- a/russian/mythes/Makefile
+++ b/russian/mythes/Makefile
@@ -16,10 +16,10 @@ NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
-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_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
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
diff --git a/russian/mythes/Makefile b/russian/mythes/Makefile
new file mode 100644
index 000000000000..4d8ee44d97d3
--- /dev/null
+++ b/russian/mythes/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= mythes
+PORTVERSION= 2007.06.13
+PORTREVISION= 1
+CATEGORIES= russian textproc
+MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
+DISTNAME= thes_ru_RU_v2-${PORTVERSION:C/\.//g}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Russian thesaurus
+
+LICENSE= LGPL21
+
+USES= zip
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+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
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/th_ru_RU_v2.dat ${WRKSRC}/th_ru_RU_v2.idx ${STAGEDIR}${DATADIR}/
+ ${LN} -s th_ru_RU_v2.dat ${STAGEDIR}${DATADIR}/th_ru_UA_v2.dat
+ ${LN} -s th_ru_RU_v2.idx ${STAGEDIR}${DATADIR}/th_ru_UA_v2.idx
+
+.include <bsd.port.mk>