head	1.31;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.24
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.19
	old_RELEASE_8_0_0:1.15
	old_RELEASE_7_2_0:1.13
	old_RELEASE_7_1_0:1.9
	old_RELEASE_6_4_0:1.9
	old_RELEASE_5_EOL:1.7
	old_RELEASE_7_0_0:1.5
	old_RELEASE_6_3_0:1.5
	old_PRE_XORG_7:1.2;
locks; strict;
comment	@# @;


1.31
date	2013.03.20.00.40.30;	author svnexp;	state dead;
branches;
next	1.30;

1.30
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2011.05.23.22.50.19;	author jkim;	state Exp;
branches;
next	1.28;

1.28
date	2011.04.26.18.56.14;	author jkim;	state Exp;
branches;
next	1.27;

1.27
date	2011.03.31.17.10.11;	author jkim;	state Exp;
branches;
next	1.26;

1.26
date	2011.03.29.16.46.53;	author jkim;	state Exp;
branches;
next	1.25;

1.25
date	2011.02.25.08.52.29;	author netchild;	state Exp;
branches;
next	1.24;

1.24
date	2010.11.25.00.36.57;	author jkim;	state Exp;
branches;
next	1.23;

1.23
date	2010.08.23.21.52.39;	author jkim;	state Exp;
branches;
next	1.22;

1.22
date	2010.04.03.10.44.34;	author roam;	state Exp;
branches;
next	1.21;

1.21
date	2010.03.28.06.44.57;	author dinoex;	state Exp;
branches;
next	1.20;

1.20
date	2010.03.05.20.39.01;	author jkim;	state Exp;
branches;
next	1.19;

1.19
date	2010.02.05.11.45.01;	author dinoex;	state Exp;
branches;
next	1.18;

1.18
date	2010.01.26.17.38.23;	author jkim;	state Exp;
branches;
next	1.17;

1.17
date	2009.12.08.19.40.21;	author jkim;	state Exp;
branches;
next	1.16;

1.16
date	2009.12.07.18.02.18;	author jkim;	state Exp;
branches;
next	1.15;

1.15
date	2009.08.06.15.59.17;	author bsam;	state Exp;
branches;
next	1.14;

1.14
date	2009.07.31.13.56.31;	author dinoex;	state Exp;
branches;
next	1.13;

1.13
date	2009.03.19.17.28.49;	author bsam;	state Exp;
branches;
next	1.12;

1.12
date	2009.01.23.15.43.14;	author roam;	state Exp;
branches;
next	1.11;

1.11
date	2009.01.09.08.31.00;	author beech;	state Exp;
branches;
next	1.10;

1.10
date	2009.01.08.19.19.24;	author beech;	state Exp;
branches;
next	1.9;

1.9
date	2008.07.04.09.37.02;	author gahr;	state Exp;
branches;
next	1.8;

1.8
date	2008.06.06.14.07.04;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2008.04.19.17.54.11;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2008.03.07.21.47.34;	author flz;	state Exp;
branches;
next	1.5;

1.5
date	2007.09.01.23.15.12;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2007.06.06.02.04.00;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2007.05.19.20.25.16;	author flz;	state Exp;
branches;
next	1.2;

1.2
date	2007.04.06.05.00.44;	author rafan;	state Exp;
branches;
next	1.1;

1.1
date	2007.04.04.17.05.46;	author rafan;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314680
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for: nspluginwrapper
# Date created:         30 March 2007
# Whom:                 Dave Grochowski
#
# $FreeBSD: head/www/nspluginwrapper-devel/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	nspluginwrapper
PORTVERSION=	1.3.2
CATEGORIES=	www linux emulators
MASTER_SITES=	http://web.mit.edu/davidben/Public/nspluginwrapper/ \
		LOCAL/jkim:binfile
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${BINFILE}:binfile

MAINTAINER=	jkim@@FreeBSD.org
COMMENT=	A compatibility plugin for Mozilla NPAPI (development version)

IGNORE=		is now older than www/nspluginwrapper

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl

LATEST_LINK=	${PORTNAME}-devel

CONFLICTS=	nspluginwrapper-1.[24].*

BINBUILD=	1
BINFILE=	${PORTNAME}-i386-${PORTVERSION}-${BINBUILD}${EXTRACT_SUFX}

