summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/nspluginwrapper-devel')
-rw-r--r--www/nspluginwrapper-devel/Makefile64
-rw-r--r--www/nspluginwrapper-devel/distinfo6
-rw-r--r--www/nspluginwrapper-devel/files/patch-configure27
-rw-r--r--www/nspluginwrapper-devel/files/patch-src-npw-config.c13
-rw-r--r--www/nspluginwrapper-devel/files/patch-src-npw-wrapper.c10
-rw-r--r--www/nspluginwrapper-devel/files/patch-ulimit7
-rw-r--r--www/nspluginwrapper-devel/pkg-descr6
-rw-r--r--www/nspluginwrapper-devel/pkg-message30
-rw-r--r--www/nspluginwrapper-devel/pkg-plist16
9 files changed, 0 insertions, 179 deletions
diff --git a/www/nspluginwrapper-devel/Makefile b/www/nspluginwrapper-devel/Makefile
deleted file mode 100644
index 2cc5a6b047f6..000000000000
--- a/www/nspluginwrapper-devel/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# New ports collection makefile for: nspluginwrapper
-# Date created: 30 March 2007
-# Whom: Dave Grochowski
-#
-# $FreeBSD$
-#
-
-PORTNAME= nspluginwrapper
-PORTVERSION= 1.2.2
-PORTREVISION= 4
-CATEGORIES= www linux emulators
-MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-MAINTAINER= malus.x@gmail.com
-COMMENT= A compatibility plugin for Netscape 4 (NPAPI) plugins
-
-EXTRACT_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
-LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl
-
-RPMFILE= ${PORTNAME}-i386-${PORTVERSION}-1.x86_64.rpm
-
-ONLY_FOR_ARCHS= i386 amd64
-
-USE_BZIP2= yes
-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 --prefix=${PREFIX} --target-os=linux \
- --target-cpu=i386 --with-x11-prefix=${LOCALBASE} \
- --with-cc=${CC} --with-cxx=${CXX}
-
-LIBDIR= ${PREFIX}/lib/${PORTNAME}
-
-PLIST_SUB= LIBDIR="${LIBDIR:C/^${PREFIX}\///}" ARCH="${ARCH}"
-
-# We must manually extract, modify, and install the Linux version of npviewer.
-post-extract:
- cd ${WRKSRC} && rpm2cpio ${DISTDIR}/${RPMFILE} | ${CPIO} -id
- ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
- ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer
- ${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak
-
-post-patch:
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
- ${WRKSRC}/src/npw-config.c
- ${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
-
-post-install:
- ${MKDIR} ${LIBDIR}/i386/linux
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
- ${LIBDIR}/i386/linux/
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/www/nspluginwrapper-devel/distinfo b/www/nspluginwrapper-devel/distinfo
deleted file mode 100644
index 07ce5a70e165..000000000000
--- a/www/nspluginwrapper-devel/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (nspluginwrapper-1.2.2.tar.bz2) = 197e3439aa7136addb88972e48c2fe4a
-SHA256 (nspluginwrapper-1.2.2.tar.bz2) = 4e6cbb7aeda1c9f0d6e5a17e729160b5d3f3e7048f90353238806289752175c3
-SIZE (nspluginwrapper-1.2.2.tar.bz2) = 327947
-MD5 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = a7c7d46d0ae887a0fab6cd14348c36aa
-SHA256 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = c9572430351b716ca1c63170150981cfc8546f0cb7e03c7a75f1d0687db99e6f
-SIZE (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425
diff --git a/www/nspluginwrapper-devel/files/patch-configure b/www/nspluginwrapper-devel/files/patch-configure
deleted file mode 100644
index 88e6d7733b5d..000000000000
--- a/www/nspluginwrapper-devel/files/patch-configure
+++ /dev/null
@@ -1,27 +0,0 @@
---- configure.orig 2009-01-02 11:54:10.000000000 +0300
-+++ configure 2009-01-09 05:42:24.000000000 +0300
-@@ -6,13 +6,8 @@
- PACKAGE=nspluginwrapper
-
- # set temporary file name
--if test ! -z "$TMPDIR" ; then
-- TMPDIR1="${TMPDIR}"
--elif test ! -z "$TEMPDIR" ; then
-- TMPDIR1="${TEMPDIR}"
--else
-- TMPDIR1="/tmp"
--fi
-+mkdir -p tmp
-+TMPDIR1="./tmp"
-
- TMPC="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.c"
- TMPO="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.o"
-@@ -728,7 +723,7 @@
- elif test "$host_cpu" = "x86_64" ; then
- echo "ARCH=x86_64" >> $config_mak
- echo "#define HOST_X86_64 1" >> $config_h
-- echo "#define HOST_ARCH \"x86_64\"" >> $config_h
-+ echo "#define HOST_ARCH \"amd64\"" >> $config_h
- elif test "$host_cpu" = "ppc" ; then
- echo "ARCH=ppc" >> $config_mak
- echo "#define HOST_PPC 1" >> $config_h
diff --git a/www/nspluginwrapper-devel/files/patch-src-npw-config.c b/www/nspluginwrapper-devel/files/patch-src-npw-config.c
deleted file mode 100644
index 0d8d2847065d..000000000000
--- a/www/nspluginwrapper-devel/files/patch-src-npw-config.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./src/npw-config.c.orig Sun Mar 4 23:01:22 2007
-+++ ./src/npw-config.c Wed Apr 4 20:20:59 2007
-@@ -119,8 +119,8 @@
- #if defined(__FreeBSD__)
- {
- static const char *freebsd_dirs[] = {
-- "/usr/X11R6/" LIB "/browser_plugins",
-- "/usr/X11R6/" LIB "/firefox/plugins",
-+ "/usr/local/" LIB "/browser_plugins",
-+ "/usr/local/" LIB "/firefox/plugins",
- };
- dirs = freebsd_dirs;
- }
diff --git a/www/nspluginwrapper-devel/files/patch-src-npw-wrapper.c b/www/nspluginwrapper-devel/files/patch-src-npw-wrapper.c
deleted file mode 100644
index 343def710cce..000000000000
--- a/www/nspluginwrapper-devel/files/patch-src-npw-wrapper.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/npw-wrapper.c.orig Sun Mar 4 23:01:22 2007
-+++ ./src/npw-wrapper.c Wed Apr 4 20:20:59 2007
-@@ -28,6 +28,7 @@
- #include <unistd.h>
- #include <pthread.h>
- #include <semaphore.h>
-+#include <signal.h>
- #include <sys/wait.h>
-
- #include <glib.h>
diff --git a/www/nspluginwrapper-devel/files/patch-ulimit b/www/nspluginwrapper-devel/files/patch-ulimit
deleted file mode 100644
index a372ddb4e8ec..000000000000
--- a/www/nspluginwrapper-devel/files/patch-ulimit
+++ /dev/null
@@ -1,7 +0,0 @@
-Index: usr/lib/nspluginwrapper/i386/linux/npviewer
-@@ -1,4 +1,5 @@
- #!/bin/sh
- TARGET_OS=linux
- TARGET_ARCH=i386
-+ulimit -s 32768 2>/dev/null
- . /usr/local/lib/nspluginwrapper/noarch/npviewer
diff --git a/www/nspluginwrapper-devel/pkg-descr b/www/nspluginwrapper-devel/pkg-descr
deleted file mode 100644
index 5651d21f244e..000000000000
--- a/www/nspluginwrapper-devel/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-The nspluginwrapper is an Open Source compatibility plugin for Netscape 4
-(NPAPI) plugins. That is, it enables you to use plugins on platforms they were
-not built for. For example, you can use the Adobe Flash plugin on Linux/x86_64,
-NetBSD and FreeBSD platforms.
-
-WWW: http://gwenole.beauchesne.info/projects/nspluginwrapper/
diff --git a/www/nspluginwrapper-devel/pkg-message b/www/nspluginwrapper-devel/pkg-message
deleted file mode 100644
index 402dd9ec3824..000000000000
--- a/www/nspluginwrapper-devel/pkg-message
+++ /dev/null
@@ -1,30 +0,0 @@
-================================================================
-
-The nspluginwrapper is installed on a per user basis. All of
-the commands can be run as an unprivileged user.
-
-================================================================
-
-To install all the plugins from their default locations:
-
-nspluginwrapper -v -a -i
-
-================================================================
-
-To install a specific plugin:
-
-nspluginwrapper -i path/to/plugin.so
-
-================================================================
-
-To remove a specific plugin:
-
-nspluginwrapper -r path/to/plugin.so
-
-================================================================
-
-To view all currently installed plugins:
-
-nspluginwrapper -l
-
-================================================================
diff --git a/www/nspluginwrapper-devel/pkg-plist b/www/nspluginwrapper-devel/pkg-plist
deleted file mode 100644
index 51cac4bf80d9..000000000000
--- a/www/nspluginwrapper-devel/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-bin/nspluginplayer
-bin/nspluginwrapper
-%%LIBDIR%%/%%ARCH%%/freebsd/npconfig
-%%LIBDIR%%/%%ARCH%%/freebsd/npplayer
-%%LIBDIR%%/%%ARCH%%/freebsd/npwrapper.so
-%%LIBDIR%%/i386/linux/libnoxshm.so
-%%LIBDIR%%/i386/linux/libxpcom.so
-%%LIBDIR%%/i386/linux/npviewer
-%%LIBDIR%%/i386/linux/npviewer.bin
-%%LIBDIR%%/noarch/npviewer
-@dirrm %%LIBDIR%%/noarch
-@dirrm %%LIBDIR%%/i386/linux
-@dirrm %%LIBDIR%%/%%ARCH%%/freebsd
-@dirrm %%LIBDIR%%/i386
-@dirrmtry %%LIBDIR%%/%%ARCH%%
-@dirrm %%LIBDIR%%