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 +# +# $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 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 +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