ONLY_FOR_ARCHS=	i386 amd64

USE_LINUX=	yes
USE_LINUX_APPS=	gtk2
USE_XORG=	x11 xext xt
USE_GNOME=	glib20 gtk20 pkgconfig

CFLAGS+=	-std=c99

USE_LDCONFIG=	yes
USE_GMAKE=	yes
HAS_CONFIGURE=	yes

CONFIGURE_ARGS=	--enable-generic --enable-strip --prefix=${PREFIX} \
		--target-os=linux --target-cpu=i386 \
		--with-cc=${CC} --with-cxx=${CXX}

LIBDIR=		${PREFIX}/lib/${PORTNAME}

PLIST_SUB=	LIBDIR="${LIBDIR:C/^${PREFIX}\///}" HOST_ARCH="${HOST_ARCH}"

SUB_FILES=	npviewer
SUB_LIST+=	NSPLUGINWRAPPER="${LIBDIR}"

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
HOST_ARCH=	x86_64
.else
HOST_ARCH=	${ARCH}
.endif

post-patch:
	${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
	    ${WRKSRC}/src/npw-config.c

post-install:
	${MKDIR} ${LIBDIR}/i386/linux
	${INSTALL_PROGRAM} ${WRKDIR}/usr/lib/nspluginwrapper/i386/linux/*.bin \
	    ${WRKDIR}/usr/lib/nspluginwrapper/i386/linux/*.so \
	    ${LIBDIR}/i386/linux/
	${INSTALL_SCRIPT} ${WRKDIR}/npviewer ${LIBDIR}/i386/linux/
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.30
log
@Switch exporter over
@
text
@@


1.29
log
@- Update nspluginwrapper to 1.4.0 and assume maintainership. [1]
- Deprecate nspluginwrapper-devel, which is now older than nspluginwrapper.

Approved by:	Dave Grochowski (malus.x@@gmail.com) [1]
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.28
log
@- Update to 1.3.2 and remove obsolete local patches.
- Replace the defunct URL with a new upstream location.  Now this project has
a new maintainer:

https://www.redhat.com/archives/nspluginwrapper-devel-list/2011-April/msg00003.html

For more information about this release, please see the following thread:

https://www.redhat.com/archives/nspluginwrapper-devel-list/2011-April/msg00006.html

Prodded by:	Benjamin Kaduk (kaduk at MIT dot EDU), arundel
@
text
@d18 2
d24 1
a24 1
CONFLICTS=	nspluginwrapper-1.2.*
@


1.27
log
@Add a temporary workaround for long standing and very annoying "right-click
hang" problem of Adobe Flash plugin 10.1 and above.  For now, we completely
ignore ButtonPress event from Button3 and always return false as Adobe Flash
10.0 plugin does.  Opera and Chromium seem to do something similar.
@
text
@d9 1
a9 2
PORTVERSION=	1.3.0
PORTREVISION=	9
d11 3
a13 2
MASTER_SITES=	LOCAL/jkim
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${BINFILE}${EXTRACT_SUFX}
d24 2
a25 1
BINFILE=	${PORTNAME}-i386-${PORTVERSION}-5
a28 1
USE_BZIP2=	yes
d42 1
a42 2
		--with-cc=${CC} --with-cxx=${CXX} \
		--with-x11-prefix=${LOCALBASE}
d60 1
a60 1
	${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
@


1.26
log
@Fix a race condition on NPP_Destroy.  With this patch, Adobe Flash plugin
is quite bearable now.  For more detailed info, please see the Red Hat PR:

https://bugzilla.redhat.com/show_bug.cgi?id=680279

Obtained from:	Fedora Project
@
text
@d10 1
a10 1
PORTREVISION=	8
@


1.25
log
@Update linux-f10-pango to 1.28.3 (+ bump portrevision of dependend ports).
This fixes a security warning from portaudit.

Security:	CVE-2009-1194
VuXML:		4b172278-3f46-11de-becb-001cc0377035
Thanks to:	Luchesar V. ILIEV <luchesar.iliev@@gmail.com> (F10+rpmbuild info)
@
text
@d10 1
a10 1
PORTREVISION=	7
d24 1
a24 1
BINFILE=	${PORTNAME}-i386-${PORTVERSION}-4
@


1.24
log
@- Work around a plugin crash from npw_plugin_instance_is_valid().
- Reduce RPC timeout from 30 to 10 seconds.

Obtained from:	Fedora Project
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.23
log
@- Add a trivial fix for NPAPI PrivateMode.  It should fix annoying warnings
such as this:

*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()

See the following URL for more information:

https://wiki.mozilla.org/Plugins:PrivateMode

- Replace a trivial shell script with our own version.
@
text
@d10 1
a10 1
PORTREVISION=	5
d24 1
a24 1
BINFILE=	${PORTNAME}-i386-${PORTVERSION}-3
@


1.22
log
@Chase the ftp/curl shlib version bump.
@
text
@d10 1
a10 1
PORTREVISION=	4
d24 1
a24 1
BINFILE=	${PORTNAME}-i386-${PORTVERSION}-2
d49 3
a59 7
# We must manually extract, modify, and install the Linux version of npviewer.
post-extract:
	${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
	    ${WRKDIR}/usr/lib/nspluginwrapper/i386/linux/npviewer
	@@${RM} ${WRKDIR}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak
	@@${MV} ${WRKDIR}/usr ${WRKSRC}

a62 1
	@@${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
d66 4
a69 2
	${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
	     ${LIBDIR}/i386/linux/
@


1.21
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	3
d18 1
a18 1
LIB_DEPENDS=	curl.5:${PORTSDIR}/ftp/curl
@


1.20
log
@- Add a patch to fix array of NPIdentifier to sync with Linux distros[1].

	https://bugzilla.redhat.com/show_bug.cgi?id=511897

- Re-roll Linux/i386 binaries in tar format to remove extract dependency of
rpm2cpio.  I do not expect an official RPM package from upstream any way.
Note I forced Linux/i386 npviewer.bin to be linked with libstdc++.so now.
This seems to prevents dlopen(3) failures of some plugins.
- Add a configure option to strip FreeBSD binaries while I am here.

Obtained from:	Fedora Project[1]
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.19
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 2
a13 6
MASTER_SITES=	http://gwenole.beauchesne.info/projects/nspluginwrapper/files/:hostsrc \
		LOCAL/jkim:hostsrc \
		LOCAL/jkim:targetbin
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:hostsrc \
		${RPMFILE}:targetbin
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
a17 1
EXTRACT_DEPENDS=	rpm2cpio:${PORTSDIR}/archivers/rpm
d24 1
a24 1
RPMFILE=	${PORTNAME}-i386-${PORTVERSION}-1.x86_64.rpm
d40 4
a43 3
CONFIGURE_ARGS=	--enable-generic --prefix=${PREFIX} --target-os=linux \
		--target-cpu=i386 --with-x11-prefix=${LOCALBASE} \
		--with-cc=${CC} --with-cxx=${CXX}
a58 1
	cd ${WRKSRC} &&	rpm2cpio ${DISTDIR}/${RPMFILE} | ${CPIO} -id
d60 3
a62 2
	    ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer
	@@${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak
@


1.18
log
@Add local distfile mirror.  The master site is currently unreachable.
@
text
@d10 1
@


1.17
log
@Add forgotten LATEST_LINK.
@
text
@d12 1
@


1.16
log
@A compatibility plugin for Mozilla NPAPI (development version).

Note: The Linux/i386 RPM was built by me on Fedora 10 via VirtualBox
because the author did not provide them.  For more information about
the development branch, please read:

http://gwenole.beauchesne.info/en/blog/2009/01/02/nspluginwrapper_1.3.0

PR:		ports/141179
@
text
@d23 2
@


1.15
log
@Limit the stack size for plugins. Linux glibc threading behaves
slightly differently with a smaller stack size and the Flash plugins
rely on this behaviour.

Suggested by:	dchagin
Patch by:	nox
Discussed at:	freebsd-emulation
Reminded by:	Tijl Coosemans <tijl@@ulyssis.org>
@
text
@d9 1
a9 2
PORTVERSION=	1.2.2
PORTREVISION=	4
d11 4
a14 2
MASTER_SITES=	http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
d17 2
a18 2
MAINTAINER=	malus.x@@gmail.com
COMMENT=	A compatibility plugin for Netscape 4 (NPAPI) plugins
d23 2
d47 9
a55 1
PLIST_SUB=	LIBDIR="${LIBDIR:C/^${PREFIX}\///}" ARCH="${ARCH}"
d61 2
a62 2
		${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer
	${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak
d65 3
a67 3
	@@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
		${WRKSRC}/src/npw-config.c
	${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
d75 1
a75 1
.include <bsd.port.mk>
@


1.14
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d10 1
a10 1
PORTREVISION=	3
d56 2
@


1.13
log
@Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.12
log
@Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
@
text
@a20 1
RUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2
d28 1
@


1.11
log
@- Fix path to npwrapper.so on amd64
- Bump portrevision

PR:		ports/130317
Submitted by:	Yuri Pankov <yuri.pankov@@gmail.com>
Approved by:	David Grochowski <malus.x@@gmail.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 1
LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
@


1.10
log
@- Update to version 1.2.2.
- Remove configure patching since it is now unnecessary.
- Switch to USE_XORG and remove USE_XLIB and friends.

PR:		ports/130144
Submitted by:	Dave Grochowski <malus.x@@gmail.com> (maintainer)
@
text
@d10 1
@


1.9
log
@- Update to 1.0.0

PR:		125252
Submitted by:	Dave Grochowski <malus.x@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
d19 1
d28 2
a29 2
USE_XLIB=	yes
USE_GNOME=	glib20 pkgconfig
d37 3
a39 2
CONFIGURE_ARGS=	--prefix=${PREFIX} --target-os=linux --target-cpu=i386 \
		--with-x11-prefix=${LOCALBASE} --with-cc=${CC} --with-cxx=${CXX}
d53 2
a54 3
	@@${REINPLACE_CMD} -e 's,x86_64,amd64,g' ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/configure

d61 1
a61 7
.include <bsd.port.pre.mk>

# XXX switch to USE_XORG once XFree86-4 is removed
BUILD_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
RUN_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}

.include <bsd.port.post.mk>
@


1.8
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.91.5
PORTREVISION=	1
@


1.7
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d10 1
@


1.6
log
@Remove support for XFree8-4.

From now on, X_WINDOW_SYSTEM != "xorg" is not supported anymore.

PR:		ports/119418
Submitted by:	flz
Approved by:	portmgr (pav)
@
text
@d37 1
a37 1
		--with-x11-prefix=${X11BASE} --with-cc=${CC} --with-cxx=${CXX}
d52 1
a52 1
	@@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/configure
d63 2
a64 2
BUILD_DEPENDS+=	${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
RUN_DEPENDS+=	${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
@


1.5
log
@- Update to 0.9.91.5

PR:		ports/115992
Submitted by:	Dave Grochowski <malus.x@@gmail.com> (maintainer)
@
text
@a62 1
.if ${X_WINDOW_SYSTEM:L} == xorg
a64 3
.else
LIB_DEPENDS+=	X11.6:${X_LIBRARIES_PORT}
.endif
@


1.4
log
@- This port requires linux-gtk2 instead of the native one
- This port needs both native and linux version of libX11.
  Since there is no good way to specify the native one,
  repeat the logic in bsd.port.mk here.

Reported by:	Henrik Brix Andersen, TooMany Secrets <toomany at toomany.net>

- Respect X11BASE in configure script

PR:		ports/112274
Approved by:	Dave Grochowski (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.91.4
PORTREVISION=	2
@


1.3
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
d29 1
a29 1
USE_GNOME=	glib20 gtk20 pkgconfig
d53 1
d61 11
a71 1
.include <bsd.port.mk>
@


1.2
log
@- Update to 0.9.91.4

PR:		ports/111291
Submitted by:	rafan
Approved by:	Dave Grochowski <malus.x at gmail.com> (maintainer)
@
text
@d10 1
@


1.1
log
@Add nspluginwrapper 0.9.91.3, a compatibility plugin for Netscape 4
(NPAPI) plugins.

PR:		ports/111166
Submitted by:	Dave Grochowski
@
text
@d9 1
a9 1
PORTVERSION=	0.9.91.3
d36 1
a36 1
		--x11=${X11BASE} --with-cc=${CC} --with-cxx=${CXX}
@

