1999-10-10 15:49:03 -04:00
|
|
|
# New ports collection makefile for: flashplugin
|
|
|
|
# Date created: 3 October 1999
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 20:07:29 -04:00
|
|
|
PORTNAME= flashplugin
|
2001-02-05 10:33:58 -05:00
|
|
|
PORTVERSION= 0.4.3
|
1999-10-10 15:49:03 -04:00
|
|
|
CATEGORIES= www graphics
|
|
|
|
MASTER_SITES= http://www.geocities.com/TimesSquare/Labyrinth/5084/flash/Linux/ \
|
|
|
|
http://perso.club-internet.fr/odebon/flash/Linux/
|
|
|
|
|
2001-03-20 22:57:12 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-10-10 15:49:03 -04:00
|
|
|
|
2000-08-07 22:47:47 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2000-02-12 03:54:54 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-04-21 00:00:08 -04:00
|
|
|
.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
|
2000-02-12 03:54:54 -05:00
|
|
|
|
1999-10-12 04:09:46 -04:00
|
|
|
USE_XLIB= yes
|
|
|
|
MAKE_ENV= OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout
|
1999-10-10 15:49:03 -04:00
|
|
|
PORTOBJFORMAT= aout
|
|
|
|
ALL_TARGET= libswf.so
|
|
|
|
|
1999-10-12 16:59:07 -04:00
|
|
|
pre-build:
|
|
|
|
.if !exists(/usr/lib/aout/c++rt0.o)
|
|
|
|
@${CAT} ${FILESDIR}/message.nolib
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
2000-04-21 00:00:08 -04:00
|
|
|
.else
|
|
|
|
MASTER_SITES= http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
|
2000-12-21 13:21:36 -05:00
|
|
|
DISTNAME= libswf-19990503.so
|
2000-04-21 00:00:08 -04:00
|
|
|
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
|
1999-10-12 16:59:07 -04:00
|
|
|
|
1999-10-10 15:49:03 -04:00
|
|
|
do-install:
|
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
.endif
|
2000-04-21 00:00:08 -04:00
|
|
|
${MKDIR} ${TARGETDIR}
|
|
|
|
${SETENV} OBJFORMAT=aout ${INSTALL_PROGRAM} ${WRKSRC}/libswf.so ${TARGETDIR}
|
1999-10-10 15:49:03 -04:00
|
|
|
|
2000-02-12 03:54:54 -05:00
|
|
|
.include <bsd.port.post.mk>
|