freebsd-ports/www/mozplugger/Makefile

37 lines
751 B
Makefile

# Created by: Loren M. Lang <loren@north-winds.org>
# $FreeBSD$
PORTNAME= mozplugger
PORTVERSION= 2.1.3
CATEGORIES= www
MASTER_SITES= http://www.ringofsaturn.com/distfiles/
MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= Framework for loading web content in external viewers
GNU_CONFIGURE= yes
USE_XORG= x11 xt
USE_GMAKE= yes
MAN7= mozplugger.7
SUB_FILES= pkg-message
USE_WEBPLUGINS= native
WEBPLUGINS_FILES=mozplugger.so
MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGINS_DIR}"
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
post-patch:
@${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \
${WRKSRC}/mozplugger.c
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.post.mk>