--- Makefile.orig 2007-09-23 19:33:29.000000000 +0100 +++ Makefile 2007-09-23 19:33:29.000000000 +0100 @@ -6,38 +6,40 @@ # PORTNAME= flashplugin -PORTVERSION= 7.0r69 -PORTREVISION= 0 +PORTVERSION= 7.0r70 CATEGORIES= www multimedia linux -MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/ +MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/installers/archive/ PKGNAMEPREFIX= linux- -DISTNAME= install_flash_player_7_linux -DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} +DISTNAME= fp7_archive +DIST_SUBDIR= ${PORTNAME} MAINTAINER= jamie@bishopston.net COMMENT= Adobe Flash Player NPAPI Plugin ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes +USE_ZIP= yes RESTRICTED= Redistribution not allowed NO_BUILD= yes -WRKSRC= ${WRKDIR}/install_flash_player_7_linux -LATEST_LINK= flash7 -PORTDOCS= Readme.txt +WRKSRC= ${WRKDIR}/fp7_archive/r70/install_flash_player_7_linux USE_NPAPI= linux-* NPAPI_FILES= libflashplayer.so flashplayer.xpt CONFLICTS= linux-flashplugin-9* -post-install: -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif +OPTIONS= NSPLUG "Install nspluginwrapper (for native browser use)" on + +post-patch: + (cd $(WRKDIR)/fp7_archive/r70 && ${TAR} -xzf install_flash_player_7_linux_r70.tar.gz) .include .include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" + +.if defined (WITH_NSPLUG) +RUN_DEPENDS+= nspluginwrapper:$(PORTSDIR)/www/nspluginwrapper +.endif + .include --- distinfo.orig 2007-09-23 19:33:29.000000000 +0100 +++ distinfo 2007-09-23 19:33:29.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (flashplugin/7.0r69/install_flash_player_7_linux.tar.gz) = 3a72f45a173126181022cff9029a1bb3 -SHA256 (flashplugin/7.0r69/install_flash_player_7_linux.tar.gz) = 7a4cad18d59b6684834df09003b72422b1898d810f4c4d83ffa4f140c98ce9b8 -SIZE (flashplugin/7.0r69/install_flash_player_7_linux.tar.gz) = 1017790 +MD5 (flashplugin/fp7_archive.zip) = b202a877ac3c4b782d7b4390efcb8c05 +SHA256 (flashplugin/fp7_archive.zip) = 182e46bd8fa1c21af8a11554b3887b02bc286084c1e5137aa047364943ab0519 +SIZE (flashplugin/fp7_archive.zip) = 33513720 --- pkg-descr.orig 2007-09-23 19:33:29.000000000 +0100 +++ pkg-descr 2007-09-23 19:33:29.000000000 +0100 @@ -7,4 +7,6 @@ FreeBSD Flash License Agreement: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 +Unoffical FreeBSD support: http://flash.freebsd.bishopston.net/ + WWW: http://www.adobe.com/