aboutsummaryrefslogtreecommitdiff
path: root/www/linux-flashplugin
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-07-21 14:27:22 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-07-21 14:27:22 +0000
commitd611322dbefd9680112cb0a449df2ec901c9aad0 (patch)
treef15d5f13e2829fbc30bfe2c4830aff9f75bc3968 /www/linux-flashplugin
parent0d4441a6fda9bc02b8bf7dae8a770f43d865f1a2 (diff)
downloadports-d611322dbefd9680112cb0a449df2ec901c9aad0.tar.gz
ports-d611322dbefd9680112cb0a449df2ec901c9aad0.zip
use USE_LINUX
sort pkg-plist quiet install PR: 29110 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=45308
Diffstat (limited to 'www/linux-flashplugin')
-rw-r--r--www/linux-flashplugin/Makefile22
-rw-r--r--www/linux-flashplugin/pkg-plist8
2 files changed, 16 insertions, 14 deletions
diff --git a/www/linux-flashplugin/Makefile b/www/linux-flashplugin/Makefile
index 589ecccee1c3..48f875f19a2b 100644
--- a/www/linux-flashplugin/Makefile
+++ b/www/linux-flashplugin/Makefile
@@ -11,13 +11,12 @@ CATEGORIES= www graphics linux
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/
PKGNAMEPREFIX= linux-
DISTNAME= flash_linux
-DIST_SUBDIR= flashplugin/5.0r47
+DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= pat@databits.net
-RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
-
ONLY_FOR_ARCHS= i386
+USE_LINUX= yes
NO_CDROM= "Redistribution not allowed"
NO_BUILD= yes
WRKSRC= ${WRKDIR}/flash_linux
@@ -29,13 +28,16 @@ LIBFILES= libflashplayer.so \
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
do-install:
- ${MKDIR} ${PREFIX}/lib/flash
- ${MKDIR} ${PREFIX}/share/doc/flash
- ${MKDIR} ${PREFIX}/${PLUGINSDIR}
+ @${MKDIR} ${PREFIX}/lib/flash
+ @${MKDIR} ${PREFIX}/share/doc/flash
+ @${MKDIR} ${PREFIX}/${PLUGINSDIR}
.for f in ${LIBFILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/flash/
- ${LN} -sf ${PREFIX}/lib/flash/${f} ${PREFIX}/${PLUGINSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/flash/
+ @${LN} -sf ${PREFIX}/lib/flash/${f} ${PREFIX}/${PLUGINSDIR}/
.endfor
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/flash/
- ${INSTALL_DATA} ${WRKSRC}/ReadMe.htm ${PREFIX}/share/doc/flash/
+.if !defined(NOPORTDOCS)
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/flash/
+ @${INSTALL_DATA} ${WRKSRC}/ReadMe.htm ${PREFIX}/share/doc/flash/
+.endif
+
.include <bsd.port.mk>
diff --git a/www/linux-flashplugin/pkg-plist b/www/linux-flashplugin/pkg-plist
index ffa8b6595033..a6597ea5f428 100644
--- a/www/linux-flashplugin/pkg-plist
+++ b/www/linux-flashplugin/pkg-plist
@@ -2,8 +2,8 @@ lib/flash/ShockwaveFlash.class
lib/flash/libflashplayer.so
%%PLUGINSDIR%%/ShockwaveFlash.class
%%PLUGINSDIR%%/libflashplayer.so
-@unexec rmdir -p %D/%%PLUGINSDIR%% 2>/dev/null || true
-share/doc/flash/README
-share/doc/flash/ReadMe.htm
-@dirrm lib/flash
+%%PORTDOCS%%share/doc/flash/README
+%%PORTDOCS%%share/doc/flash/ReadMe.htm
@dirrm share/doc/flash
+@dirrm lib/flash
+@unexec rmdir -p %D/%%PLUGINSDIR%% 2>/dev/null || true