1999-01-10 18:54:23 +00:00
|
|
|
# New ports collection makefile for: amaya
|
|
|
|
# Date created: 26 Dec 1998
|
2000-05-21 11:52:06 +00:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1999-01-10 18:54:23 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1999-01-10 18:54:23 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= amaya
|
2000-07-13 22:49:00 +00:00
|
|
|
PORTVERSION= 3.2.1
|
1999-01-10 18:54:23 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
|
2000-07-09 18:41:39 +00:00
|
|
|
ftp://ftp.w3.org/pub/amaya/
|
2000-04-10 00:07:29 +00:00
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
1999-11-14 02:10:12 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-01-10 18:54:23 +00:00
|
|
|
|
2000-05-21 11:52:06 +00:00
|
|
|
MAINTAINER= croyle@gelemna.org
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_GMAKE= yes
|
1999-05-05 08:56:06 +00:00
|
|
|
DIST_SUBDIR= amaya
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
1999-12-26 14:23:25 +00:00
|
|
|
|
|
|
|
DICT?= none
|
|
|
|
|
|
|
|
.if ${DICT} != "none"
|
|
|
|
.if ${DICT} == "all"
|
|
|
|
DISTFILES+= Dutch.tgz
|
|
|
|
DISTFILES+= English.tgz
|
|
|
|
DISTFILES+= French.tgz
|
|
|
|
DISTFILES+= German.tgz
|
|
|
|
DISTFILES+= Italian.tgz
|
|
|
|
DISTFILES+= Spanish.tgz
|
|
|
|
DISTFILES+= Swedish.tgz
|
|
|
|
.else
|
|
|
|
DISTFILES+= ${DICT:S/$/.tgz/g}
|
1999-05-05 08:56:06 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Amaya/obj
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= ../configure
|
|
|
|
CONFIGURE_ARGS= --with-amaya
|
|
|
|
|
1999-05-05 08:56:06 +00:00
|
|
|
pre-fetch:
|
1999-12-26 14:23:25 +00:00
|
|
|
.if ${DICT} == "none"
|
|
|
|
@${ECHO_MSG} Several spellchecking dictionaries are available. To use
|
|
|
|
@${ECHO_MSG} one of them, define DICT to be the appropriate language.
|
1999-05-05 08:56:06 +00:00
|
|
|
.endif
|
|
|
|
|
1999-01-10 18:54:23 +00:00
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
post-configure:
|
1999-01-18 02:39:06 +00:00
|
|
|
${CP} ${WRKSRC}/Options.orig ${WRKSRC}/Options
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for file in amaya print
|
1999-05-05 08:56:06 +00:00
|
|
|
strip ${PREFIX}/Amaya/applis/bin/${file}
|
1999-01-10 18:54:23 +00:00
|
|
|
.endfor
|
1999-12-26 14:23:25 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html\
|
|
|
|
${PREFIX}/Amaya/amaya/
|
|
|
|
.if ${DICT} != "none"
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 08:56:06 +00:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
1999-12-26 14:23:25 +00:00
|
|
|
cd ${WRKDIR} && ls -1 *.dic | perl -pi -e 's|^|Amaya/dicopar/|'\
|
|
|
|
> ${TMPPLIST}
|
1999-05-05 08:56:06 +00:00
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|