freebsd-ports/german/mythes/Makefile
Sunpoet Po-Chuan Hsieh d680d232f8 - Update to 2011.08.01
2011-08-02 09:02:26 +00:00

43 lines
972 B
Makefile

# New ports collection makefile for: mythes
# Date created: 2011-07-21
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mythes
PORTVERSION= 2011.08.01
CATEGORIES= german textproc
MASTER_SITES= http://www.openthesaurus.de/export/
DISTNAME= Deutscher-Thesaurus
EXTRACT_SUFX= .oxt
MAINTAINER= office@FreeBSD.org
COMMENT= German thesaurus
LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= %%DATADIR%%/th_de_DE_v2.idx \
%%DATADIR%%/th_de_DE_v2.dat
PLIST_DIRSTRY= %%DATADIR%%
DEALIASES= de_AT de_BE de_CH de_LI de_LU
.for ALIAS in ${DEALIASES}
PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.idx \
%%DATADIR%%/th_${ALIAS}_v2.dat
.endfor
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${DATADIR}/
.for ALIAS in ${DEALIASES}
${LN} -s th_de_DE_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
${LN} -s th_de_DE_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
.endfor
.include <bsd.port.mk>