1999-10-10 21:49:03 +02:00
|
|
|
# New ports collection makefile for: flashplugin
|
|
|
|
# Version required: 0.4.3
|
|
|
|
# Date created: 3 October 1999
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= flash-0.4.3
|
|
|
|
PKGNAME= flashplugin-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/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
PATCH_SITES= http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
|
|
|
|
PATCHFILES= flash-0.4.3-fbsd-19990512.patch
|
|
|
|
|
|
|
|
MAINTAINER= knu@idaemons.org
|
|
|
|
|
2000-02-12 09:54:54 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400000
|
|
|
|
BROKEN= "This port will only build a broken binary under FreeBSD 4.0 or later. Try pkg_add'ing 3-STABLE's package with compat30 installed."
|
|
|
|
.endif
|
|
|
|
|
1999-10-12 10:09:46 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
MAKE_ENV= OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout
|
1999-10-10 21:49:03 +02:00
|
|
|
PORTOBJFORMAT= aout
|
|
|
|
ALL_TARGET= libswf.so
|
|
|
|
|
1999-10-12 22:59:07 +02:00
|
|
|
pre-build:
|
|
|
|
.if !exists(/usr/lib/aout/c++rt0.o)
|
|
|
|
@${CAT} ${FILESDIR}/message.nolib
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
|
1999-10-10 21:49:03 +02:00
|
|
|
do-install:
|
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
.endif
|
1999-10-12 10:09:46 +02:00
|
|
|
${MKDIR} ${PREFIX}/lib/netscape/plugins
|
1999-10-10 21:49:03 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} OBJFORMAT=aout ${INSTALL_PROGRAM} libswf.so ${PREFIX}/lib/netscape/plugins
|
|
|
|
|
2000-02-12 09:54:54 +01:00
|
|
|
.include <bsd.port.post.mk>
|