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 /portuguese | |
parent | 915dbfaa562e20c8402d3873f8bfbf07899f9f8a (diff) | |
download | ports-72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63.tar.gz ports-72664fc2b4d33ca3ae39c8e7ab6f8fa85c08bd63.zip |
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'portuguese')
-rw-r--r-- | portuguese/mythes/Makefile | 8 | ||||
-rw-r--r-- | portuguese/mythes/Makefile | 30 |
2 files changed, 34 insertions, 4 deletions
diff --git a/portuguese/mythes/Makefile b/portuguese/mythes/Makefile index cd7c042751a8..461795cfafa0 100644 --- a/portuguese/mythes/Makefile +++ b/portuguese/mythes/Makefile @@ -16,10 +16,10 @@ NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_FILES= %%DATADIR%%/th_pt_BR_v2.dat \ - %%DATADIR%%/th_pt_BR_v2.idx \ - %%DATADIR%%/th_pt_PT_v2.dat \ - %%DATADIR%%/th_pt_PT_v2.idx +PLIST_FILES= ${DATADIR}/th_pt_BR_v2.dat \ + ${DATADIR}/th_pt_BR_v2.idx \ + ${DATADIR}/th_pt_PT_v2.dat \ + ${DATADIR}/th_pt_PT_v2.idx do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ diff --git a/portuguese/mythes/Makefile b/portuguese/mythes/Makefile new file mode 100644 index 000000000000..cd7c042751a8 --- /dev/null +++ b/portuguese/mythes/Makefile @@ -0,0 +1,30 @@ +PORTNAME= mythes +PORTVERSION= 2006.08.17 +PORTREVISION= 1 +CATEGORIES= portuguese textproc +MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/ +DISTNAME= thes_pt_PT_v2-${PORTVERSION:C/\.//g} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= office@FreeBSD.org +COMMENT= Portuguese thesaurus + +LICENSE= GPLv2 + +USES= zip +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= %%DATADIR%%/th_pt_BR_v2.dat \ + %%DATADIR%%/th_pt_BR_v2.idx \ + %%DATADIR%%/th_pt_PT_v2.dat \ + %%DATADIR%%/th_pt_PT_v2.idx + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/th_pt_PT_v2.dat ${WRKSRC}/th_pt_PT_v2.idx ${STAGEDIR}${DATADIR}/ + ${LN} -s th_pt_PT_v2.dat ${STAGEDIR}${DATADIR}/th_pt_BR_v2.dat + ${LN} -s th_pt_PT_v2.idx ${STAGEDIR}${DATADIR}/th_pt_BR_v2.idx + +.include <bsd.port.mk> |