svn commit: r404493 - in head/www/mozplugger: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Dec 25 23:43:03 UTC 2015
Author: amdmi3
Date: Fri Dec 25 23:43:01 2015
New Revision: 404493
URL: https://svnweb.freebsd.org/changeset/ports/404493
Log:
- Add LICENSE
- Strip binaries
- Simplify pkg-message handling
Added:
head/www/mozplugger/pkg-message
- copied unchanged from r404492, head/www/mozplugger/files/pkg-message.in
Deleted:
head/www/mozplugger/files/pkg-message.in
Modified:
head/www/mozplugger/Makefile
Modified: head/www/mozplugger/Makefile
==============================================================================
--- head/www/mozplugger/Makefile Fri Dec 25 23:42:58 2015 (r404492)
+++ head/www/mozplugger/Makefile Fri Dec 25 23:43:01 2015 (r404493)
@@ -3,16 +3,19 @@
PORTNAME= mozplugger
PORTVERSION= 2.1.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://mozplugger.mozdev.org/files/
MAINTAINER= ports at 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>
Copied: head/www/mozplugger/pkg-message (from r404492, head/www/mozplugger/files/pkg-message.in)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mozplugger/pkg-message Fri Dec 25 23:43:01 2015 (r404493, copy of r404492, head/www/mozplugger/files/pkg-message.in)
@@ -0,0 +1,11 @@
+This plugin needs external viewers before it can display any content.
+External viewers that are supported include:
+ Mplayer
+ Xine
+ Open Office
+ Timidity
+ XMMS
+ Adobe Acrobat Reader
+ Gnumeric
+ Abiword
+ and others...
More information about the svn-ports-head
mailing list