aboutsummaryrefslogtreecommitdiff
path: root/www/mozplugger
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-25 23:43:01 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-25 23:43:01 +0000
commit2cf0da8d8d91025ecad3ea9e1531ac173ba27404 (patch)
tree02f9ecb43ea571ff35f1d95cd36d9c393daba5a2 /www/mozplugger
parent4f1ed115de6e65cdefeb3b170fb8e60ad3a14717 (diff)
downloadports-2cf0da8d8d91025ecad3ea9e1531ac173ba27404.tar.gz
ports-2cf0da8d8d91025ecad3ea9e1531ac173ba27404.zip
- Add LICENSE
- Strip binaries - Simplify pkg-message handling
Notes
Notes: svn path=/head/; revision=404493
Diffstat (limited to 'www/mozplugger')
-rw-r--r--www/mozplugger/Makefile9
-rw-r--r--www/mozplugger/pkg-message (renamed from www/mozplugger/files/pkg-message.in)0
2 files changed, 8 insertions, 1 deletions
diff --git a/www/mozplugger/Makefile b/www/mozplugger/Makefile
index 0a56ca0e59e9..b6abe5be49d6 100644
--- a/www/mozplugger/Makefile
+++ b/www/mozplugger/Makefile
@@ -3,16 +3,19 @@
PORTNAME= mozplugger
PORTVERSION= 2.1.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://mozplugger.mozdev.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Framework for loading web content in external viewers
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
USE_XORG= x11 xt
USES= desthack gmake webplugin:native
-SUB_FILES= pkg-message
WEBPLUGIN_FILES=mozplugger.so
MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGIN_DIR}"
@@ -22,4 +25,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \
${WRKSRC}/mozplugger.c
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mozplugger-*
+ @${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/*.so
+
.include <bsd.port.mk>
diff --git a/www/mozplugger/files/pkg-message.in b/www/mozplugger/pkg-message
index 797fd5dff844..797fd5dff844 100644
--- a/www/mozplugger/files/pkg-message.in
+++ b/www/mozplugger/pkg-message