mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
15b6544926
plugins support one of web browsers and can take care of plist (depend on how you use it) at the same time. I have written a complete document and even show how it works in the www/firefox/Makefile.webplugins so be sure to read in there. If there is anything that isn't clear in the document, please feel free to ask and I will try my best to improvement it. FYI: GNOME 2.24 depends on this, so it's coming. BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified. Approved by: portmgr
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# Ports collection Makefile for: galeon
|
|
# Date created: 1 August 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports-stable/www/galeon/Makefile,v 1.6 2008/11/16 20:00:21 marcus Exp $
|
|
#
|
|
|
|
PORTNAME= galeon
|
|
PORTVERSION= 2.0.7
|
|
CATEGORIES= www gnome
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A GNOME 2 Web browser based on gecko (the Mozilla rendering engine)
|
|
|
|
USE_GECKO= firefox mozilla seamonkey xulrunner
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/2$//}-${PORTVERSION:S/a$//}
|
|
USE_BZIP2= yes
|
|
INSTALLS_OMF= yes
|
|
USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils \
|
|
gnomedesktop
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
CONFIGURE_ARGS= --enable-nautilus-view=no \
|
|
--with-mozilla=${GECKO}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
MAN1= galeon.1
|
|
GCONF_SCHEMAS= galeon.schemas
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
|
|
|
# Galeon does not build correctly in -CURRENT if -Werror is passed
|
|
# to the compiler.
|
|
NO_WERROR= yes
|
|
|
|
# allow build with more warnings enabled
|
|
.if defined(NO_WERROR)
|
|
CONFIGURE_ARGS+= --disable-werror
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
|
@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|malloc\.h|stdlib.h|g'
|
|
@${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
|
|
${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${LOCALBASE}/lib/browser_plugins/symlinks/gecko18|' \
|
|
${WRKSRC}/mozilla/mozilla-embed-shell.cpp
|
|
|
|
.include <bsd.port.post.mk>
|