- Add LICENSE

- Strip binaries
- Simplify pkg-message handling
This commit is contained in:
Dmitry Marakasov 2015-12-25 23:43:01 +00:00
parent 4f1ed115de
commit 2cf0da8d8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404493
2 changed files with 8 additions and 1 deletions

View File

@ -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>