freebsd-ports/french/mythes/Makefile
Sunpoet Po-Chuan Hsieh 72c08ec487 - Move language prefix to PKGNAMEPREFIX
- Use DATADIR
- Use PLIST_DIRSTRY for DATADIR
- Explicitly list installing filenames
- Bump PORTREVISION for PORTNAME and PLIST change
- Sort PLIST
- Cosmetic change
2011-07-29 13:13:17 +00:00

43 lines
1,017 B
Makefile

# New ports collection makefile for: mythes
# Date created: 2011-07-21
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mythes
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= french textproc
MASTER_SITES= http://www.dicollecte.org/download/fr/
DISTNAME= thesaurus-v${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= French thesaurus
LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= %%DATADIR%%/th_fr_FR_v2.dat \
%%DATADIR%%/th_fr_FR_v2.idx
PLIST_DIRSTRY= %%DATADIR%%
FRALIASES= fr_BE fr_CA fr_CH fr_LU
.for ALIAS in ${FRALIASES}
PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.dat \
%%DATADIR%%/th_${ALIAS}_v2.idx
.endfor
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/thes_fr.dat ${DATADIR}/th_fr_FR_v2.dat
${INSTALL_DATA} ${WRKSRC}/thes_fr.idx ${DATADIR}/th_fr_FR_v2.idx
.for ALIAS in ${FRALIASES}
${LN} -s th_fr_FR_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
${LN} -s th_fr_FR_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
.endfor
.include <bsd.port.mk>