aboutsummaryrefslogtreecommitdiffstats
path: root/www/amaya
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-20 13:54:37 +0800
committerdinoex <dinoex@FreeBSD.org>2001-03-20 13:54:37 +0800
commitcdef2d41c77c652426a7de008cd1cd1b09a5a986 (patch)
tree08f61bb913afceceb1b6d80f6b3c0216ebfaea15 /www/amaya
parentc4aa7438c2aa6d02ddf445bb2c11f7ac1cfd8fd2 (diff)
downloadfreebsd-ports-gnome-cdef2d41c77c652426a7de008cd1cd1b09a5a986.tar.gz
freebsd-ports-gnome-cdef2d41c77c652426a7de008cd1cd1b09a5a986.tar.zst
freebsd-ports-gnome-cdef2d41c77c652426a7de008cd1cd1b09a5a986.zip
- Uses shared png and jpeg libs
- Patches to install with right ownership and modes PR: 25872 Submitted by: tkato@prontomail.ne.jp
Diffstat (limited to 'www/amaya')
-rw-r--r--www/amaya/Makefile35
-rw-r--r--www/amaya/files/patch-ac11
-rw-r--r--www/amaya/files/patch-ad22
-rw-r--r--www/amaya/files/patch-ae11
-rw-r--r--www/amaya/files/patch-af11
-rw-r--r--www/amaya/pkg-plist2
6 files changed, 73 insertions, 19 deletions
diff --git a/www/amaya/Makefile b/www/amaya/Makefile
index 80cec5d5f061..df969c5a22fb 100644
--- a/www/amaya/Makefile
+++ b/www/amaya/Makefile
@@ -7,19 +7,28 @@
PORTNAME= amaya
PORTVERSION= 4.3.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
ftp://ftp.w3.org/pub/amaya/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.4:${PORTSDIR}/graphics/png
+
+DIST_SUBDIR= amaya
+WRKSRC= ${WRKDIR}/Amaya/obj
USE_MOTIF= yes
-USE_XLIB= yes
USE_GMAKE= yes
-DIST_SUBDIR= amaya
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+GNU_CONFIGURE= yes
+CONFIGURE_SCRIPT= ../configure
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-more-shared
DICT?= none
@@ -37,12 +46,6 @@ DISTFILES+= ${DICT:S/$/.tgz/g}
.endif
.endif
-WRKSRC= ${WRKDIR}/Amaya/obj
-
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../configure
-CONFIGURE_ARGS= --with-amaya
-
pre-fetch:
.if ${DICT} == "none"
@${ECHO_MSG} Several spellchecking dictionaries are available. To use
@@ -56,16 +59,12 @@ post-configure:
${CP} ${WRKSRC}/Options.orig ${WRKSRC}/Options
post-install:
-.for file in amaya print
- strip ${PREFIX}/Amaya/applis/bin/${file}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html\
- ${PREFIX}/Amaya/amaya/
+ ${INSTALL_DATA} ${WRKSRC}/../amaya/COPYRIGHT.html ${PREFIX}/Amaya/amaya
.if ${DICT} != "none"
- ${INSTALL_DATA} ${WRKDIR}/*.dic ${PREFIX}/Amaya/dicopar/
+ ${INSTALL_DATA} ${WRKDIR}/*.dic ${PREFIX}/Amaya/dicopar
${MV} ${TMPPLIST} ${TMPPLIST}.new
- cd ${WRKDIR} && ls -1 *.dic | perl -pi -e 's|^|Amaya/dicopar/|'\
- > ${TMPPLIST}
+ cd ${WRKDIR} && ls -1 *.dic | \
+ ${PERL} -pi -e 's|^|Amaya/dicopar/|' > ${TMPPLIST}
${CAT} ${TMPPLIST}.new >> ${TMPPLIST}
${RM} ${TMPPLIST}.new
.endif
diff --git a/www/amaya/files/patch-ac b/www/amaya/files/patch-ac
new file mode 100644
index 000000000000..583c0cf0fb45
--- /dev/null
+++ b/www/amaya/files/patch-ac
@@ -0,0 +1,11 @@
+--- ../Makefile.in.orig Wed Feb 28 19:34:16 2001
++++ ../Makefile.in Tue Mar 20 01:40:14 2001
+@@ -187,7 +187,7 @@
+ if [ ! -f Makefile -o ! -f wwwconf.h ] ; then \
+ $$libwwwdir/configure \
+ --disable-shared \
+- --with-zlib="$$localdir/libz.a"; \
++ --with-zlib; \
+ $(ECHO) "libwww is configured" ; \
+ fi)
+
diff --git a/www/amaya/files/patch-ad b/www/amaya/files/patch-ad
new file mode 100644
index 000000000000..d7e71bdc4241
--- /dev/null
+++ b/www/amaya/files/patch-ad
@@ -0,0 +1,22 @@
+--- ../Options.in.orig Fri Sep 15 23:24:26 2000
++++ ../Options.in Sat Mar 17 08:53:21 2001
+@@ -9,7 +9,7 @@
+ SHELL = /bin/sh
+
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @CPPFLAGS@
+ CPP = @CPP@
+ LD = @CC@
+ LDFLAGS = @LDFLAGS@
+@@ -24,8 +24,8 @@
+ DIFF = @DIFF@
+ INSTALL = @INSTALL@
+
+-INSTALL_DATA= $(INSTALL) -m 444
+-INSTALL_BIN= $(INSTALL) -m 755
++INSTALL_DATA=@INSTALL_DATA@
++INSTALL_BIN=@INSTALL_PROGRAM@
+
+ CEXTRACT_FLAGS=@CEXTRACT_FLAGS@
+
diff --git a/www/amaya/files/patch-ae b/www/amaya/files/patch-ae
new file mode 100644
index 000000000000..32111aa9a637
--- /dev/null
+++ b/www/amaya/files/patch-ae
@@ -0,0 +1,11 @@
+--- ../configure.orig Wed Feb 28 19:34:16 2001
++++ ../configure Mon Mar 19 22:16:50 2001
+@@ -1651,7 +1651,7 @@
+ :
+ fi
+
+-if test "$with_graphic-libs" = "no" ; then
++if test "$with_more_shared" = "yes" ; then
+ echo $ac_n "checking for libjpeg version = 6b""... $ac_c" 1>&6
+ echo "configure:1657: checking for libjpeg version = 6b" >&5
+ cat > conftest.$ac_ext <<EOF
diff --git a/www/amaya/files/patch-af b/www/amaya/files/patch-af
new file mode 100644
index 000000000000..921d246b79b3
--- /dev/null
+++ b/www/amaya/files/patch-af
@@ -0,0 +1,11 @@
+--- ../amaya/Makefile.libwww.orig Fri Sep 15 23:24:40 2000
++++ ../amaya/Makefile.libwww Mon Mar 19 22:20:31 2001
+@@ -50,7 +50,7 @@
+ -I$(THOTDIR)../libwww/modules/expat/xmltok
+
+ # this dependency calls the ../Makefile rule that compiles libwww
+-AMAYA_LIBWWW_SRC= ../libz.a amaya_comp_libwww
++AMAYA_LIBWWW_SRC= amaya_comp_libwww
+
+ amaya_comp_libwww : force
+ @(cd .. ; $(MAKE) libwww)
diff --git a/www/amaya/pkg-plist b/www/amaya/pkg-plist
index 379ae13b2143..efa49c739da7 100644
--- a/www/amaya/pkg-plist
+++ b/www/amaya/pkg-plist
@@ -184,8 +184,8 @@ Amaya/doc/Icons/table.gif
Amaya/doc/Icons/target.gif
Amaya/doc/Icons/ui.gif
Amaya/doc/Icons/up.gif
-Amaya/doc/Icons/warning.gif
Amaya/doc/Icons/w3c-amaya.gif
+Amaya/doc/Icons/warning.gif
Amaya/doc/amaya/Access.html
Amaya/doc/amaya/Access.html.fr
Amaya/doc/amaya/Annotations.html