2000-08-01 11:05:58 +02:00
|
|
|
# Ports collection Makefile for: galeon
|
|
|
|
# Date created: 1 August 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-29 22:37:45 +01:00
|
|
|
# $MCom: ports/www/galeon/Makefile,v 1.7 2005/11/28 17:45:54 ahze Exp $
|
2000-08-01 11:05:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= galeon
|
2005-11-29 22:37:45 +01:00
|
|
|
PORTVERSION= 2.0.0
|
2000-08-01 11:05:58 +02:00
|
|
|
CATEGORIES= www gnome
|
2004-11-10 00:44:00 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://osdn.dl.sourceforge.net/sourceforge/galeon/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
|
2000-08-01 11:05:58 +02:00
|
|
|
|
2005-07-20 19:19:48 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-11-10 00:44:00 +01:00
|
|
|
COMMENT= A GNOME 2 Web browser based on gecko (the Mozilla rendering engine)
|
2003-06-12 20:06:49 +02:00
|
|
|
|
2005-11-29 22:37:45 +01:00
|
|
|
USE_GECKO= firefox mozilla seamonkey
|
2004-11-10 00:44:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/2$//}-${PORTVERSION:S/a$//}
|
|
|
|
USE_BZIP2= yes
|
2000-08-01 11:05:58 +02:00
|
|
|
USE_X_PREFIX= yes
|
2004-11-23 03:23:08 +01:00
|
|
|
INSTALLS_OMF= yes
|
2005-03-17 11:59:28 +01:00
|
|
|
USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils \
|
|
|
|
gnomedesktop
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-04-04 09:07:47 +02:00
|
|
|
USE_GMAKE= yes
|
2002-07-17 07:42:29 +02:00
|
|
|
USE_REINPLACE= yes
|
2005-03-14 03:31:37 +01:00
|
|
|
CONFIGURE_ARGS= --enable-nautilus-view=no \
|
2005-11-29 22:37:45 +01:00
|
|
|
--with-mozilla=${GECKO}
|
2003-04-20 06:08:54 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
2002-04-12 19:10:20 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2001-07-05 09:33:46 +02:00
|
|
|
|
|
|
|
MAN1= galeon.1
|
2004-11-23 20:33:08 +01:00
|
|
|
GCONF_SCHEMAS= galeon.schemas
|
2000-08-01 11:05:58 +02:00
|
|
|
|
2002-06-16 21:03:10 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-11-29 22:37:45 +01:00
|
|
|
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
|
2002-06-16 21:03:10 +02:00
|
|
|
|
2004-11-10 00:44:00 +01:00
|
|
|
.if ${OSVERSION} > 500000
|
|
|
|
# Galeon does not build correctly in -CURRENT if -Werror is passed
|
|
|
|
# to the compiler.
|
2003-04-05 11:09:16 +02:00
|
|
|
NO_WERROR= yes
|
2004-11-10 00:44:00 +01:00
|
|
|
.endif
|
2003-04-05 11:09:16 +02:00
|
|
|
# allow build with more warnings enabled
|
|
|
|
.if defined(NO_WERROR)
|
2002-06-16 21:03:10 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-werror
|
|
|
|
.endif
|
|
|
|
|
2002-07-17 07:42:29 +02:00
|
|
|
post-patch:
|
2004-11-10 00:44:00 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
2002-09-16 00:50:10 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib.h|g'
|
2004-11-10 00:44:00 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
|
|
|
|
${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
|
2005-11-29 22:37:45 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${X11BASE}/lib/browser_plugins:${X11BASE}/lib/browser_linux_plugins|' \
|
|
|
|
${WRKSRC}/mozilla/mozilla-embed-shell.cpp
|
2001-08-27 12:43:11 +02:00
|
|
|
|
2002-06-16 21:03:10 +02:00
|
|
|
.include <bsd.port.post.mk>
|