diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile index 34a9971b2520..867f6aa0a9b1 100644 --- a/www/netsurf/Makefile +++ b/www/netsurf/Makefile @@ -1,80 +1,83 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= netsurf PORTVERSION= 3.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= http://download.netsurf-browser.org/netsurf/releases/source-full/ DISTNAME= ${PORTNAME}-${PORTVERSION}-full-src MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight web browser LICENSE= GPLv2 MIT LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png ALL_TARGET= #empty CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lssl -lcrypto -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_ARGS= HOST_CC="${CC}" CC="${CC}" CCOPT="" HOST="${OPSYS}" \ WARNFLAGS="" Q="" OPTCFLAGS="${CFLAGS}" USES= bison gmake gperf pkgconfig iconv USE_GNOME= gtk20 librsvg2 NSFB_VERSION= 0.1.0 WRKSRC= ${WRKDIR}/${PORTNAME}-full-${PORTVERSION} DESKTOP_ENTRIES="NetSurf" "${COMMENT}" "${DATADIR}/${PORTNAME}.xpm" \ - "${PORTNAME}" "" "true" + "${PORTNAME}" "" true OPTIONS_DEFINE= GSTREAMER WEBP GSTREAMER_USE= GSTREAMER=yes WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp .include .if ${OPSYS} == DragonFly LIB_DEPENDS+= libssl.so:${PORTSDIR}/security/openssl .endif .include post-patch: @${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile @${REINPLACE_CMD} 's|endian|sys/endian|' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c @${REINPLACE_CMD} '/CFLAGS/d' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.defaults @${REINPLACE_CMD} 's| -O2||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults @${REINPLACE_CMD} \ -e '/OpenSSL/d' -e '/lcms/d' -e 's| -g||' \ -e 's/-DG_DISABLE_DEPRECATED//' \ -e 's/-DGDK_PIXBUF_DISABLE_DEPRECATED//' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target @${REINPLACE_CMD} -e 's| -g|| ; s|flex|${LOCALBASE}/bin/&|' \ ${WRKSRC}/src/nsgenbind-0.0.1/src/Makefile do-configure: @${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} .if empty(ICONV_LIB) @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ - ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config + ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif .if ${PORT_OPTIONS:MGSTREAMER} @${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif .if ${PORT_OPTIONS:MWEBP} @${REINPLACE_CMD} '/NETSURF_USE_WEBP/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/netsurf + .include diff --git a/www/netsurf/pkg-plist b/www/netsurf/pkg-plist index 10ed2133582f..f529c96bc5ef 100644 --- a/www/netsurf/pkg-plist +++ b/www/netsurf/pkg-plist @@ -1,110 +1,99 @@ bin/netsurf share/netsurf/SearchEngines share/netsurf/adblock.css share/netsurf/arrow_down_8x32.png share/netsurf/ca-bundle.txt share/netsurf/cookies.gtk2.ui share/netsurf/cookies.gtk3.ui share/netsurf/de/Messages share/netsurf/de/welcome.html share/netsurf/default.css share/netsurf/default.ico share/netsurf/downloads.gtk2.ui share/netsurf/downloads.gtk3.ui share/netsurf/en/Messages share/netsurf/en/credits.html share/netsurf/en/licence.html share/netsurf/en/welcome.html share/netsurf/favicon.png share/netsurf/fr/Messages share/netsurf/gtkdefault.css share/netsurf/history.gtk2.ui share/netsurf/history.gtk3.ui share/netsurf/hotlist.gtk2.ui share/netsurf/hotlist.gtk3.ui share/netsurf/icons/content.png share/netsurf/icons/directory.png share/netsurf/icons/search.png share/netsurf/internal.css share/netsurf/it/Messages share/netsurf/it/credits.html share/netsurf/it/licence.html share/netsurf/it/welcome.html share/netsurf/ja/welcome.html share/netsurf/languages share/netsurf/license share/netsurf/login.gtk2.ui share/netsurf/login.gtk3.ui share/netsurf/netsurf-16x16.xpm share/netsurf/netsurf.gtk2.ui share/netsurf/netsurf.gtk3.ui share/netsurf/netsurf.png share/netsurf/netsurf.xpm share/netsurf/nl/Messages share/netsurf/options.gtk2.ui share/netsurf/options.gtk3.ui share/netsurf/password.gtk2.ui share/netsurf/password.gtk3.ui share/netsurf/quirks.css share/netsurf/source.gtk2.ui share/netsurf/source.gtk3.ui share/netsurf/ssl.gtk2.ui share/netsurf/ssl.gtk3.ui share/netsurf/tabcontents.gtk2.ui share/netsurf/tabcontents.gtk3.ui share/netsurf/themelist share/netsurf/themes/Alpha.png share/netsurf/themes/gtk+/back.png share/netsurf/themes/gtk+/closetab.png share/netsurf/themes/gtk+/closewindow.png share/netsurf/themes/gtk+/copy.png share/netsurf/themes/gtk+/cut.png share/netsurf/themes/gtk+/delete.png share/netsurf/themes/gtk+/forward.png share/netsurf/themes/gtk+/fullscreen.png share/netsurf/themes/gtk+/helpabout.png share/netsurf/themes/gtk+/helpcontents.png share/netsurf/themes/gtk+/history.png share/netsurf/themes/gtk+/home.png share/netsurf/themes/gtk+/info share/netsurf/themes/gtk+/newtab.png share/netsurf/themes/gtk+/newwindow.png share/netsurf/themes/gtk+/openfile.png share/netsurf/themes/gtk+/paste.png share/netsurf/themes/gtk+/preferences.png share/netsurf/themes/gtk+/print.png share/netsurf/themes/gtk+/printpreview.png share/netsurf/themes/gtk+/quit.png share/netsurf/themes/gtk+/reload.png share/netsurf/themes/gtk+/savepage.png share/netsurf/themes/gtk+/selectall.png share/netsurf/themes/gtk+/stop.png share/netsurf/themes/gtk+/viewsource.png share/netsurf/themes/gtk+/zoomminus.png share/netsurf/themes/gtk+/zoomnormal.png share/netsurf/themes/gtk+/zoomplus.png share/netsurf/throbber/throbber0.png share/netsurf/throbber/throbber1.png share/netsurf/throbber/throbber2.png share/netsurf/throbber/throbber3.png share/netsurf/throbber/throbber4.png share/netsurf/throbber/throbber5.png share/netsurf/throbber/throbber6.png share/netsurf/throbber/throbber7.png share/netsurf/throbber/throbber8.png share/netsurf/toolbar.gtk2.ui share/netsurf/toolbar.gtk3.ui share/netsurf/toolbarIndices share/netsurf/warning.gtk2.ui share/netsurf/warning.gtk3.ui -@dirrm share/netsurf/throbber -@dirrm share/netsurf/themes/gtk+ -@dirrm share/netsurf/themes -@dirrm share/netsurf/nl -@dirrm share/netsurf/ja -@dirrm share/netsurf/it -@dirrm share/netsurf/icons -@dirrm share/netsurf/fr -@dirrm share/netsurf/en -@dirrm share/netsurf/de -@dirrm share/netsurf