diff options
author | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-08-09 01:19:32 +0800 |
---|---|---|
committer | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-08-09 01:19:32 +0800 |
commit | 4b23f417c1d697210ffe18b5c5ecc92baea865cb (patch) | |
tree | fe7882f6a5bafe14456dae0f574f4c75acfd2ed4 | |
parent | 2407ceb182d73c9298779043b8a1d4d269ae2315 (diff) | |
download | marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar.gz marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar.bz2 marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar.lz marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar.xz marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.tar.zst marcuscom-ports-4b23f417c1d697210ffe18b5c5ecc92baea865cb.zip |
Make avahi mandatory, it is not possible to disable
it anymore [1].
Strip binaries by using install-strip instead of using
${STRIP_CMD}.
Use package names for {RUN|BUILD}_DEPENDS, which is more
compact.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19792 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | www/epiphany/Makefile | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index f1657d112..d46921bbc 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -11,7 +11,7 @@ DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Extremely lightweight and simple web browser for GNOME 3 -BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ +BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \ itstool:${PORTSDIR}/textproc/itstool \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ @@ -19,12 +19,13 @@ LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ libgcr-3.so:${PORTSDIR}/security/gcr \ libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \ libnss3.so:${PORTSDIR}/security/nss \ + libavahi-gobject.so:${PORTSDIR}/net/avahi-app \ libnotify.so:${PORTSDIR}/devel/libnotify \ libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring -RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ +RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \ gnome-icon-theme-symbolic>=0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic \ - ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme + gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme USES= desktop-file-utils gettext gmake pathfix \ pkgconfig tar:xz @@ -40,25 +41,15 @@ CONFIGURE_ARGS+=--enable-introspection \ # --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \ org.gnome.epiphany.gschema.xml PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R} -OPTIONS_DEFINE= AVAHI -OPTIONS_DEFAULT=AVAHI - -.include <bsd.port.options.mk> - CONFIGURE_ARGS+= --enable-compile-warnings=no -.if ${PORT_OPTIONS:MAVAHI} -LIB_DEPENDS+= libavahi-gobject.so:${PORTSDIR}/net/avahi-app -.else -CONFIGURE_ARGS+=--disable-zeroconf -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' @@ -66,7 +57,4 @@ post-patch: s|-ldl"$$|"|g' \ ${WRKSRC}/configure -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/epiphany/3.12/web-extensions/libephywebextension.so - .include <bsd.port.mk> |