2000-08-01 09:05:58 +00:00
|
|
|
# Ports collection Makefile for: galeon
|
|
|
|
# Date created: 1 August 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-01-10 02:45:46 +00:00
|
|
|
# $MCom: ports-stable/www/galeon/Makefile,v 1.6 2008/11/16 20:00:21 marcus Exp $
|
2000-08-01 09:05:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= galeon
|
2009-01-10 02:45:46 +00:00
|
|
|
PORTVERSION= 2.0.7
|
2000-08-01 09:05:58 +00:00
|
|
|
CATEGORIES= www gnome
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF
|
2004-11-09 23:44:00 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
|
2000-08-01 09:05:58 +00:00
|
|
|
|
2005-07-20 17:19:48 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-11-09 23:44:00 +00:00
|
|
|
COMMENT= A GNOME 2 Web browser based on gecko (the Mozilla rendering engine)
|
2003-06-12 18:06:49 +00:00
|
|
|
|
2008-08-06 16:26:18 +00:00
|
|
|
USE_GECKO= firefox mozilla seamonkey xulrunner
|
2004-11-09 23:44:00 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/2$//}-${PORTVERSION:S/a$//}
|
|
|
|
USE_BZIP2= yes
|
2004-11-23 02:23:08 +00:00
|
|
|
INSTALLS_OMF= yes
|
2005-03-17 10:59:28 +00:00
|
|
|
USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils \
|
|
|
|
gnomedesktop
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-04-04 07:07:47 +00:00
|
|
|
USE_GMAKE= yes
|
2006-04-30 20:54:46 +00:00
|
|
|
USE_GETTEXT= yes
|
2008-08-06 16:26:18 +00:00
|
|
|
CONFIGURE_ARGS= --enable-nautilus-view=no \
|
|
|
|
--with-mozilla=${GECKO}
|
2007-10-24 23:37:25 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2002-04-12 17:10:20 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2001-07-05 07:33:46 +00:00
|
|
|
|
|
|
|
MAN1= galeon.1
|
2004-11-23 19:33:08 +00:00
|
|
|
GCONF_SCHEMAS= galeon.schemas
|
2000-08-01 09:05:58 +00:00
|
|
|
|
2002-06-16 19:03:10 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-10-24 23:37:25 +00:00
|
|
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
2002-06-16 19:03:10 +00:00
|
|
|
|
2004-11-09 23:44:00 +00:00
|
|
|
# Galeon does not build correctly in -CURRENT if -Werror is passed
|
|
|
|
# to the compiler.
|
2003-04-05 09:09:16 +00:00
|
|
|
NO_WERROR= yes
|
2007-10-04 06:21:46 +00:00
|
|
|
|
2003-04-05 09:09:16 +00:00
|
|
|
# allow build with more warnings enabled
|
|
|
|
.if defined(NO_WERROR)
|
2002-06-16 19:03:10 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-werror
|
|
|
|
.endif
|
|
|
|
|
2002-07-17 05:42:29 +00:00
|
|
|
post-patch:
|
2004-11-09 23:44:00 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
2002-09-15 22:50:10 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib.h|g'
|
2004-11-09 23:44:00 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
|
|
|
|
${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
|
2009-01-10 02:45:46 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${LOCALBASE}/lib/browser_plugins/symlinks/gecko18|' \
|
2005-11-29 21:37:45 +00:00
|
|
|
${WRKSRC}/mozilla/mozilla-embed-shell.cpp
|
2001-08-27 10:43:11 +00:00
|
|
|
|
2002-06-16 19:03:10 +00:00
|
|
|
.include <bsd.port.post.mk>
|