diff options
-rw-r--r-- | www/flashplugin/Makefile | 31 | ||||
-rw-r--r-- | www/flashplugin/distinfo | 2 | ||||
-rw-r--r-- | www/flashplugin/files/patch-aa | 10 | ||||
-rw-r--r-- | www/flashplugin/pkg-comment | 1 | ||||
-rw-r--r-- | www/flashplugin/pkg-descr | 12 | ||||
-rw-r--r-- | www/flashplugin/pkg-plist | 1 | ||||
-rw-r--r-- | www/flashplugin/pkg-req | 31 |
7 files changed, 88 insertions, 0 deletions
diff --git a/www/flashplugin/Makefile b/www/flashplugin/Makefile new file mode 100644 index 000000000000..8641ee4b25cf --- /dev/null +++ b/www/flashplugin/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: flashplugin +# Version required: 0.4.3 +# Date created: 3 October 1999 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +DISTNAME= flash-0.4.3 +PKGNAME= flashplugin-0.4.3 +CATEGORIES= www graphics +MASTER_SITES= http://www.geocities.com/TimesSquare/Labyrinth/5084/flash/Linux/ \ + http://perso.club-internet.fr/odebon/flash/Linux/ +EXTRACT_SUFX= .tgz + +PATCH_SITES= http://leed.t.u-tokyo.ac.jp/~yamagata/flash/ +PATCHFILES= flash-0.4.3-fbsd-19990512.patch + +MAINTAINER= knu@idaemons.org + +MAKE_ENV+= OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout +PORTOBJFORMAT= aout +ALL_TARGET= libswf.so + +do-install: +.if !defined(PACKAGE_BUILDING) + @PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL +.endif + cd ${WRKSRC} && ${SETENV} OBJFORMAT=aout ${INSTALL_PROGRAM} libswf.so ${PREFIX}/lib/netscape/plugins + +.include <bsd.port.mk> diff --git a/www/flashplugin/distinfo b/www/flashplugin/distinfo new file mode 100644 index 000000000000..44bd9fb02bc6 --- /dev/null +++ b/www/flashplugin/distinfo @@ -0,0 +1,2 @@ +MD5 (flash-0.4.3.tgz) = 87b855c1ac5ea38bfa668b98a099d3b5 +MD5 (flash-0.4.3-fbsd-19990512.patch) = 57784f1045062aa23c584b2f5bbc6483 diff --git a/www/flashplugin/files/patch-aa b/www/flashplugin/files/patch-aa new file mode 100644 index 000000000000..db18db307e0e --- /dev/null +++ b/www/flashplugin/files/patch-aa @@ -0,0 +1,10 @@ +--- Makefile.orig Sun Oct 3 02:41:07 1999 ++++ Makefile Sun Oct 3 02:41:43 1999 +@@ -1,6 +1,4 @@ +-CC=cc +-CXX=/usr/bin/c++ +-CFLAGS=-I/usr/X11R6/include -I./Lib -I./Plugin -fpic -fno-rtti -DXP_UNIX ++CFLAGS+=-I/usr/X11R6/include -I./Lib -I./Plugin -fpic -fno-rtti -DXP_UNIX + CFLAGS+=-O2 + CFLAGS+=-DCHECK_TEXT_PLAIN + diff --git a/www/flashplugin/pkg-comment b/www/flashplugin/pkg-comment new file mode 100644 index 000000000000..26a58465e927 --- /dev/null +++ b/www/flashplugin/pkg-comment @@ -0,0 +1 @@ +A Macromedia Flash plugin for Netscape diff --git a/www/flashplugin/pkg-descr b/www/flashplugin/pkg-descr new file mode 100644 index 000000000000..c4c63fd40d7d --- /dev/null +++ b/www/flashplugin/pkg-descr @@ -0,0 +1,12 @@ +This is a Macromedia Flash plugin for Netscape. + +WWW: http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html + http://perso.club-internet.fr/odebon/flash.html (mirror) + +Author: Olivier Debon <odebon@club-internet.fr> + +-- + / + /__ __ + / ) ) ) ) / http://www.idaemons.org/knu/ +Akinori MUSHA aka / (_ / ( (__( mailto:knu@idaemons.org diff --git a/www/flashplugin/pkg-plist b/www/flashplugin/pkg-plist new file mode 100644 index 000000000000..9861ac7f79e9 --- /dev/null +++ b/www/flashplugin/pkg-plist @@ -0,0 +1 @@ +lib/netscape/plugins/libswf.so diff --git a/www/flashplugin/pkg-req b/www/flashplugin/pkg-req new file mode 100644 index 000000000000..c49d386b69f7 --- /dev/null +++ b/www/flashplugin/pkg-req @@ -0,0 +1,31 @@ +#!/bin/sh + +[ X"$2" = X"INSTALL" ] || exit 0; + +check=${PKG_PREFIX}/lib/netscape/plugins/libnullplugin.so + +if [ ! -f $check ]; then + cat <<EOF +**** +Please install Netscape Communicator/Navigator 4.0 or later +before installing this plugin. +**** +EOF + exit 1 +fi + +if file $check | grep -qw ELF ; then + cat <<EOF +**** +You seem to be using Netscape for Linux, but the binary +that you are going to install is a FreeBSD's a.out. + +Go get the Linux binary to: + http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html + +or use Netscape for FreeBSD. +**** +EOF + exit 1 +fi + |