freebsd-ports/textproc/nl-mythes/Makefile

42 lines
969 B
Makefile
Raw Normal View History

# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
2011-07-21 16:33:07 +02:00
# $FreeBSD$
PORTNAME= mythes
PORTVERSION= 2012.10.07
2011-07-21 16:33:07 +02:00
CATEGORIES= textproc
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX= nl-
DISTNAME= thes_nl-${PORTVERSION:C/\.//g}
2011-07-21 16:33:07 +02:00
EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
2011-07-21 16:33:07 +02:00
MAINTAINER= office@FreeBSD.org
2011-07-21 16:33:07 +02:00
COMMENT= Dutch thesaurus
LICENSE= BSD
USE_ZIP= yes
NO_BUILD= yes
2011-08-02 11:00:36 +02:00
NO_WRKSUBDIR= yes
2011-07-21 16:33:07 +02:00
PLIST_FILES= %%DATADIR%%/th_nl_NL_v2.dat \
%%DATADIR%%/th_nl_NL_v2.idx
PLIST_DIRSTRY= %%DATADIR%%
2011-07-21 16:33:07 +02:00
NLALIASES= nl_AW nl_BE
.for ALIAS in ${NLALIASES}
PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.dat \
%%DATADIR%%/th_${ALIAS}_v2.idx
2011-07-21 16:33:07 +02:00
.endfor
do-install:
${MKDIR} ${DATADIR}/
2011-08-02 11:00:36 +02:00
${INSTALL_DATA} ${WRKSRC}/th_nl_v2.dat ${DATADIR}/th_nl_NL_v2.dat
${INSTALL_DATA} ${WRKSRC}/th_nl_v2.dat ${DATADIR}/th_nl_NL_v2.idx
.for ALIAS in ${NLALIASES}
${LN} -s th_nl_NL_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
${LN} -s th_nl_NL_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
.endfor
2011-07-21 16:33:07 +02:00
.include <bsd.port.mk>