diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-19 05:31:29 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-19 06:00:49 +0000 |
commit | 72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63 (patch) | |
tree | 5a38291fea0ecf3734c8329b934dc334c8a9feb8 /russian/mythes | |
parent | 915dbfaa562e20c8402d3873f8bfbf07899f9f8a (diff) | |
download | ports-72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63.tar.gz ports-72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63.zip |
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'russian/mythes')
-rw-r--r-- | russian/mythes/Makefile | 8 | ||||
-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> |