2001-11-02 14:58:55 +01:00
|
|
|
# New ports collection makefile for: flashplugin-mozilla
|
|
|
|
# Date created: 25 October 2001
|
|
|
|
# Whom: Leland Wang <llwang@infor.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= flashplugin-mozilla
|
|
|
|
PORTVERSION= 0.4.10
|
2002-03-15 08:51:26 +01:00
|
|
|
PORTREVISION= 1
|
2001-11-02 14:58:55 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.swift-tools.com/Flash/
|
|
|
|
DISTNAME= flash-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= llwang@infor.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash
|
|
|
|
RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Plugin
|
|
|
|
|
|
|
|
do-install:
|
2002-09-21 02:54:13 +02:00
|
|
|
.if exists(${X11BASE}/lib/mozilla)
|
|
|
|
@${ECHO_MSG} "Installing flashplugin for mozilla"
|
2001-11-02 14:58:55 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla/plugins
|
2002-09-21 02:54:13 +02:00
|
|
|
.endif
|
|
|
|
.if exists(${X11BASE}/lib/mozilla-devel)
|
|
|
|
@${ECHO_MSG} "Installing flashplugin for mozilla-devel"
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla-devel/plugins
|
|
|
|
.endif
|
2001-11-02 14:58:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|