summaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 13:31:29 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 14:00:49 +0800
commit72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63 (patch)
tree5a38291fea0ecf3734c8329b934dc334c8a9feb8 /polish
parent*/*hyphen: Avoid using %% in Makefile (diff)
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'polish')
-rw-r--r--polish/mythes/Makefile4
-rw-r--r--polish/mythes/Makefile 26
2 files changed, 28 insertions, 2 deletions
diff --git a/polish/mythes/Makefile b/polish/mythes/Makefile
index 32ee0b745495..f57ce48b7ca2 100644
--- a/polish/mythes/Makefile
+++ b/polish/mythes/Makefile
@@ -16,8 +16,8 @@ NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
-PLIST_FILES= %%DATADIR%%/th_pl_PL_v2.dat \
- %%DATADIR%%/th_pl_PL_v2.idx
+PLIST_FILES= ${DATADIR}/th_pl_PL_v2.dat \
+ ${DATADIR}/th_pl_PL_v2.idx
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
diff --git a/polish/mythes/Makefile b/polish/mythes/Makefile
new file mode 100644
index 000000000000..32ee0b745495
--- /dev/null
+++ b/polish/mythes/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= mythes
+PORTVERSION= 1.5
+PORTREVISION= 1
+CATEGORIES= polish textproc
+MASTER_SITES= SF/synonimy/synonimy/${PORTVERSION}/
+DISTNAME= OOo2-Thesaurus-${PORTVERSION}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Polish thesaurus
+
+LICENSE= LGPL21
+
+USES= zip
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= %%DATADIR%%/th_pl_PL_v2.dat \
+ %%DATADIR%%/th_pl_PL_v2.idx
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/th_pl_PL_v2.dat ${WRKSRC}/th_pl_PL_v2.idx ${STAGEDIR}${DATADIR}/
+
+.include <bsd.port.mk>