Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2004 23:00:22 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73081: Update port: www/flashplugin-mozilla to 0.4.12
Message-ID:  <20041024230022.23a8e9b8.tkato432@yahoo.com>
Resent-Message-ID: <200410241410.i9OEAL3v020706@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73081
>Category:       ports
>Synopsis:       Update port: www/flashplugin-mozilla to 0.4.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 24 14:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.4.12

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/flashplugin-mozilla/Makefile www/flashplugin-mozilla/Makefile
--- /usr/ports/www/flashplugin-mozilla/Makefile	Mon Apr  5 13:56:08 2004
+++ www/flashplugin-mozilla/Makefile	Sat Oct 23 18:04:49 2004
@@ -6,12 +6,11 @@
 #
 
 PORTNAME?=	flashplugin-mozilla
-PORTVERSION=	0.4.10
-PORTREVISION=	6
+PORTVERSION=	0.4.12
 CATEGORIES=	www
-MASTER_SITES=	http://www.swift-tools.net/Flash/
-DISTNAME=	flash-${PORTVERSION}
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	gplflash
+DISTNAME=	gplflash-${PORTVERSION}
 
 MAINTAINER=	llwang@infor.org
 COMMENT=	A GPL standalone Flash (TM) plugin for Mozilla web browser
@@ -19,11 +18,18 @@
 LIB_DEPENDS=	flash.0:${PORTSDIR}/graphics/libflash
 RUN_DEPENDS?=	mozilla:${PORTSDIR}/www/mozilla
 
-USE_X_PREFIX=	yes
+WRKSRC=		${WRKDIR}/${DISTNAME}/plugin
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/Plugin
+USE_BZIP2=	yes
+USE_X_PREFIX=	yes
 PLUGIN_DIR?=	lib/browser_plugins
 PLIST_SUB+=	PLUGIN_DIR=${PLUGIN_DIR}
+
+do-build:
+	cd ${WRKSRC} && ${CC} ${CFLAGS} -shared -fPIC -DXP_UNIX \
+		-I${.CURDIR}../lib -I${LOCALBASE}/include -I${X11BASE}/include \
+		-o npflash.so plugin.c npunix.c \
+		-L${LOCALBASE}/lib -L${X11BASE}/lib -lflash -lXt
 
 do-install:
 	@${MKDIR} ${PREFIX}/${PLUGIN_DIR}
diff -urN /usr/ports/www/flashplugin-mozilla/distinfo www/flashplugin-mozilla/distinfo
--- /usr/ports/www/flashplugin-mozilla/distinfo	Wed Mar 31 18:14:55 2004
+++ www/flashplugin-mozilla/distinfo	Sat Oct 23 17:54:47 2004
@@ -1,2 +1,2 @@
-MD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598
-SIZE (flash-0.4.10.tgz) = 358995
+MD5 (gplflash-0.4.12.tar.bz2) = 7d53803486b255665a80cd834ee3c463
+SIZE (gplflash-0.4.12.tar.bz2) = 378727
diff -urN /usr/ports/www/flashplugin-mozilla/files/patch-aa www/flashplugin-mozilla/files/patch-aa
--- /usr/ports/www/flashplugin-mozilla/files/patch-aa	Sun Mar 14 18:18:45 2004
+++ www/flashplugin-mozilla/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,22 +0,0 @@
---- Makefile.orig	Tue Sep 28 05:13:38 1999
-+++ Makefile	Sat Mar 13 20:06:26 2004
-@@ -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 -fPIC
-+LDFLAGS= -L${LOCALBASE}/lib -lflash -ljpeg -lz -L$(X11BASE)/lib -lXt
- 
- SRC= plugin.c npunix.c
- OBJ= plugin.o npunix.o
-@@ -45,7 +45,7 @@
- 
- default all: $(SHAREDTARGET)
- 
--$(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a
-+$(SHAREDTARGET): $(OBJ)
- 	$(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)
- 
- plugin.o: $(FLASH)/flash.h
diff -urN /usr/ports/www/flashplugin-mozilla/pkg-descr www/flashplugin-mozilla/pkg-descr
--- /usr/ports/www/flashplugin-mozilla/pkg-descr	Sun Aug 24 20:05:20 2003
+++ www/flashplugin-mozilla/pkg-descr	Sun Oct 24 22:19:41 2004
@@ -2,4 +2,4 @@
 (libflash) distribution.
 
 Author:	Olivier Debon <olivier@debon.net>
-WWW:	http://www.swift-tools.net/Flash/
+WWW:	http://gplflash.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041024230022.23a8e9b8.tkato432>