73ca9e7230
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke ld via $PATH. Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE is active to use ld.bfd for these ports. Approved by: portmgr (antoine) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14876
32 lines
738 B
Makefile
32 lines
738 B
Makefile
# Created by: Loren M. Lang <loren@north-winds.org>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
USES= desthack gmake webplugin:native
|
|
USE_XORG= x11 xt
|
|
LLD_UNSAFE= yes
|
|
|
|
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 <bsd.port.mk>
|