- Update to 4.12
PR: ports/73955 Submitted by: maintainer
This commit is contained in:
parent
2a19c4a44a
commit
0187335244
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121759
4 changed files with 18 additions and 31 deletions
|
@ -6,12 +6,11 @@
|
|||
#
|
||||
|
||||
PORTNAME= flashplugin-firefox
|
||||
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= sam@brj.pp.ru
|
||||
COMMENT= A GPL standalone Flash (TM) plugin for FireFox web browser
|
||||
|
@ -19,12 +18,19 @@ COMMENT= A GPL standalone Flash (TM) plugin for FireFox web browser
|
|||
LIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash
|
||||
RUN_DEPENDS?= firefox:${PORTSDIR}/www/firefox
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/plugin
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/Plugin
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
PLUGIN_DIR?= lib/firefox/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}
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${PREFIX}/${PLUGIN_DIR}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -1,3 +1,6 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
*** plugin.c.old Mon Jun 12 10:24:09 2000
|
||||
--- plugin.c Mon Sep 30 00:48:40 2002
|
||||
***************
|
||||
|
|
Loading…
Reference in a new issue