freebsd-ports/textproc/nl-mythes/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

2011-07-21 16:33:07 +02:00
# New ports collection makefile for: nl-mythes
# Date created: 2011-07-21
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nl-mythes
PORTVERSION= 2011.06.09
CATEGORIES= textproc
MASTER_SITES= http://data.opentaal.org/opentaalbank/thesaurus/download/
DISTNAME= thes_nl
EXTRACT_SUFX= .oxt
MAINTAINER= office@FreeBSD.org
2011-07-21 16:33:07 +02:00
COMMENT= Dutch thesaurus
LICENSE= BSD
USE_ZIP= yes
NO_BUILD= yes
PLIST_FILES= share/mythes/th_nl_NL_v2.dat \
share/mythes/th_nl_NL_v2.idx
PLIST_DIRS= share/mythes
NLALIASES= nl_AW nl_BE
.for ALIAS in ${NLALIASES}
PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \
share/mythes/th_${ALIAS}_v2.idx
.endfor
do-install:
@${MKDIR} ${PREFIX}/share/mythes
@${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.dat
@${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.idx
@cd ${PREFIX}/share/mythes; \
for alias in ${NLALIASES}; do \
${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.dat ; \
${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.idx ; \
done
.include <bsd.port.mk>