blob: 77d8b12ec85967a0d359b867c42db8d7722ddf87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: flashplugin
# Date created: 3 October 1999
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= flashplugin
PORTVERSION= 0.4.3
CATEGORIES= www graphics
MASTER_SITES= http://www.geocities.com/TimesSquare/Labyrinth/5084/flash/Linux/ \
http://perso.club-internet.fr/odebon/flash/Linux/
MAINTAINER= ports@FreeBSD.org
COMMENT= An implementation of Macromedia Flash plugin for Netscape
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400000
MASTER_SITES= http://www.geocities.com/TimesSquare/Labyrinth/5084/flash/Linux/ \
http://perso.club-internet.fr/odebon/flash/Linux/
DISTNAME= flash-${PORTVERSION}
EXTRACT_SUFX= .tgz
PATCH_SITES= http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
PATCHFILES= flash-0.4.3-fbsd-19990512.patch
USE_XLIB= yes
MAKE_ENV= OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout
PORTOBJFORMAT= aout
ALL_TARGET= libswf.so
pre-build:
.if !exists(/usr/lib/aout/c++rt0.o)
@${CAT} ${FILESDIR}/message.nolib
@${FALSE}
.endif
.else
MASTER_SITES= http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
DISTNAME= libswf-19990503.so
EXTRACT_SUFX= .gz
NO_WRKSUBDIR= yes
NO_BUILD= yes
do-extract:
@${MKDIR} ${WRKDIR}
@${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/libswf.so
do-patch:
@${DO_NADA}
.endif
TARGETDIR= ${PREFIX}/lib/netscape/plugins
do-install:
.if !defined(PACKAGE_BUILDING)
@PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
.endif
${MKDIR} ${TARGETDIR}
${SETENV} OBJFORMAT=aout ${INSTALL_SCRIPT} ${WRKSRC}/libswf.so ${TARGETDIR}
.include <bsd.port.post.mk>
|