mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Uses shared png and jpeg libs
- Patches to install with right ownership and modes PR: 25872 Submitted by: tkato@prontomail.ne.jp
This commit is contained in:
parent
b60a49f408
commit
74464f8050
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40081
@ -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
|
||||
|
11
www/amaya/files/patch-ac
Normal file
11
www/amaya/files/patch-ac
Normal file
@ -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)
|
||||
|
22
www/amaya/files/patch-ad
Normal file
22
www/amaya/files/patch-ad
Normal file
@ -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@
|
||||
|
11
www/amaya/files/patch-ae
Normal file
11
www/amaya/files/patch-ae
Normal file
@ -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
|
11
www/amaya/files/patch-af
Normal file
11
www/amaya/files/patch-af
Normal file
@ -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)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user