1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/flashplugin/Makefile
Akinori MUSHA 5265cd36e2 Change MAINTAINER addresses from knu@idaemons.org to knu@FreeBSD.org
so as to make it clear that a FreeBSD committer maintains them.
2000-04-24 15:51:20 +00:00

63 lines
1.5 KiB
Makefile

# 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= knu@FreeBSD.org
.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.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_PROGRAM} ${WRKSRC}/libswf.so ${TARGETDIR}
.include <bsd.port.post.mk>