aboutsummaryrefslogtreecommitdiffstats
path: root/www/netsurf
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-11 17:26:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-11 17:26:59 +0800
commit02357d65e1eff780538bc47e1f540433e04a2655 (patch)
tree84fe344c9604dfe53c60b108d3d00dd990f24aad /www/netsurf
parent3288817bb4b9118b1bbf61d81b0eab13f9816649 (diff)
downloadfreebsd-ports-gnome-02357d65e1eff780538bc47e1f540433e04a2655.tar.gz
freebsd-ports-gnome-02357d65e1eff780538bc47e1f540433e04a2655.tar.zst
freebsd-ports-gnome-02357d65e1eff780538bc47e1f540433e04a2655.zip
- Strip binary
- Pet portlint - Drop @dirrm* from plist
Diffstat (limited to 'www/netsurf')
-rw-r--r--www/netsurf/Makefile9
-rw-r--r--www/netsurf/pkg-plist11
2 files changed, 6 insertions, 14 deletions
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile
index 34a9971b2520..867f6aa0a9b1 100644
--- a/www/netsurf/Makefile
+++ b/www/netsurf/Makefile
@@ -3,7 +3,7 @@
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
@@ -31,7 +31,7 @@ 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
@@ -66,7 +66,7 @@ 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|' \
@@ -77,4 +77,7 @@ do-configure:
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/netsurf
+
.include <bsd.port.post.mk>
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
@@ -97,14 +97,3 @@ 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