# Ports collection Makefile for: epiphany # Date created: 24 April 2003 # Whom: Joe Marcus Clarke # # $FreeBSD$ # $MCom: ports/www/epiphany/Makefile,v 1.100 2006/02/25 00:25:56 marcus Exp $ # PORTNAME= epiphany PORTVERSION= 1.9.8 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.9 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= An extremely lightweight and simple web browser for GNOME 2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= dbus-1.2:${PORTSDIR}/devel/dbus RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes USE_GETTEXT= yes USE_BZIP2= yes USE_X_PREFIX= yes GNOME_DESKTOP_VERSION=2 USE_GECKO= firefox mozilla seamonkey USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop desktopfileutils \ libgnomeprintui GNU_CONFIGURE= yes USE_GMAKE= yes INSTALLS_OMF= yes CONFIGURE_ARGS= --with-mozilla=${GECKO} \ --disable-python CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas \ epiphany-fonts.schemas #PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/\.[0-9]+$//}" PLIST_SUB+= EPHY_VERSION="1.9" MAN1= epiphany.1 .include .include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" NO_WERROR= yes # allow build with more warnings enabled .if defined(NO_WERROR) CONFIGURE_ARGS+= --enable-compile-warnings=no .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' @${REINPLACE_CMD} -e 's|execinfo.h|#|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins" ":" MOZILLA_PREFIX "/lib/browser_linux_plugins"|' \ ${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp post-install: ${INSTALL_DATA} ${WRKSRC}/data/epiphany-fonts.schemas \ ${PREFIX}/etc/gconf/schemas @-update-desktop-database .include