1999-01-10 19:54:23 +01:00
|
|
|
# New ports collection makefile for: amaya
|
|
|
|
# Date created: 26 Dec 1998
|
2000-05-21 13:52:06 +02:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1999-01-10 19:54:23 +01:00
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1999-01-10 19:54:23 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= amaya
|
2000-07-14 00:49:00 +02:00
|
|
|
PORTVERSION= 3.2.1
|
1999-01-10 19:54:23 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
|
2000-07-09 20:41:39 +02:00
|
|
|
ftp://ftp.w3.org/pub/amaya/
|
2000-04-10 02:07:29 +02:00
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
1999-11-14 03:10:12 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-01-10 19:54:23 +01:00
|
|
|
|
2000-05-21 13:52:06 +02:00
|
|
|
MAINTAINER= croyle@gelemna.org
|
1999-01-10 19:54:23 +01:00
|
|
|
|
2000-11-08 00:28:20 +01:00
|
|
|
USE_MOTIF= yes
|
1999-01-10 19:54:23 +01:00
|
|
|
USE_XLIB= yes
|
|
|
|
USE_GMAKE= yes
|
1999-05-05 10:56:06 +02:00
|
|
|
DIST_SUBDIR= amaya
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
1999-12-26 15:23:25 +01: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 10:56:06 +02:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Amaya/obj
|
1999-01-10 19:54:23 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= ../configure
|
|
|
|
CONFIGURE_ARGS= --with-amaya
|
|
|
|
|
1999-05-05 10:56:06 +02:00
|
|
|
pre-fetch:
|
1999-12-26 15:23:25 +01: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 10:56:06 +02:00
|
|
|
.endif
|
|
|
|
|
1999-01-10 19:54:23 +01:00
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
post-configure:
|
1999-01-18 03:39:06 +01:00
|
|
|
${CP} ${WRKSRC}/Options.orig ${WRKSRC}/Options
|
1999-01-10 19:54:23 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for file in amaya print
|
1999-05-05 10:56:06 +02:00
|
|
|
strip ${PREFIX}/Amaya/applis/bin/${file}
|
1999-01-10 19:54:23 +01:00
|
|
|
.endfor
|
1999-12-26 15:23:25 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html\
|
|
|
|
${PREFIX}/Amaya/amaya/
|
|
|
|
.if ${DICT} != "none"
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 10:56:06 +02:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
1999-12-26 15:23:25 +01:00
|
|
|
cd ${WRKDIR} && ls -1 *.dic | perl -pi -e 's|^|Amaya/dicopar/|'\
|
|
|
|
> ${TMPPLIST}
|
1999-05-05 10:56:06 +02:00
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
1999-01-10 19:54:23 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|