1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/www/amaya/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

81 lines
1.9 KiB
Makefile

# New ports collection makefile for: amaya
# Date created: 26 Dec 1998
# Whom: Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#
PORTNAME= amaya
PORTVERSION= 9.55
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.w3.org/Amaya/Distribution/ \
ftp://ftp.w3.org/pub/amaya/ \
http://ftp.uni-koeln.de/www/amaya/ \
http://public.planetmirror.com/pub/amaya/ \
ftp://ftp.uni-koeln.de/WWW/amaya/ \
http://gd.tuwien.ac.at/infosys/browsers/amaya/ \
http://ftp.ntua.gr/pub/www/W3C/amaya/ \
ftp://ftp.ntua.gr/pub/www/W3C/amaya/ \
ftp://nic.funet.fi/index/WWW/W3/amaya/ \
http://www.nic.funet.fi/index/WWW/W3/amaya/
DISTNAME= ${PORTNAME}-fullsrc-${PORTVERSION}-2
EXTRACT_SUFX= .tgz
MAINTAINER= adam-ports@blacktabby.org
COMMENT= The W3C's testbed web editor/browser
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/Amaya/obj
USE_XORG= xft x11 xt
USE_GMAKE= yes
USE_GNOME= gtk12 imlib
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS= --with-gtk
CONFIGURE_ARGS+= --prefix=/tmp/local
OPTIONS= BOOKMARKS "Enable bookmark support (experimental)" off \
OPENGL "Enable OpenGL support" off \
TEMPLATES "Enable template support (experimental)" off
DATADIR= ${PREFIX}/Amaya
.include <bsd.port.pre.mk>
.if defined(WITH_BOOKMARKS)
CONFIGURE_ARGS+= --enable-bookmarks
.else
CONFIGURE_ARGS+= --disable-bookmarks
.endif
.if defined(WITH_OPENGL)
LIB_DEPENDS+= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
USE_GL= yes
CONFIGURE_ARGS+= --with-gl
CONFIGURE_ENV+= LIBS="-lcompat"
PLIST_SUB+= GUI="gl"
.else
PLIST_SUB+= GUI="gtk"
.endif
.if defined(WITH_TEMPLATES)
CONFIGURE_ARGS+= --enable-templates
.else
CONFIGURE_ARGS+= --disable-templates
.endif
post-extract:
@${MKDIR} ${WRKSRC}
post-patch:
@${GREP} -lR "<malloc\.h>" ${WRKDIR} | \
${XARGS} ${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g'
.include <bsd.port.post.mk>