1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/nl-mythes/Makefile
Po-Chuan Hsieh 72664fc2b4
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
2021-09-19 14:00:49 +08:00

38 lines
935 B
Makefile

PORTNAME= mythes
PORTVERSION= 2015.12.10
CATEGORIES= textproc
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX= nl-
DISTNAME= thes_nl-${PORTVERSION:C/\.//g}
EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Dutch thesaurus
LICENSE= BSD3CLAUSE
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= ${DATADIR}/th_nl_NL_v2.dat \
${DATADIR}/th_nl_NL_v2.idx
NLALIASES= nl_AW nl_BE
.for ALIAS in ${NLALIASES}
PLIST_FILES+= ${DATADIR}/th_${ALIAS}_v2.dat \
${DATADIR}/th_${ALIAS}_v2.idx
.endfor
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/th_nl_v2.dat ${STAGEDIR}${DATADIR}/th_nl_NL_v2.dat
${INSTALL_DATA} ${WRKSRC}/th_nl_v2.dat ${STAGEDIR}${DATADIR}/th_nl_NL_v2.idx
.for ALIAS in ${NLALIASES}
${LN} -s th_nl_NL_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
${LN} -s th_nl_NL_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
.endfor
.include <bsd.port.mk>