aboutsummaryrefslogtreecommitdiff
path: root/www/linux-flashplugin7/Makefile
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-02-27 21:49:36 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-02-27 21:49:36 +0000
commit7b66196efe3b413dfd8d1fcd5b3ab064d290cc68 (patch)
tree1e61a4bde27d55c36a43cdfd78f306e9785d849b /www/linux-flashplugin7/Makefile
parentfb77f0170845c17f62d583802fbc8113434871c3 (diff)
downloadports-7b66196efe3b413dfd8d1fcd5b3ab064d290cc68.tar.gz
ports-7b66196efe3b413dfd8d1fcd5b3ab064d290cc68.zip
Notes
Diffstat (limited to 'www/linux-flashplugin7/Makefile')
-rw-r--r--www/linux-flashplugin7/Makefile26
1 files changed, 17 insertions, 9 deletions
diff --git a/www/linux-flashplugin7/Makefile b/www/linux-flashplugin7/Makefile
index b703c65ab0c7..e0a5485a2bb4 100644
--- a/www/linux-flashplugin7/Makefile
+++ b/www/linux-flashplugin7/Makefile
@@ -1,43 +1,51 @@
# New ports collection makefile for: linux-flashplugin6
# Date created: 23 February 2003
-# Whom: Brandon D. Valentine <ports@geekpunk.net>
+# Whom: Brandon D. Valentine <ports@brandon.dvalentine.com>
#
# $FreeBSD$
#
PORTNAME= flashplugin
PORTVERSION= 6.0r79
+PORTREVISION= 1
CATEGORIES= www multimedia linux
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/
PKGNAMEPREFIX= linux-
DISTNAME= install_flash_player_6_linux
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
-MAINTAINER= ports@geekpunk.net
+MAINTAINER= ports@brandon.dvalentine.com
COMMENT= The official Macromedia Flash Player for Linux Mozilla and Netscape 6+
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
-NO_CDROM= "Redistribution not allowed"
+
+NO_PACKAGE= "Redistribution not allowed"
+RESTRICTED= "Redistribution not allowed"
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/install_flash_player_6_linux
+LATEST_LINK= flash6
PLUGINSDIR= lib/linux-mozilla/plugins
LIBFILES= libflashplayer.so flashplayer.xpt
+DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
+
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
do-install:
@${MKDIR} ${PREFIX}/lib/linux-flashplugin6
- @${MKDIR} ${PREFIX}/share/doc/linux-flashplugin6
- @${MKDIR} ${PREFIX}/${PLUGINSDIR}
.for f in ${LIBFILES}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6/
- @${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6
+.if exists(${PLUGINSDIR})
+ @${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR}
+.endif
.endfor
.if !defined(NOPORTDOCS)
- @${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/linux-flashplugin6/
- @${INSTALL_DATA} ${WRKSRC}/readme.htm ${PREFIX}/share/doc/linux-flashplugin6/
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.htm ${DOCSDIR}
.endif
.include <bsd.port.mk>