Make flashplugin-mozilla a master port and add stub port
flashplugin-mozilla-devel. It fixes plist and dependency problem in flashplugin-mozilla PR: ports/43463 Submitted by: maintainer
This commit is contained in:
parent
f03972e26a
commit
24a6bf169b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67261
@ -73,6 +73,7 @@
|
||||
SUBDIR += fhttpd
|
||||
SUBDIR += flashplugin
|
||||
SUBDIR += flashplugin-mozilla
|
||||
SUBDIR += flashplugin-mozilla-devel
|
||||
SUBDIR += frontpage
|
||||
SUBDIR += frontpage-ar
|
||||
SUBDIR += frontpage-de
|
||||
|
15
www/flashplugin-mozilla-devel/Makefile
Normal file
15
www/flashplugin-mozilla-devel/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# New ports collection makefile for: flashplugin-mozilla-devel
|
||||
# Date created: 29 September 2002
|
||||
# Whom: Leland Wang <llwang@infor.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= flashplugin-mozilla-devel
|
||||
|
||||
RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla-devel
|
||||
|
||||
PLUGIN_DIR= lib/mozilla-devel/plugins
|
||||
MASTERDIR= ${.CURDIR}/../flashplugin-mozilla
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= flashplugin-mozilla
|
||||
PORTNAME?= flashplugin-mozilla
|
||||
PORTVERSION= 0.4.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
@ -16,20 +16,15 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= llwang@infor.org
|
||||
|
||||
LIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash
|
||||
RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
|
||||
RUN_DEPENDS?= mozilla:${PORTSDIR}/www/mozilla
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/Plugin
|
||||
PLUGIN_DIR?= lib/mozilla/plugins
|
||||
PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR}
|
||||
|
||||
do-install:
|
||||
.if exists(${X11BASE}/lib/mozilla)
|
||||
@${ECHO_MSG} "Installing flashplugin for mozilla"
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla/plugins
|
||||
.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
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/${PLUGIN_DIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
lib/mozilla/plugins/npflash.so
|
||||
%%PLUGIN_DIR%%/npflash.so
|
||||
|
Loading…
Reference in New Issue
Block a user