1999-01-10 18:54:23 +00:00
|
|
|
# New ports collection makefile for: amaya
|
1999-06-25 22:42:04 +00:00
|
|
|
# Version required: 2.1
|
1999-01-10 18:54:23 +00:00
|
|
|
# Date created: 26 Dec 1998
|
|
|
|
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
|
|
|
|
#
|
1999-06-25 22:42:04 +00:00
|
|
|
# $Id: Makefile,v 1.4 1999/05/09 16:15:35 steve Exp $
|
1999-01-10 18:54:23 +00:00
|
|
|
#
|
|
|
|
|
1999-06-25 22:42:04 +00:00
|
|
|
DISTNAME= amaya-src-2.1
|
|
|
|
PKGNAME= amaya-2.1
|
1999-01-10 18:54:23 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
|
|
|
|
ftp://ftp.w3.org/pub/amaya/ \
|
1999-05-05 08:56:06 +00:00
|
|
|
ftp://mirror.aarnet.edu.au/pub/amaya/
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
MAINTAINER= croyle@gelemna.ft-wayne.in.us
|
|
|
|
|
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
1999-05-05 08:56:06 +00: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 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:
|
|
|
|
.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 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-05-05 08:56:06 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/Amaya/amaya/
|
|
|
|
.ifdef ENGLISH_DICT
|
1999-06-25 22:42:04 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dicopar/Eprinc.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 08:56:06 +00:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
|
|
|
${ECHO} Amaya/dicopar/Eprinc.dic > ${TMPPLIST}
|
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
|
|
|
.ifdef FRENCH_DICT
|
1999-06-25 22:42:04 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dicopar/Fprinc.dic ${PREFIX}/Amaya/dicopar/
|
1999-05-05 08:56:06 +00:00
|
|
|
${MV} ${TMPPLIST} ${TMPPLIST}.new
|
|
|
|
${ECHO} Amaya/dicopar/Fprinc.dic > ${TMPPLIST}
|
|
|
|
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
|
|
|
|
${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
1999-01-10 18:54:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|