2003-04-24 06:31:41 +00:00
|
|
|
# Ports collection Makefile for: epiphany
|
|
|
|
# Date created: 24 April 2003
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-05 04:53:48 +00:00
|
|
|
# $MCom: ports/www/epiphany/Makefile,v 1.84 2005/10/02 23:28:19 marcus Exp $
|
2003-04-24 06:31:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= epiphany
|
2005-11-27 23:20:33 +00:00
|
|
|
PORTVERSION= 1.8.3
|
2003-04-24 06:31:41 +00:00
|
|
|
CATEGORIES= www gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2005-11-05 04:53:48 +00:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.8
|
2003-04-24 06:31:41 +00:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= An extremely lightweight and simple web browser for GNOME 2
|
|
|
|
|
2005-11-05 04:53:48 +00:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
|
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
|
2003-04-24 06:31:41 +00:00
|
|
|
|
GTK2 mozilla is now the default, and GTK1 support will be built only if explicitly
requested.
This means that mozilla-gtk2 and mozilla-devel-gtk2 are now mozilla and
mozilla-devel, respectively; and the old mozilla and mozilla-devel are now
mozilla-gtk1 and mozilla-devel-gtk1.
This is done for a whole plethora of reasons, and should please everybody
except galeon1 fanatics and uhm... anybody else who it doesn't please.
If you have WITH_MOZILLA set in your /etc/make.conf, you'll need to update
the value accordingly. GTK2 ports will automatically install GTK2 mozilla,
and GTK1 ports will automatically install GTK1 ports, so WITH_MOZILLA need
be defined only if you want the development version... which are dormant
right now anyway.
For now, all ports that honoured WITH_MOZILLA=mozilla-{,-devel}-gtk2 will
still honour those values as well as WITH_MOZILLA=mozilla{,-devel}, but
future ports reserve the right to ignore the *-gtk2 values.
2004-02-18 03:50:38 +00:00
|
|
|
MOZILLA= mozilla
|
2003-04-24 06:31:41 +00:00
|
|
|
HEADERS_SUFX=
|
2005-03-16 07:46:49 +00:00
|
|
|
MOZ_BUILD= mozilla
|
2003-04-24 06:31:41 +00:00
|
|
|
|
|
|
|
.if !defined(WITH_MOZILLA)
|
2005-03-14 03:41:22 +00:00
|
|
|
MOZILLA= firefox
|
2005-11-05 04:53:48 +00:00
|
|
|
HEADERS_SUFX=
|
2005-03-16 07:46:49 +00:00
|
|
|
MOZ_BUILD= firefox
|
2005-03-14 03:41:22 +00:00
|
|
|
.else
|
2005-11-05 04:53:48 +00:00
|
|
|
.if ${WITH_MOZILLA}=="mozilla"
|
|
|
|
MOZILLA= mozilla
|
|
|
|
MOZ_BUILD= mozilla
|
|
|
|
.else
|
2004-04-05 03:11:39 +00:00
|
|
|
.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
|
2004-02-27 07:18:50 +00:00
|
|
|
MOZILLA= mozilla-devel
|
2003-04-24 06:31:41 +00:00
|
|
|
HEADERS_SUFX= -devel
|
|
|
|
.else
|
2005-11-05 04:53:48 +00:00
|
|
|
MOZILLA= firefox
|
2003-04-24 06:31:41 +00:00
|
|
|
HEADERS_SUFX=
|
2005-11-05 04:53:48 +00:00
|
|
|
MOZ_BUILD= firefox
|
2003-04-24 06:31:41 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
2005-03-14 03:41:22 +00:00
|
|
|
.endif
|
2003-04-24 06:31:41 +00:00
|
|
|
|
2003-08-04 20:48:48 +00:00
|
|
|
USE_BZIP2= yes
|
2003-04-24 06:31:41 +00:00
|
|
|
USE_X_PREFIX= yes
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 10:39:38 +00:00
|
|
|
GNOME_DESKTOP_VERSION=2
|
2005-11-05 04:53:48 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop desktopfileutils \
|
|
|
|
libgnomeprintui
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-04-24 06:31:41 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_REINPLACE= yes
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 10:39:38 +00:00
|
|
|
INSTALLS_OMF= yes
|
2005-11-05 04:53:48 +00:00
|
|
|
CONFIGURE_ARGS= --with-mozilla=${MOZ_BUILD} \
|
|
|
|
--disable-python
|
2003-04-24 06:31:41 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
|
2004-11-07 22:24:32 +00:00
|
|
|
GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas
|
|
|
|
|
2003-04-24 06:31:41 +00:00
|
|
|
FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
|
2004-04-05 03:11:39 +00:00
|
|
|
PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/\.[0-9]+$//}"
|
|
|
|
|
2004-11-15 04:45:02 +00:00
|
|
|
MAN1= epiphany.1
|
|
|
|
|
2003-04-24 06:31:41 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
NO_WERROR= yes
|
|
|
|
# allow build with more warnings enabled
|
|
|
|
.if defined(NO_WERROR)
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 10:39:38 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-compile-warnings=no
|
2003-04-24 06:31:41 +00:00
|
|
|
.endif
|
|
|
|
|
2005-01-22 00:05:52 +00:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
.if ${MOZILLA}=="mozilla-devel"
|
|
|
|
USE_GCC= 3.4
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2003-04-24 06:31:41 +00:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} ""
|
2005-11-05 04:53:48 +00:00
|
|
|
@${ECHO_MSG} " By default epiphany uses www/firefox for html rendering, but you can"
|
2003-04-24 06:31:41 +00:00
|
|
|
@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
|
|
|
|
@${ECHO_MSG}
|
2005-11-05 04:53:48 +00:00
|
|
|
@${ECHO_MSG} " mozilla "
|
GTK2 mozilla is now the default, and GTK1 support will be built only if explicitly
requested.
This means that mozilla-gtk2 and mozilla-devel-gtk2 are now mozilla and
mozilla-devel, respectively; and the old mozilla and mozilla-devel are now
mozilla-gtk1 and mozilla-devel-gtk1.
This is done for a whole plethora of reasons, and should please everybody
except galeon1 fanatics and uhm... anybody else who it doesn't please.
If you have WITH_MOZILLA set in your /etc/make.conf, you'll need to update
the value accordingly. GTK2 ports will automatically install GTK2 mozilla,
and GTK1 ports will automatically install GTK1 ports, so WITH_MOZILLA need
be defined only if you want the development version... which are dormant
right now anyway.
For now, all ports that honoured WITH_MOZILLA=mozilla-{,-devel}-gtk2 will
still honour those values as well as WITH_MOZILLA=mozilla{,-devel}, but
future ports reserve the right to ignore the *-gtk2 values.
2004-02-18 03:50:38 +00:00
|
|
|
@${ECHO_MSG} " mozilla-devel "
|
2003-04-24 06:31:41 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
|
|
|
post-patch:
|
2005-11-05 04:53:48 +00:00
|
|
|
.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="mozilla-devel"
|
|
|
|
@${REINPLACE_CMD} -e 's|xmozilla|xmozilla${HEADERS_SUFX}|g; \
|
|
|
|
s|mozilla)|mozilla${HEADERS_SUFX})|g; \
|
|
|
|
s|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g; \
|
|
|
|
s|mozilla-xpcom|mozilla-xpcom${HEADERS_SUFX}|g; \
|
|
|
|
s|$$MOZILLA-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g; \
|
|
|
|
s|$$MOZILLA-xpcom|mozilla-xpcom${HEADERS_SUFX}|g' \
|
2004-11-07 22:24:32 +00:00
|
|
|
${WRKSRC}/configure
|
2005-11-05 04:53:48 +00:00
|
|
|
.endif
|
2003-08-04 20:48:48 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
2003-04-24 06:31:41 +00:00
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
2005-11-13 22:06:55 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
|
|
|
|
${WRKSRC}/configure
|
2003-04-24 06:31:41 +00:00
|
|
|
|
2003-05-04 02:12:52 +00:00
|
|
|
post-configure:
|
2004-11-07 22:24:32 +00:00
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
2003-04-24 06:31:41 +00:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
|
|
s|%%X11BASE%%|${X11BASE}|g ; \
|
|
|
|
s|%%MOZILLA%%|${MOZILLA}|g ; \
|
2004-11-07 22:24:32 +00:00
|
|
|
s|%%FLASHPLAYER%%|${FLASHPLAYER}|g' <${FILESDIR}/epiphany \
|
|
|
|
> ${WRKDIR}/epiphany
|
2003-05-04 02:12:52 +00:00
|
|
|
|
2004-11-07 22:24:32 +00:00
|
|
|
post-install:
|
2005-02-10 00:07:39 +00:00
|
|
|
@${MV} -f ${PREFIX}/bin/epiphany ${PREFIX}/bin/epiphany-bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/epiphany ${PREFIX}/bin
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 10:39:38 +00:00
|
|
|
@-update-desktop-database
|
2004-11-07 22:24:32 +00:00
|
|
|
|
2003-04-24 06:31:41 +00:00
|
|
|
.include <bsd.port.post.mk>
|