# Created by: Loren M. Lang # $FreeBSD: head/www/mozplugger/Makefile 412079 2016-03-29 00:24:53Z amdmi3 $ PORTNAME= mozplugger PORTVERSION= 2.1.6 CATEGORIES= www MASTER_SITES= http://mozplugger.mozdev.org/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Framework for loading web content in external viewers LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USE_XORG= x11 xt USES= desthack gmake webplugin:native WEBPLUGIN_FILES=mozplugger.so MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGIN_DIR}" MAKE_ARGS= root=${STAGEDIR} 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