aboutsummaryrefslogtreecommitdiffstats
path: root/www/amaya/Makefile
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1999-05-05 16:56:06 +0800
committerflathill <flathill@FreeBSD.org>1999-05-05 16:56:06 +0800
commit2820630045dad790e3501ecca75e4880e3a2c05f (patch)
tree6eb6943971fe4b421d50be5f22b0f84aa043661f /www/amaya/Makefile
parent0294abd4bef64d48f8471e1159ad7efd5a4d2725 (diff)
downloadfreebsd-ports-gnome-2820630045dad790e3501ecca75e4880e3a2c05f.tar.gz
freebsd-ports-gnome-2820630045dad790e3501ecca75e4880e3a2c05f.tar.zst
freebsd-ports-gnome-2820630045dad790e3501ecca75e4880e3a2c05f.zip
Update to 2.0
PR: ports/11483 Submitted by: croyle@gelemna.ft-wayne.in.us
Diffstat (limited to 'www/amaya/Makefile')
-rw-r--r--www/amaya/Makefile45
1 files changed, 37 insertions, 8 deletions
diff --git a/www/amaya/Makefile b/www/amaya/Makefile
index 802377884725..29f0f777e873 100644
--- a/www/amaya/Makefile
+++ b/www/amaya/Makefile
@@ -1,17 +1,17 @@
# New ports collection makefile for: amaya
-# Version required: 1.4a
+# Version required: 2.0
# Date created: 26 Dec 1998
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
#
-# $Id: Makefile,v 1.1.1.1 1999/01/10 18:54:23 steve Exp $
+# $Id: Makefile,v 1.2 1999/01/18 02:39:02 steve Exp $
#
-DISTNAME= amaya-src-1.4a
-PKGNAME= amaya-1.4a
+DISTNAME= amaya-src-2.0
+PKGNAME= amaya-2.0
CATEGORIES= www
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
ftp://ftp.w3.org/pub/amaya/ \
- ftp://ftp-eu.w3.org/pub/amaya/
+ ftp://mirror.aarnet.edu.au/pub/amaya/
MAINTAINER= croyle@gelemna.ft-wayne.in.us
@@ -19,12 +19,27 @@ REQUIRES_MOTIF= yes
USE_XLIB= yes
USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/Thot/obj
+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
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS= --with-amaya
+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
+
post-extract:
${MKDIR} ${WRKSRC}
@@ -33,8 +48,22 @@ post-configure:
post-install:
.for file in amaya print
- strip ${PREFIX}/thot/applis/bin/${file}
+ strip ${PREFIX}/Amaya/applis/bin/${file}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/thot/amaya/
+ ${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/Amaya/amaya/
+.ifdef ENGLISH_DICT
+ ${INSTALL_DATA} ${WRKDIR}/Thot/dicopar/Eprinc.dic ${PREFIX}/Amaya/dicopar/
+ ${MV} ${TMPPLIST} ${TMPPLIST}.new
+ ${ECHO} Amaya/dicopar/Eprinc.dic > ${TMPPLIST}
+ ${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
+ ${RM} ${TMPPLIST}.new
+.endif
+.ifdef FRENCH_DICT
+ ${INSTALL_DATA} ${WRKDIR}/Thot/dicopar/Fprinc.dic ${PREFIX}/Amaya/dicopar/
+ ${MV} ${TMPPLIST} ${TMPPLIST}.new
+ ${ECHO} Amaya/dicopar/Fprinc.dic > ${TMPPLIST}
+ ${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
+ ${RM} ${TMPPLIST}.new
+.endif
.include <bsd.port.mk>