1999-01-10 19:54:23 +01:00
|
|
|
# New ports collection makefile for: amaya
|
1999-06-26 00:42:04 +02:00
|
|
|
# Version required: 2.1
|
1999-01-10 19:54:23 +01:00
|
|
|
# Date created: 26 Dec 1998
|
|
|
|
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
|
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1999-01-10 19:54:23 +01:00
|
|
|
#
|
|
|
|
|
1999-06-26 00:42:04 +02:00
|
|
|
DISTNAME= amaya-src-2.1
|
|
|
|
PKGNAME= amaya-2.1
|
1999-01-10 19:54:23 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
|
|
|
|
ftp://ftp.w3.org/pub/amaya/ \
|
1999-05-05 10:56:06 +02:00
|
|
|
ftp://mirror.aarnet.edu.au/pub/amaya/
|
1999-01-10 19:54:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= croyle@gelemna.ft-wayne.in.us
|
|
|
|
|
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
1999-05-05 10:56:06 +02:00
|
|
|
DIST_SUBDIR= amaya
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.ifdef ENGLISH_DICT
|
|
|
|
DISTFILES+= English.tar.gz
|
|
|
|
.endif
|
|
|
|
.ifdef FRENCH_DICT
|
|
|
|
DISTFILES+= French.tar.gz
|
|
|
|
.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:
|
|
|
|
.if !defined(ENGLISH_DICT) && !defined(FRENCH_DICT)
|
|
|
|
@${ECHO_MSG} To enable spell checking, define either
|
|
|
|
@${ECHO_MSG} ENGLISH_DICT or FRENCH_DICT
|
|
|
|
.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-05-05 10:56:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/Amaya/amaya/
|
|
|
|
.ifdef ENGLISH_DICT
|
1999-06-26 00:42:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dicopar/Eprinc.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 10:56:06 +02:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
|
|
|
${ECHO} Amaya/dicopar/Eprinc.dic > ${TMPPLIST}
|
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
|
|
|
.ifdef FRENCH_DICT
|
1999-06-26 00:42:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dicopar/Fprinc.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 10:56:06 +02:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
|
|
|
${ECHO} Amaya/dicopar/Fprinc.dic > ${TMPPLIST}
|
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
1999-01-10 19:54:23 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|