freebsd-ports/french/mythes/Makefile

40 lines
969 B
Makefile
Raw Normal View History

2011-07-21 16:33:07 +02:00
# $FreeBSD$
PORTNAME= mythes
2012-09-21 09:28:36 +02:00
PORTVERSION= 2.3
2011-07-21 16:33:07 +02:00
CATEGORIES= french textproc
MASTER_SITES= http://www.dicollecte.org/download/fr/ \
LOCAL/sunpoet/${PORTNAME}
2011-07-21 16:33:07 +02:00
DISTNAME= thesaurus-v${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
2011-07-21 16:33:07 +02:00
MAINTAINER= office@FreeBSD.org
2011-07-21 16:33:07 +02:00
COMMENT= French thesaurus
LICENSE= LGPL21
2014-03-07 17:59:07 +01:00
USES= zip
2015-07-18 17:02:02 +02:00
NO_ARCH= yes
2011-07-21 16:33:07 +02:00
NO_BUILD= yes
NO_WRKSUBDIR= yes
2011-07-21 16:33:07 +02:00
PLIST_FILES= %%DATADIR%%/th_fr_FR_v2.dat \
%%DATADIR%%/th_fr_FR_v2.idx
2011-07-21 16:33:07 +02:00
FRALIASES= fr_BE fr_CA fr_CH fr_LU
2011-07-21 16:33:07 +02:00
.for ALIAS in ${FRALIASES}
PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.dat \
%%DATADIR%%/th_${ALIAS}_v2.idx
2011-07-21 16:33:07 +02:00
.endfor
do-install:
2013-11-15 15:15:27 +01:00
${MKDIR} ${STAGEDIR}${DATADIR}/
2013-11-04 12:11:44 +01:00
${INSTALL_DATA} ${WRKSRC}/thes_fr.dat ${STAGEDIR}${DATADIR}/th_fr_FR_v2.dat
${INSTALL_DATA} ${WRKSRC}/thes_fr.idx ${STAGEDIR}${DATADIR}/th_fr_FR_v2.idx
.for ALIAS in ${FRALIASES}
2013-11-04 12:11:44 +01:00
${LN} -s th_fr_FR_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
${LN} -s th_fr_FR_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
.endfor
2011-07-21 16:33:07 +02:00
.include <bsd.port.mk>