mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mythes
|
|
PORTVERSION= 2006.12.08
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
|
|
PKGNAMEPREFIX= en-
|
|
DISTNAME= thes_en_US_v2-${PORTVERSION:C/\.//g}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= English thesaurus
|
|
|
|
LICENSE= LGPL21
|
|
|
|
EXTRACT_SUFX= .zip
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= %%DATADIR%%/th_en_US_v2.dat \
|
|
%%DATADIR%%/th_en_US_v2.idx
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
|
|
|
USALIASES= en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_IE \
|
|
en_IN en_JM en_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZW
|
|
.for ALIAS in ${USALIASES}
|
|
PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.dat \
|
|
%%DATADIR%%/th_${ALIAS}_v2.idx
|
|
.endfor
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/th_en_US_v2.dat ${WRKSRC}/th_en_US_v2.idx ${STAGEDIR}${DATADIR}/
|
|
.for ALIAS in ${USALIASES}
|
|
${LN} -s th_en_US_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
|
|
${LN} -s th_en_US_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|