aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-09-30 15:20:04 +0800
committeryoichi <yoichi@FreeBSD.org>2002-09-30 15:20:04 +0800
commitf4df42d77c940d813adbda4853511622bd8e594a (patch)
treee3d8954d54cf71caca4c69eef2fc4dbc02d4ee57 /www
parentd78e9845b1c4de941df3d9e666b004ec633a41a6 (diff)
downloadfreebsd-ports-gnome-f4df42d77c940d813adbda4853511622bd8e594a.tar.gz
freebsd-ports-gnome-f4df42d77c940d813adbda4853511622bd8e594a.tar.zst
freebsd-ports-gnome-f4df42d77c940d813adbda4853511622bd8e594a.zip
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
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/flashplugin-mozilla-devel/Makefile15
-rw-r--r--www/flashplugin-mozilla/Makefile15
-rw-r--r--www/flashplugin-mozilla/pkg-plist2
4 files changed, 22 insertions, 11 deletions
diff --git a/www/Makefile b/www/Makefile
index b99bbb01e806..2290b44c83dd 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -73,6 +73,7 @@
SUBDIR += fhttpd
SUBDIR += flashplugin
SUBDIR += flashplugin-mozilla
+ SUBDIR += flashplugin-mozilla-devel
SUBDIR += frontpage
SUBDIR += frontpage-ar
SUBDIR += frontpage-de
diff --git a/www/flashplugin-mozilla-devel/Makefile b/www/flashplugin-mozilla-devel/Makefile
new file mode 100644
index 000000000000..2d29002fff17
--- /dev/null
+++ b/www/flashplugin-mozilla-devel/Makefile
@@ -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"
diff --git a/www/flashplugin-mozilla/Makefile b/www/flashplugin-mozilla/Makefile
index 2be27392377a..30807e342ca8 100644
--- a/www/flashplugin-mozilla/Makefile
+++ b/www/flashplugin-mozilla/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>
diff --git a/www/flashplugin-mozilla/pkg-plist b/www/flashplugin-mozilla/pkg-plist
index 4e3b2308f160..82bb63e6e74a 100644
--- a/www/flashplugin-mozilla/pkg-plist
+++ b/www/flashplugin-mozilla/pkg-plist
@@ -1 +1 @@
-lib/mozilla/plugins/npflash.so
+%%PLUGIN_DIR%%/npflash.so