aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-11-02 21:58:55 +0800
committersobomax <sobomax@FreeBSD.org>2001-11-02 21:58:55 +0800
commit32a8970a8727992daee24f8466721c409c102a02 (patch)
tree299321961d00675dddf6fc516fa00c3b8be8e520 /www
parent78030b6a5e5c170096ed8fbf031bcb3baaa75fec (diff)
downloadfreebsd-ports-gnome-32a8970a8727992daee24f8466721c409c102a02.tar.gz
freebsd-ports-gnome-32a8970a8727992daee24f8466721c409c102a02.tar.zst
freebsd-ports-gnome-32a8970a8727992daee24f8466721c409c102a02.zip
Add flashplugin-mozilla 0.4.10, a GPL standalone Flash (TM) plugin
for Mozilla web browser. PR: 31491 Submitted by: Leland Wang <llwang@infor.org>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/flashplugin-mozilla/Makefile27
-rw-r--r--www/flashplugin-mozilla/distinfo1
-rw-r--r--www/flashplugin-mozilla/files/patch-aa16
-rw-r--r--www/flashplugin-mozilla/pkg-comment1
-rw-r--r--www/flashplugin-mozilla/pkg-descr5
-rw-r--r--www/flashplugin-mozilla/pkg-plist1
7 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index e98d33720949..d46ca08d9883 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -63,6 +63,7 @@
SUBDIR += fcgi
SUBDIR += fhttpd
SUBDIR += flashplugin
+ SUBDIR += flashplugin-mozilla
SUBDIR += fxhtml
SUBDIR += g-gcl
SUBDIR += galeon
diff --git a/www/flashplugin-mozilla/Makefile b/www/flashplugin-mozilla/Makefile
new file mode 100644
index 000000000000..4d069fa81f23
--- /dev/null
+++ b/www/flashplugin-mozilla/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: flashplugin-mozilla
+# Date created: 25 October 2001
+# Whom: Leland Wang <llwang@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flashplugin-mozilla
+PORTVERSION= 0.4.10
+CATEGORIES= www
+MASTER_SITES= http://www.swift-tools.com/Flash/
+DISTNAME= flash-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= llwang@infor.org
+
+LIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash
+RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
+
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Plugin
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla/plugins
+
+.include <bsd.port.mk>
diff --git a/www/flashplugin-mozilla/distinfo b/www/flashplugin-mozilla/distinfo
new file mode 100644
index 000000000000..1736b2f2eba0
--- /dev/null
+++ b/www/flashplugin-mozilla/distinfo
@@ -0,0 +1 @@
+MD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598
diff --git a/www/flashplugin-mozilla/files/patch-aa b/www/flashplugin-mozilla/files/patch-aa
new file mode 100644
index 000000000000..87d62d024165
--- /dev/null
+++ b/www/flashplugin-mozilla/files/patch-aa
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- Makefile.orig Tue Sep 28 12:13:38 1999
++++ Makefile Fri Nov 2 15:52:14 2001
+@@ -35,8 +35,8 @@
+ # Linux
+ SHARED=-shared
+
+-CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
+-LDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.a
++CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
++LDFLAGS= -L${LOCALBASE}/lib -lflash -ljpeg -lz
+
+ SRC= plugin.c npunix.c
+ OBJ= plugin.o npunix.o
diff --git a/www/flashplugin-mozilla/pkg-comment b/www/flashplugin-mozilla/pkg-comment
new file mode 100644
index 000000000000..59b8fae866d1
--- /dev/null
+++ b/www/flashplugin-mozilla/pkg-comment
@@ -0,0 +1 @@
+A GPL standalone Flash (TM) plugin for Mozilla web browser
diff --git a/www/flashplugin-mozilla/pkg-descr b/www/flashplugin-mozilla/pkg-descr
new file mode 100644
index 000000000000..070aac0e1507
--- /dev/null
+++ b/www/flashplugin-mozilla/pkg-descr
@@ -0,0 +1,5 @@
+This is GPL standalone Flash (TM) Plugin, that comes with FlashLib
+(libflash) distribution.
+
+Author: Olivier Debon <odebon@club-internet.fr>
+WWW: http://www.swift-tools.com/Flash/
diff --git a/www/flashplugin-mozilla/pkg-plist b/www/flashplugin-mozilla/pkg-plist
new file mode 100644
index 000000000000..4e3b2308f160
--- /dev/null
+++ b/www/flashplugin-mozilla/pkg-plist
@@ -0,0 +1 @@
+lib/mozilla/plugins/npflash.so