summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/nspluginwrapper-devel')
-rw-r--r--www/nspluginwrapper-devel/Makefile66
-rw-r--r--www/nspluginwrapper-devel/distinfo6
-rw-r--r--www/nspluginwrapper-devel/files/patch-configure18
-rw-r--r--www/nspluginwrapper-devel/files/patch-npapi_nspr_prcpucfg.h11
-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/pkg-descr6
-rw-r--r--www/nspluginwrapper-devel/pkg-message30
-rw-r--r--www/nspluginwrapper-devel/pkg-plist14
9 files changed, 0 insertions, 174 deletions
diff --git a/www/nspluginwrapper-devel/Makefile b/www/nspluginwrapper-devel/Makefile
deleted file mode 100644
index 5d2e9892a45a..000000000000
--- a/www/nspluginwrapper-devel/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-# New ports collection makefile for: nspluginwrapper
-# Date created: 30 March 2007
-# Whom: Dave Grochowski
-#
-# $FreeBSD$
-#
-
-PORTNAME= nspluginwrapper
-PORTVERSION= 0.9.91.5
-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
-RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2
-
-RPMFILE= ${PORTNAME}-i386-${PORTVERSION}-1.x86_64.rpm
-
-ONLY_FOR_ARCHS= i386 amd64
-
-USE_BZIP2= yes
-USE_LINUX= yes
-USE_XLIB= yes
-USE_GNOME= glib20 pkgconfig
-
-CFLAGS+= -std=c99
-
-USE_LDCONFIG= yes
-USE_GMAKE= yes
-HAS_CONFIGURE= yes
-
-CONFIGURE_ARGS= --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,x86_64,amd64,g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/configure
-
-post-install:
- ${MKDIR} ${LIBDIR}/i386/linux
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
- ${LIBDIR}/i386/linux/
- @${CAT} ${PKGMESSAGE}
-
-.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>
diff --git a/www/nspluginwrapper-devel/distinfo b/www/nspluginwrapper-devel/distinfo
deleted file mode 100644
index f4c642782dfe..000000000000
--- a/www/nspluginwrapper-devel/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (nspluginwrapper-0.9.91.5.tar.bz2) = 052e5fecc36a087d1f7200bd1e44f2f0
-SHA256 (nspluginwrapper-0.9.91.5.tar.bz2) = c1262aff6b223e3d92d422cb814106a07eafbad3f5df645c27af7988e93e6b60
-SIZE (nspluginwrapper-0.9.91.5.tar.bz2) = 273331
-MD5 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = d2327fae81570e0c3f1df2af4439b776
-SHA256 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 8b3b14d1970a15b8890f3db5df273076f79d212c79baf2a07315a1754d8f6e7a
-SIZE (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 52386
diff --git a/www/nspluginwrapper-devel/files/patch-configure b/www/nspluginwrapper-devel/files/patch-configure
deleted file mode 100644
index 6007dc2bcd6f..000000000000
--- a/www/nspluginwrapper-devel/files/patch-configure
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./configure.orig Sun Mar 4 23:01:22 2007
-+++ ./configure Wed Apr 4 20:20:59 2007
-@@ -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"
diff --git a/www/nspluginwrapper-devel/files/patch-npapi_nspr_prcpucfg.h b/www/nspluginwrapper-devel/files/patch-npapi_nspr_prcpucfg.h
deleted file mode 100644
index 3bec95c9b353..000000000000
--- a/www/nspluginwrapper-devel/files/patch-npapi_nspr_prcpucfg.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./npapi/nspr/prcpucfg.h.orig Wed Apr 4 20:26:11 2007
-+++ ./npapi/nspr/prcpucfg.h Wed Apr 4 20:27:40 2007
-@@ -229,7 +229,7 @@
- #define PR_BYTES_PER_WORD_LOG2 3
- #define PR_BYTES_PER_DWORD_LOG2 3
-
--#elif defined(__x86_64__)
-+#elif defined(__x86_64__) || defined(__amd64__)
-
- #define IS_LITTLE_ENDIAN 1
- #undef IS_BIG_ENDIAN
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/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 98f8ea352a63..000000000000
--- a/www/nspluginwrapper-devel/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-bin/nspluginwrapper
-%%LIBDIR%%/%%ARCH%%/freebsd/npconfig
-%%LIBDIR%%/%%ARCH%%/freebsd/npwrapper.so
-%%LIBDIR%%/i386/linux/npviewer.bin
-%%LIBDIR%%/i386/linux/npviewer
-%%LIBDIR%%/i386/linux/libxpcom.so
-%%LIBDIR%%/noarch/mkruntime
-%%LIBDIR%%/noarch/npviewer
-@dirrm %%LIBDIR%%/%%ARCH%%/freebsd
-@dirrmtry %%LIBDIR%%/%%ARCH%%
-@dirrm %%LIBDIR%%/i386/linux
-@dirrmtry %%LIBDIR%%/i386
-@dirrm %%LIBDIR%%/noarch
-@dirrm %%LIBDIR%%