mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how you use it) at the same time. I have written a complete document and even show how it works in the www/firefox/Makefile.webplugins so be sure to read in there. If there is anything that isn't clear in the document, please feel free to ask and I will try my best to improvement it. FYI: GNOME 2.24 depends on this, so it's coming. BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified. Approved by: portmgr
This commit is contained in:
parent
23fcf54562
commit
15b6544926
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225627
91 changed files with 1052 additions and 431 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports-stable/Mk/bsd.gecko.mk,v 1.8 2008/06/20 22:17:41 mezz Exp $
|
# $MCom: ports-stable/Mk/bsd.gecko.mk,v 1.12 2008/08/07 04:42:34 mezz Exp $
|
||||||
#
|
#
|
||||||
# 4 column tabs prevent hair loss and tooth decay!
|
# 4 column tabs prevent hair loss and tooth decay!
|
||||||
|
|
||||||
|
@ -130,9 +130,6 @@ GECKO_FALLTRHOUGH= ${TRUE}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Generic defines
|
# Generic defines
|
||||||
BROWSER_LINUX_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_linux_plugins
|
|
||||||
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins
|
|
||||||
|
|
||||||
GECKO_CONFIG?= ${LOCALBASE}/bin/${GECKO}-config
|
GECKO_CONFIG?= ${LOCALBASE}/bin/${GECKO}-config
|
||||||
XPIDL?= ${LOCALBASE}/lib/${GECKO}/xpidl
|
XPIDL?= ${LOCALBASE}/lib/${GECKO}/xpidl
|
||||||
XPIDL_INCL?= `${GECKO_CONFIG} --idlflags`
|
XPIDL_INCL?= `${GECKO_CONFIG} --idlflags`
|
||||||
|
@ -266,7 +263,6 @@ PLISTF?= ${WRKDIR}/plist_files
|
||||||
MASTER_DIR?= ${.CURDIR}/../../www/mozilla
|
MASTER_DIR?= ${.CURDIR}/../../www/mozilla
|
||||||
|
|
||||||
KRB5_HOME?= /usr
|
KRB5_HOME?= /usr
|
||||||
BROWSER_PLUGINS_DIR?= lib/browser_plugins
|
|
||||||
MOZ_PIS_DIR?= lib/${MOZILLA}/init.d
|
MOZ_PIS_DIR?= lib/${MOZILLA}/init.d
|
||||||
|
|
||||||
ESD_LIB?= libesd.so.2
|
ESD_LIB?= libesd.so.2
|
||||||
|
@ -288,10 +284,6 @@ EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude */CVS/* \
|
||||||
--exclude */package/* \
|
--exclude */package/* \
|
||||||
--exclude mozilla/gc/boehm
|
--exclude mozilla/gc/boehm
|
||||||
|
|
||||||
JPI_LIST?=\
|
|
||||||
${LOCALBASE}/jdk1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so \
|
|
||||||
${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so
|
|
||||||
|
|
||||||
MOZ_PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA}-js \
|
MOZ_PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA}-js \
|
||||||
${MOZILLA}-xpcom ${MOZILLA}-plugin
|
${MOZILLA}-xpcom ${MOZILLA}-plugin
|
||||||
|
|
||||||
|
@ -521,8 +513,9 @@ gecko-post-patch:
|
||||||
s|echo aout|echo elf|g ; \
|
s|echo aout|echo elf|g ; \
|
||||||
s|/usr/X11R6|${LOCALBASE}|g' \
|
s|/usr/X11R6|${LOCALBASE}|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
||||||
${WRKSRC}/build/unix/run-mozilla.sh
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||||
|
${WRKSRC}/build/unix/run-mozilla.sh
|
||||||
@${REINPLACE_CMD} -E -e 's|libesd\.so\.[0-9]+|libesd.so|g' \
|
@${REINPLACE_CMD} -E -e 's|libesd\.so\.[0-9]+|libesd.so|g' \
|
||||||
${WRKSRC}/widget/src/gtk2/nsSound.cpp
|
${WRKSRC}/widget/src/gtk2/nsSound.cpp
|
||||||
@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.so|g' \
|
@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.so|g' \
|
||||||
|
@ -592,8 +585,6 @@ gecko-create-plist:
|
||||||
.for f in ${GECKO_PLIST_PRE_DIRS}
|
.for f in ${GECKO_PLIST_PRE_DIRS}
|
||||||
${ECHO_CMD} "@dirrm ${f}" >> ${PLISTD}
|
${ECHO_CMD} "@dirrm ${f}" >> ${PLISTD}
|
||||||
.endfor
|
.endfor
|
||||||
${ECHO_CMD} "${BROWSER_PLUGINS_DIR}/.${MOZILLA}.keep" >> ${PLISTF}
|
|
||||||
${ECHO_CMD} "@dirrmtry ${BROWSER_PLUGINS_DIR}" >> ${PLISTD}
|
|
||||||
${MKDIR} ${FAKEDIR}/libdata
|
${MKDIR} ${FAKEDIR}/libdata
|
||||||
${MV} -f ${FAKEDIR}/lib/pkgconfig ${FAKEDIR}/libdata/ || ${TRUE}
|
${MV} -f ${FAKEDIR}/lib/pkgconfig ${FAKEDIR}/libdata/ || ${TRUE}
|
||||||
${RM} -f ${FAKEDIR}/lib/pkgconfig
|
${RM} -f ${FAKEDIR}/lib/pkgconfig
|
||||||
|
@ -632,8 +623,6 @@ gecko-do-install:
|
||||||
${INSTALL_DATA} ${FAKEDIR}/libdata/pkgconfig/${pcfile}.pc \
|
${INSTALL_DATA} ${FAKEDIR}/libdata/pkgconfig/${pcfile}.pc \
|
||||||
${PREFIX}/libdata/pkgconfig/${pcfile}.pc
|
${PREFIX}/libdata/pkgconfig/${pcfile}.pc
|
||||||
.endfor
|
.endfor
|
||||||
${MKDIR} ${PREFIX}/${BROWSER_PLUGINS_DIR}
|
|
||||||
${TOUCH} -f ${PREFIX}/${BROWSER_PLUGINS_DIR}/.${MOZILLA}.keep
|
|
||||||
.endif # !defined(NOGECKO_INSTALL)
|
.endif # !defined(NOGECKO_INSTALL)
|
||||||
|
|
||||||
gecko-moz-pis-pre-install:
|
gecko-moz-pis-pre-install:
|
||||||
|
|
23
UPDATING
23
UPDATING
|
@ -6,6 +6,18 @@ You should get into the habit of checking this file for changes each
|
||||||
time you update your ports collection, before attempting any port
|
time you update your ports collection, before attempting any port
|
||||||
upgrades.
|
upgrades.
|
||||||
|
|
||||||
|
20090109:
|
||||||
|
AFFECTS: users of any Mozilla and Opera products
|
||||||
|
AUTHOR: mezz@freebsd.org
|
||||||
|
|
||||||
|
The Java plugins now no longer will be pick up by automatically from these
|
||||||
|
browsers. Because all Java ports have same name of plugins file. I am
|
||||||
|
thinking about someone or maybe me will need to write something similar
|
||||||
|
function of nspluginwrapper (but in shell script) that can add Java plugin
|
||||||
|
in ~/.*/plugins/ when user request to select one version of Java plugin if
|
||||||
|
this user has more than one version of Java installed. However, for now,
|
||||||
|
you will have to add Java plugin in ~/.*/plugins/ by manually.
|
||||||
|
|
||||||
20090107:
|
20090107:
|
||||||
AFFECTS: users of databases/unixODBC
|
AFFECTS: users of databases/unixODBC
|
||||||
AUTHOR: beech@freebsd.org
|
AUTHOR: beech@freebsd.org
|
||||||
|
@ -610,17 +622,6 @@ upgrades.
|
||||||
with the port, also new 'reload' and 'debug' commands for the rc.d
|
with the port, also new 'reload' and 'debug' commands for the rc.d
|
||||||
script. Enjoy!
|
script. Enjoy!
|
||||||
|
|
||||||
20080727:
|
|
||||||
AFFECTS: users of www/firefox3
|
|
||||||
AUTHOR: gnome@FreeBSD.org
|
|
||||||
|
|
||||||
Update to 3.0.1_1,1; it no longer seeks for plugins in lib/browser_plugins,
|
|
||||||
because few plugins that built with Firefox 2 can cause Firefox 3 to crash.
|
|
||||||
We are working on making some changes with plugins directory by using
|
|
||||||
www/linux-mplayer-plugin/Makefile.npapi. If there are some other plugins
|
|
||||||
that work with Firefox 3 and you would like to use, you can copy them to
|
|
||||||
~/.mozilla/plugins or /usr/local/lib/firefox3/plugins manually for now.
|
|
||||||
|
|
||||||
20080725:
|
20080725:
|
||||||
AFFECTS: users of x11-fm/nautilus and misc/shared-mime-info
|
AFFECTS: users of x11-fm/nautilus and misc/shared-mime-info
|
||||||
AUTHOR: gnome@FreeBSD.org
|
AUTHOR: gnome@FreeBSD.org
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/audio/rhythmbox-devel/Makefile,v 1.90 2008/03/17 04:31:25 marcus Exp $
|
# $MCom: ports-stable/audio/rhythmbox-devel/Makefile,v 1.2 2009/01/09 23:41:21 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= rhythmbox
|
PORTNAME= rhythmbox
|
||||||
PORTVERSION= 0.11.6
|
PORTVERSION= 0.11.6
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= audio gnome
|
CATEGORIES= audio gnome
|
||||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.11
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.11
|
||||||
|
@ -127,9 +127,14 @@ PLIST_SUB+= IPOD="@comment "
|
||||||
.if !defined(WITHOUT_GECKO_PLUGIN)
|
.if !defined(WITHOUT_GECKO_PLUGIN)
|
||||||
USE_GECKO= firefox mozilla seamonkey xulrunner<->firefox firefox-devel<->firefox
|
USE_GECKO= firefox mozilla seamonkey xulrunner<->firefox firefox-devel<->firefox
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko18
|
||||||
|
WEBPLUGINS_FILES=librhythmbox-itms-detection-plugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--enable-browser-plugin \
|
CONFIGURE_ARGS+=--enable-browser-plugin \
|
||||||
--with-gecko=${GECKO}
|
--with-gecko=${GECKO}
|
||||||
CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${BROWSER_PLUGINS_DIR}
|
CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${WEBPLUGINS_DIR}
|
||||||
PLIST_SUB+= GECKO_PLUGIN=""
|
PLIST_SUB+= GECKO_PLUGIN=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-browser-plugin
|
CONFIGURE_ARGS+=--disable-browser-plugin
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
bin/rhythmbox
|
bin/rhythmbox
|
||||||
bin/rhythmbox-client
|
bin/rhythmbox-client
|
||||||
%%GECKO_PLUGIN%%lib/browser_plugins/librhythmbox-itms-detection-plugin.a
|
%%GECKO_PLUGIN%%%%WEBPLUGINS_DIR%%/librhythmbox-itms-detection-plugin.a
|
||||||
%%GECKO_PLUGIN%%lib/browser_plugins/librhythmbox-itms-detection-plugin.la
|
%%GECKO_PLUGIN%%%%WEBPLUGINS_DIR%%/librhythmbox-itms-detection-plugin.la
|
||||||
%%GECKO_PLUGIN%%lib/browser_plugins/librhythmbox-itms-detection-plugin.so
|
%%GECKO_PLUGIN%%%%WEBPLUGINS_DIR%%/librhythmbox-itms-detection-plugin.so
|
||||||
lib/librhythmbox-core.a
|
lib/librhythmbox-core.a
|
||||||
lib/librhythmbox-core.la
|
lib/librhythmbox-core.la
|
||||||
lib/librhythmbox-core.so
|
lib/librhythmbox-core.so
|
||||||
|
@ -609,6 +609,7 @@ share/rhythmbox/rhythmbox-ui.xml
|
||||||
%%PYTHON%%@dirrm lib/rhythmbox/plugins/artdisplay
|
%%PYTHON%%@dirrm lib/rhythmbox/plugins/artdisplay
|
||||||
@dirrm lib/rhythmbox/plugins
|
@dirrm lib/rhythmbox/plugins
|
||||||
@dirrm lib/rhythmbox
|
@dirrm lib/rhythmbox
|
||||||
|
%%GECKO_PLUGIN%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@dirrmtry share/applications
|
@dirrmtry share/applications
|
||||||
@dirrmtry share/locale/zh_HK/LC_MESSAGES
|
@dirrmtry share/locale/zh_HK/LC_MESSAGES
|
||||||
@dirrmtry share/locale/zh_HK
|
@dirrmtry share/locale/zh_HK
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= djview
|
PORTNAME= djview
|
||||||
PORTVERSION= 4.4
|
PORTVERSION= 4.4
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= SF/djvu
|
MASTER_SITES= SF/djvu
|
||||||
DISTNAME= ${PORTNAME}4-${PORTVERSION}
|
DISTNAME= ${PORTNAME}4-${PORTVERSION}
|
||||||
|
@ -39,18 +39,20 @@ QMAKESPEC?= freebsd-g++
|
||||||
MAN1= djview4.1 nsdejavu.1
|
MAN1= djview4.1 nsdejavu.1
|
||||||
MLINKS= djview4.1 djview.1
|
MLINKS= djview4.1 djview.1
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_DIR= ${PREFIX}/lib/djview4/plugins
|
||||||
|
WEBPLUGINS_FILES= nsdejavu.so
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's,/netscape/,/djview4/,' \
|
@${REINPLACE_CMD} -e 's,/netscape/,/djview4/,' \
|
||||||
${WRKSRC}/nsdejavu/Makefile.in ${WRKSRC}/nsdejavu/nsdejavu.1.in
|
${WRKSRC}/nsdejavu/Makefile.in ${WRKSRC}/nsdejavu/nsdejavu.1.in
|
||||||
@${REINPLACE_CMD} -e 's,@NSDEJAVU_LIBS@,@NSDEJAVU_LIBS@ -lXt -lXext,g' \
|
@${REINPLACE_CMD} -e 's,@NSDEJAVU_LIBS@,@NSDEJAVU_LIBS@ -lXt -lXext,g' \
|
||||||
${WRKSRC}/nsdejavu/Makefile.in ${WRKSRC}/nsdejavu/nsdejavu.1.in
|
${WRKSRC}/nsdejavu/Makefile.in
|
||||||
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${LOCALBASE}/lib/browser_plugins
|
|
||||||
${LN} -sf ${PREFIX}/lib/djview4/plugins/nsdejavu.so \
|
|
||||||
${LOCALBASE}/lib/browser_plugins/nsdejavu.so
|
|
||||||
|
|
||||||
@${FIND} -ds ${PREFIX}/share/djvu/djview4/ ! -type d | \
|
@${FIND} -ds ${PREFIX}/share/djvu/djview4/ ! -type d | \
|
||||||
${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
|
${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
|
||||||
|
|
||||||
|
@ -59,4 +61,4 @@ post-install:
|
||||||
@${ECHO_CMD} "@unexec ${RMDIR} %D/share/djvu 2>/dev/null || true" \
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/share/djvu 2>/dev/null || true" \
|
||||||
>> ${TMPPLIST}
|
>> ${TMPPLIST}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
bin/djview
|
bin/djview
|
||||||
bin/djview4
|
bin/djview4
|
||||||
lib/djview4/plugins/nsdejavu.so
|
lib/djview4/plugins/nsdejavu.so
|
||||||
@exec mkdir -p %%LOCALBASE%%/lib/browser_plugins
|
|
||||||
@exec ln -sf %D/lib/djview4/plugins/nsdejavu.so %%LOCALBASE%%/lib/browser_plugins/nsdejavu.so
|
|
||||||
@unexec rm -f %%LOCALBASE%%/lib/browser_plugins/nsdejavu.so
|
|
||||||
@unexec rmdir %%LOCALBASE%%/lib/browser_plugins > /dev/null 2>&1 || true
|
|
||||||
@dirrm lib/djview4/plugins
|
@dirrm lib/djview4/plugins
|
||||||
@dirrm lib/djview4
|
@dirrm lib/djview4
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= djvulibre
|
PORTNAME= djvulibre
|
||||||
PORTVERSION= 3.5.21
|
PORTVERSION= 3.5.21
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics www
|
CATEGORIES= graphics www
|
||||||
MASTER_SITES= SF/djvu
|
MASTER_SITES= SF/djvu
|
||||||
|
|
||||||
|
@ -41,7 +41,12 @@ MAN1= djview3.1 nsdejavu.1
|
||||||
MLINKS= djview3.1 djview.1
|
MLINKS= djview3.1 djview.1
|
||||||
DESKTOPDIR= ${PREFIX}/share/djvu/djview3/desktop
|
DESKTOPDIR= ${PREFIX}/share/djvu/djview3/desktop
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_DIR= ${PREFIX}/lib/djvulibre/plugins
|
||||||
|
WEBPLUGINS_FILES= nsdejavu.so
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -E \
|
@${REINPLACE_CMD} -E \
|
||||||
|
@ -82,11 +87,4 @@ post-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/desktopfiles/register-djview-menu \
|
${INSTALL_SCRIPT} ${WRKSRC}/desktopfiles/register-djview-menu \
|
||||||
${DESKTOPDIR}
|
${DESKTOPDIR}
|
||||||
|
|
||||||
#
|
|
||||||
# Install browser plugin.
|
|
||||||
#
|
|
||||||
@${MKDIR} ${LOCALBASE}/lib/browser_plugins
|
|
||||||
${LN} -sf ${PREFIX}/lib/djvulibre/plugins/nsdejavu.so \
|
|
||||||
${LOCALBASE}/lib/browser_plugins/nsdejavu.so
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -12,9 +12,6 @@ share/djvu/djview3/fr/djview.qm
|
||||||
share/djvu/djview3/fr/qt.qm
|
share/djvu/djview3/fr/qt.qm
|
||||||
share/djvu/djview3/ja/djview.qm
|
share/djvu/djview3/ja/djview.qm
|
||||||
share/djvu/djview3/ja/qt.qm
|
share/djvu/djview3/ja/qt.qm
|
||||||
@exec mkdir -p %%LOCALBASE%%/lib/browser_plugins
|
|
||||||
@exec ln -sf %D/lib/djvulibre/plugins/nsdejavu.so %%LOCALBASE%%/lib/browser_plugins/nsdejavu.so
|
|
||||||
@unexec rm -f %%LOCALBASE%%/lib/browser_plugins/nsdejavu.so
|
|
||||||
@dirrm share/djvu/djview3/ja
|
@dirrm share/djvu/djview3/ja
|
||||||
@dirrm share/djvu/djview3/fr
|
@dirrm share/djvu/djview3/fr
|
||||||
@dirrm share/djvu/djview3/desktop
|
@dirrm share/djvu/djview3/desktop
|
||||||
|
@ -24,4 +21,3 @@ share/djvu/djview3/ja/qt.qm
|
||||||
@dirrmtry share/djvu
|
@dirrmtry share/djvu
|
||||||
@dirrm lib/djvulibre/plugins
|
@dirrm lib/djvulibre/plugins
|
||||||
@dirrm lib/djvulibre
|
@dirrm lib/djvulibre
|
||||||
@unexec rmdir %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gnash
|
PORTNAME= gnash
|
||||||
PORTVERSION= 20081208
|
PORTVERSION= 20081208
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
# gnashdev.org is slower
|
# gnashdev.org is slower
|
||||||
MASTER_SITES= http://mirror.amdmi3.ru/ \
|
MASTER_SITES= http://mirror.amdmi3.ru/ \
|
||||||
|
@ -43,7 +44,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
|
||||||
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
|
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
|
||||||
--with-boost-lib="${LOCALBASE}/lib" \
|
--with-boost-lib="${LOCALBASE}/lib" \
|
||||||
--with-npapi-plugindir="${PREFIX}/lib/browser_plugins" \
|
--with-npapi-plugindir="${WEBPLUGINS_DIR}" \
|
||||||
--with-kde-pluginprefix="${PREFIX}"
|
--with-kde-pluginprefix="${PREFIX}"
|
||||||
|
|
||||||
GNASHVER= trunk
|
GNASHVER= trunk
|
||||||
|
@ -70,6 +71,9 @@ OPTIONS= PLUGIN "Enable browser plugin" on \
|
||||||
|
|
||||||
# Plugin option processing
|
# Plugin option processing
|
||||||
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_PLUGIN)
|
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_PLUGIN)
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES= libgnashplugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
PLIST_SUB+= FFPLUGIN=""
|
PLIST_SUB+= FFPLUGIN=""
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= FFPLUGIN="@comment "
|
PLIST_SUB+= FFPLUGIN="@comment "
|
||||||
|
|
|
@ -6,7 +6,7 @@ bin/soldumper
|
||||||
%%GTK%%bin/gtk-gnash
|
%%GTK%%bin/gtk-gnash
|
||||||
%%KDE%%bin/kde-gnash
|
%%KDE%%bin/kde-gnash
|
||||||
%%CYGNAL%%bin/cygnal
|
%%CYGNAL%%bin/cygnal
|
||||||
%%FFPLUGIN%%lib/browser_plugins/libgnashplugin.so
|
%%FFPLUGIN%%%%WEBPLUGINS_DIR%%/libgnashplugin.so
|
||||||
%%KONQPLUGIN%%share/apps/klash/pluginsinfo
|
%%KONQPLUGIN%%share/apps/klash/pluginsinfo
|
||||||
%%KONQPLUGIN%%share/apps/klash/klashpartui.rc
|
%%KONQPLUGIN%%share/apps/klash/klashpartui.rc
|
||||||
%%KONQPLUGIN%%share/services/klash_part.desktop
|
%%KONQPLUGIN%%share/services/klash_part.desktop
|
||||||
|
@ -58,4 +58,4 @@ share/locale/sv/LC_MESSAGES/gnash.mo
|
||||||
@dirrm %%DOCSDIR%%
|
@dirrm %%DOCSDIR%%
|
||||||
@dirrm lib/gnash
|
@dirrm lib/gnash
|
||||||
%%KONQPLUGIN%%@dirrm share/apps/klash
|
%%KONQPLUGIN%%@dirrm share/apps/klash
|
||||||
%%FFPLUGIN%%@dirrmtry lib/browser_plugins
|
%%FFPLUGIN%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gnash
|
PORTNAME= gnash
|
||||||
PORTVERSION= 0.8.4
|
PORTVERSION= 0.8.4
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= http://getgnash.org/packages/releases/ \
|
MASTER_SITES= http://getgnash.org/packages/releases/ \
|
||||||
${MASTER_SITE_GNU}
|
${MASTER_SITE_GNU}
|
||||||
|
@ -40,7 +40,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
|
||||||
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
|
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
|
||||||
--with-boost-lib="${LOCALBASE}/lib" \
|
--with-boost-lib="${LOCALBASE}/lib" \
|
||||||
--with-npapi-plugindir="${PREFIX}/lib/browser_plugins" \
|
--with-npapi-plugindir="${WEBPLUGINS_DIR}" \
|
||||||
--with-kde-pluginprefix="${PREFIX}"
|
--with-kde-pluginprefix="${PREFIX}"
|
||||||
|
|
||||||
GNASHVER= ${PORTVERSION}
|
GNASHVER= ${PORTVERSION}
|
||||||
|
@ -66,6 +66,9 @@ OPTIONS= PLUGIN "Enable browser plugin" on \
|
||||||
|
|
||||||
# Plugin option processing
|
# Plugin option processing
|
||||||
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_PLUGIN)
|
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_PLUGIN)
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES= libgnashplugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
PLIST_SUB+= FFPLUGIN=""
|
PLIST_SUB+= FFPLUGIN=""
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= FFPLUGIN="@comment "
|
PLIST_SUB+= FFPLUGIN="@comment "
|
||||||
|
|
|
@ -6,7 +6,7 @@ bin/soldumper
|
||||||
%%GTK%%bin/gtk-gnash
|
%%GTK%%bin/gtk-gnash
|
||||||
%%KDE%%bin/kde-gnash
|
%%KDE%%bin/kde-gnash
|
||||||
%%CYGNAL%%bin/cygnal
|
%%CYGNAL%%bin/cygnal
|
||||||
%%FFPLUGIN%%lib/browser_plugins/libgnashplugin.so
|
%%FFPLUGIN%%%%WEBPLUGINS_DIR%%/libgnashplugin.so
|
||||||
%%KONQPLUGIN%%share/apps/klash/pluginsinfo
|
%%KONQPLUGIN%%share/apps/klash/pluginsinfo
|
||||||
%%KONQPLUGIN%%share/apps/klash/klashpartui.rc
|
%%KONQPLUGIN%%share/apps/klash/klashpartui.rc
|
||||||
%%KONQPLUGIN%%share/services/klash_part.desktop
|
%%KONQPLUGIN%%share/services/klash_part.desktop
|
||||||
|
@ -55,4 +55,4 @@ share/locale/sv/LC_MESSAGES/gnash.mo
|
||||||
@dirrm %%DOCSDIR%%
|
@dirrm %%DOCSDIR%%
|
||||||
@dirrm lib/gnash
|
@dirrm lib/gnash
|
||||||
%%KONQPLUGIN%%@dirrm share/apps/klash
|
%%KONQPLUGIN%%@dirrm share/apps/klash
|
||||||
%%FFPLUGIN%%@dirrmtry lib/browser_plugins
|
%%FFPLUGIN%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Ade Lovett <ade@FreeBSD.org>
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/graphics/librsvg2/Makefile,v 1.121 2008/03/04 18:51:53 kwm Exp $
|
# $MCom: ports-stable/graphics/librsvg2/Makefile,v 1.3 2008/09/23 20:34:45 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= librsvg2
|
PORTNAME= librsvg2
|
||||||
PORTVERSION= 2.22.3
|
PORTVERSION= 2.22.3
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics gnome
|
CATEGORIES= graphics gnome
|
||||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||||
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||||
|
@ -46,7 +47,10 @@ OPTIONS= MOZILLA_PLUGIN "Enable the SVG browser plug-in" no
|
||||||
|
|
||||||
.if defined(WITH_MOZILLA_PLUGIN)
|
.if defined(WITH_MOZILLA_PLUGIN)
|
||||||
USE_GECKO= firefox mozilla seamonkey xulrunner
|
USE_GECKO= firefox mozilla seamonkey xulrunner
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=libmozsvgdec.so
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
CONFIGURE_ENV+= MOZILLA_CONFIG=no
|
CONFIGURE_ENV+= MOZILLA_CONFIG=no
|
||||||
CONFIGURE_ARGS+=--enable-mozilla-plugin=yes
|
CONFIGURE_ARGS+=--enable-mozilla-plugin=yes
|
||||||
|
|
||||||
|
@ -61,6 +65,8 @@ post-patch:
|
||||||
.if defined(WITH_MOZILLA_PLUGIN)
|
.if defined(WITH_MOZILLA_PLUGIN)
|
||||||
@${REINPLACE_CMD} -e 's|mozilla-plugin|${GECKO}-plugin|g' \
|
@${REINPLACE_CMD} -e 's|mozilla-plugin|${GECKO}-plugin|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
@${REINPLACE_CMD} -e 's|[$$][(]libdir[)]/mozilla/plugins|${WEBPLUGINS_DIR}|g' \
|
||||||
|
${WRKSRC}/moz-plugin/Makefile.in
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
--- moz-plugin/Makefile.in.orig 2008-09-23 15:17:45.000000000 -0500
|
--- moz-plugin/Makefile.in.orig 2008-09-23 15:17:45.000000000 -0500
|
||||||
+++ moz-plugin/Makefile.in 2008-09-23 15:19:11.000000000 -0500
|
+++ moz-plugin/Makefile.in 2008-09-23 15:19:11.000000000 -0500
|
||||||
@@ -227,7 +227,7 @@
|
|
||||||
top_build_prefix = @top_build_prefix@
|
|
||||||
top_builddir = @top_builddir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
-plugindir = $(libdir)/mozilla/plugins
|
|
||||||
+plugindir = $(libdir)/browser_plugins
|
|
||||||
@WITH_MOZILLA_FALSE@plugin_LTLIBRARIES =
|
|
||||||
@WITH_MOZILLA_TRUE@plugin_LTLIBRARIES = libmozsvgdec.la
|
|
||||||
INCLUDES = $(MOZILLA_CFLAGS) -DBINDIR=\"$(bindir)/\" $(GLIB_CFLAGS) $(GDK_X11_CFLAGS)
|
|
||||||
@@ -270,7 +270,7 @@
|
@@ -270,7 +270,7 @@
|
||||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
|
install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
|
||||||
|
|
|
@ -5,9 +5,9 @@ include/librsvg-2/librsvg/librsvg-enum-types.h
|
||||||
include/librsvg-2/librsvg/librsvg-features.h
|
include/librsvg-2/librsvg/librsvg-features.h
|
||||||
include/librsvg-2/librsvg/rsvg-cairo.h
|
include/librsvg-2/librsvg/rsvg-cairo.h
|
||||||
include/librsvg-2/librsvg/rsvg.h
|
include/librsvg-2/librsvg/rsvg.h
|
||||||
%%PLUGIN%%lib/browser_plugins/libmozsvgdec.a
|
%%PLUGIN%%%%WEBPLUGINS_DIR%%/libmozsvgdec.a
|
||||||
%%PLUGIN%%lib/browser_plugins/libmozsvgdec.la
|
%%PLUGIN%%%%WEBPLUGINS_DIR%%/libmozsvgdec.la
|
||||||
%%PLUGIN%%lib/browser_plugins/libmozsvgdec.so
|
%%PLUGIN%%%%WEBPLUGINS_DIR%%/libmozsvgdec.so
|
||||||
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.a
|
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.a
|
||||||
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.la
|
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.la
|
||||||
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.so
|
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.so
|
||||||
|
@ -38,6 +38,7 @@ share/doc/rsvg/style.css
|
||||||
share/doc/rsvg/up.png
|
share/doc/rsvg/up.png
|
||||||
share/pixmaps/svg-viewer.svg
|
share/pixmaps/svg-viewer.svg
|
||||||
@dirrm share/doc/rsvg
|
@dirrm share/doc/rsvg
|
||||||
|
%%PLUGIN%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@dirrm include/librsvg-2/librsvg
|
@dirrm include/librsvg-2/librsvg
|
||||||
@dirrm include/librsvg-2
|
@dirrm include/librsvg-2
|
||||||
@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
|
@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/mail/thunderbird/Makefile,v 1.28 2008/01/10 17:58:39 mezz Exp $
|
# $MCom: ports-stable/mail/thunderbird/Makefile,v 1.18 2009/01/02 21:16:20 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= thunderbird
|
PORTNAME= thunderbird
|
||||||
DISTVERSION= 2.0.0.19
|
DISTVERSION= 2.0.0.19
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/thunderbird:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/mail/thunderbird/Makefile,v 1.28 2008/01/10 17:58:39 mezz Exp $
|
# $MCom: ports-stable/mail/thunderbird/Makefile,v 1.18 2009/01/02 21:16:20 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= thunderbird
|
PORTNAME= thunderbird
|
||||||
DISTVERSION= 2.0.0.19
|
DISTVERSION= 2.0.0.19
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/thunderbird:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/mail/thunderbird/Makefile,v 1.28 2008/01/10 17:58:39 mezz Exp $
|
# $MCom: ports-stable/mail/thunderbird/Makefile,v 1.18 2009/01/02 21:16:20 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= thunderbird
|
PORTNAME= thunderbird
|
||||||
DISTVERSION= 2.0.0.19
|
DISTVERSION= 2.0.0.19
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/thunderbird:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gxine
|
PORTNAME= gxine
|
||||||
PORTVERSION= 0.5.903
|
PORTVERSION= 0.5.903
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
MASTER_SITE_SUBDIR= xine
|
MASTER_SITE_SUBDIR= xine
|
||||||
|
@ -78,7 +79,10 @@ CONFIGURE_ARGS+=--without-browser-plugin
|
||||||
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
||||||
.else
|
.else
|
||||||
USE_GECKO= firefox mozilla seamonkey xulrunner
|
USE_GECKO= firefox mozilla seamonkey xulrunner
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_DIR= ${PREFIX}/lib/gxine
|
||||||
|
WEBPLUGINS_FILES=gxineplugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
LIB_DEPENDS+= nspr4.1:${PORTSDIR}/devel/nspr
|
LIB_DEPENDS+= nspr4.1:${PORTSDIR}/devel/nspr
|
||||||
CONFIGURE_ENV+= NSPR_CFLAGS="-I${LOCALBASE}/include/nspr" \
|
CONFIGURE_ENV+= NSPR_CFLAGS="-I${LOCALBASE}/include/nspr" \
|
||||||
NSPR_LIBS="-L${LOCALBASE}/lib"
|
NSPR_LIBS="-L${LOCALBASE}/lib"
|
||||||
|
@ -100,10 +104,4 @@ pre-configure:
|
||||||
@${REINPLACE_CMD} -e "s:@MAKE_PNG_TRUE@:#:g" \
|
@${REINPLACE_CMD} -e "s:@MAKE_PNG_TRUE@:#:g" \
|
||||||
${WRKSRC}/pixmaps/Makefile.in
|
${WRKSRC}/pixmaps/Makefile.in
|
||||||
|
|
||||||
post-install:
|
|
||||||
.if !defined(WITHOUT_MOZILLA_PLUGIN)
|
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
|
||||||
@${LN} -sf ${PREFIX}/lib/gxine/gxineplugin.so ${PREFIX}/lib/browser_plugins
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -5,7 +5,6 @@ etc/gxine/keypad.xml
|
||||||
etc/gxine/startup
|
etc/gxine/startup
|
||||||
etc/gxine/toolbar-fullscreen.xml
|
etc/gxine/toolbar-fullscreen.xml
|
||||||
etc/gxine/toolbar-window.xml
|
etc/gxine/toolbar-window.xml
|
||||||
%%MOZILLA_PLUGIN%%lib/browser_plugins/gxineplugin.so
|
|
||||||
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.a
|
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.a
|
||||||
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.la
|
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.la
|
||||||
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.so
|
%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.so
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: arved
|
# Whom: arved
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/kaffeine-mozilla/Makefile,v 1.3 2006/10/08 16:54:34 mezz Exp $
|
# $MCom: ports-stable/multimedia/kaffeine-mozilla/Makefile,v 1.1 2008/08/01 23:13:21 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= kaffeine-mozilla
|
PORTNAME= kaffeine-mozilla
|
||||||
PORTVERSION= 0.2
|
PORTVERSION= 0.2
|
||||||
PORTREVISION= 9
|
PORTREVISION= 10
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= SF/kaffeine
|
MASTER_SITES= SF/kaffeine
|
||||||
|
|
||||||
|
@ -19,12 +19,18 @@ RUN_DEPENDS= kaffeine:${PORTSDIR}/multimedia/kaffeine
|
||||||
|
|
||||||
USE_XORG= x11 xaw
|
USE_XORG= x11 xaw
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=kaffeineplugin.so
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
||||||
USE_AUTOTOOLS= libtool:15
|
USE_AUTOTOOLS= libtool:15
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e "s,prefix)/plugins,prefix)/lib/browser_plugins," ${WRKSRC}/src/Makefile.in
|
${REINPLACE_CMD} -e "s,[$$][(]prefix[)]/plugins,${WEBPLUGINS_DIR}," \
|
||||||
|
${WRKSRC}/src/Makefile.in
|
||||||
${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure
|
${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
lib/browser_plugins/kaffeineplugin.so
|
%%WEBPLUGINS_DIR%%/kaffeineplugin.so
|
||||||
lib/browser_plugins/kaffeineplugin.la
|
%%WEBPLUGINS_DIR%%/kaffeineplugin.la
|
||||||
lib/browser_plugins/kaffeineplugin.a
|
%%WEBPLUGINS_DIR%%/kaffeineplugin.a
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: Hendrik Scholz <hendrik@scholz.net>
|
# Whom: Hendrik Scholz <hendrik@scholz.net>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/totem/Makefile,v 1.102 2008/03/16 06:11:13 mezz Exp $
|
# $MCom: ports-stable/multimedia/totem/Makefile,v 1.9 2008/08/02 21:17:25 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= totem
|
PORTNAME= totem
|
||||||
PORTVERSION= 2.22.2
|
PORTVERSION= 2.22.2
|
||||||
PORTREVISION?= 3
|
PORTREVISION?= 4
|
||||||
CATEGORIES= multimedia gnome
|
CATEGORIES= multimedia gnome
|
||||||
MASTER_SITES= GNOME
|
MASTER_SITES= GNOME
|
||||||
DIST_SUBDIR= gnome2
|
DIST_SUBDIR= gnome2
|
||||||
|
@ -100,6 +100,16 @@ CONFIGURE_ARGS+=--with-mozilla=${GECKO} \
|
||||||
--enable-complex-plugin \
|
--enable-complex-plugin \
|
||||||
--enable-narrowspace-plugin
|
--enable-narrowspace-plugin
|
||||||
PLIST_SUB+= GECKO_PLUGINS=""
|
PLIST_SUB+= GECKO_PLUGINS=""
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES= libtotem-basic-plugin.so libtotem-basic-plugin.xpt \
|
||||||
|
libtotem-complex-plugin.so libtotem-complex-plugin.xpt \
|
||||||
|
libtotem-cone-plugin.so libtotem-cone-plugin.xpt \
|
||||||
|
libtotem-gmp-plugin.so libtotem-gmp-plugin.xpt \
|
||||||
|
libtotem-mully-plugin.so libtotem-mully-plugin.xpt \
|
||||||
|
libtotem-narrowspace-plugin.so \
|
||||||
|
libtotem-narrowspace-plugin.xpt
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--without-mozilla \
|
CONFIGURE_ARGS+=--without-mozilla \
|
||||||
--disable-browser-plugins \
|
--disable-browser-plugins \
|
||||||
|
@ -139,12 +149,9 @@ pre-everything::
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${CP} -f ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
|
@${CP} -f ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
|
||||||
@${REINPLACE_CMD} -e ' s|@MOZILLA_PLUGINDIR@|${PREFIX}/lib/browser_plugins|; \
|
@${REINPLACE_CMD} -e 's|dbus >= 0.61|dbus-1 >= 0.61|g ; \
|
||||||
s|mozilla/plugins|browser_plugins|' \
|
s|_PLUGINDIR=".*"|_PLUGINDIR="${WEBPLUGINS_DIR}"|g' \
|
||||||
${WRKSRC}/browser-plugin/Makefile.in \
|
${WRKSRC}/configure
|
||||||
${WRKSRC}/browser-plugin/idl/Makefile.in
|
|
||||||
@${REINPLACE_CMD} -e 's|dbus >= 0.61|dbus-1 >= 0.61|g' \
|
|
||||||
${WRKSRC}/configure
|
|
||||||
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
|
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
|
||||||
${WRKSRC}/src/backend/bacon-video-widget-gst-0.10.c
|
${WRKSRC}/src/backend/bacon-video-widget-gst-0.10.c
|
||||||
|
|
||||||
|
|
|
@ -2,30 +2,30 @@ bin/totem
|
||||||
bin/totem-audio-preview
|
bin/totem-audio-preview
|
||||||
bin/totem-video-indexer
|
bin/totem-video-indexer
|
||||||
bin/totem-video-thumbnailer
|
bin/totem-video-thumbnailer
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-basic-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-basic-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-basic-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-basic-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-basic-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-basic-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-basic-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-basic-plugin.xpt
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-complex-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-complex-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-complex-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-complex-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-complex-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-complex-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-complex-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-complex-plugin.xpt
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-cone-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-cone-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-cone-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-cone-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.xpt
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-gmp-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-gmp-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-gmp-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-gmp-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.xpt
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-mully-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-mully-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-mully-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-mully-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.xpt
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-narrowspace-plugin.a
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.a
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-narrowspace-plugin.la
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.la
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-narrowspace-plugin.so
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.so
|
||||||
%%GECKO_PLUGINS%%lib/browser_plugins/libtotem-narrowspace-plugin.xpt
|
%%GECKO_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.xpt
|
||||||
lib/nautilus/extensions-2.0/libtotem-properties-page.a
|
lib/nautilus/extensions-2.0/libtotem-properties-page.a
|
||||||
lib/nautilus/extensions-2.0/libtotem-properties-page.la
|
lib/nautilus/extensions-2.0/libtotem-properties-page.la
|
||||||
lib/nautilus/extensions-2.0/libtotem-properties-page.so
|
lib/nautilus/extensions-2.0/libtotem-properties-page.so
|
||||||
|
@ -403,7 +403,7 @@ share/vala/vapi/totem.vapi
|
||||||
%%GALAGO%%@dirrm lib/totem/plugins/galago
|
%%GALAGO%%@dirrm lib/totem/plugins/galago
|
||||||
@dirrm lib/totem/plugins
|
@dirrm lib/totem/plugins
|
||||||
@dirrm lib/totem
|
@dirrm lib/totem
|
||||||
%%GECKO_PLUGINS%%@dirrmtry lib/browser_plugins
|
%%GECKO_PLUGINS%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||||
@dirrmtry share/applications
|
@dirrmtry share/applications
|
||||||
|
|
|
@ -3,13 +3,14 @@
|
||||||
# Whom: Brian Somers <brian@FreeBSD.org>
|
# Whom: Brian Somers <brian@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/vlc-devel/Makefile,v 1.21 2006/10/01 18:16:43 ahze Exp $
|
# $MCom: ports-stable/multimedia/vlc-devel/Makefile,v 1.11 2009/01/09 23:41:21 mezz Exp $
|
||||||
# $Id: Makefile 6 2006-09-27 14:05:34Z buhnux $
|
# $Id: Makefile 6 2006-09-27 14:05:34Z buhnux $
|
||||||
# *** PLEASE READ Makefile.inc for more information on knobs ***
|
# *** PLEASE READ Makefile.inc for more information on knobs ***
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= vlc
|
PORTNAME= vlc
|
||||||
DISTVERSION= 0.9.8a
|
DISTVERSION= 0.9.8a
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 3
|
PORTEPOCH= 3
|
||||||
CATEGORIES= multimedia audio ipv6 net www
|
CATEGORIES= multimedia audio ipv6 net www
|
||||||
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
|
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
|
||||||
|
@ -393,6 +394,9 @@ CONFIGURE_ARGS+=--disable-a52
|
||||||
|
|
||||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||||
USE_GECKO= firefox mozilla seamonkey nvu
|
USE_GECKO= firefox mozilla seamonkey nvu
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=libvlcplugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
|
CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
|
||||||
XPIDL="${XPIDL}" \
|
XPIDL="${XPIDL}" \
|
||||||
XPIDL_INCL="${XPIDL_INCL}"
|
XPIDL_INCL="${XPIDL_INCL}"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# and will be autodetected to enable
|
# and will be autodetected to enable
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/vlc-devel/Makefile.inc,v 1.8 2006/10/01 18:16:43 ahze Exp $
|
# $MCom: ports-stable/multimedia/vlc-devel/Makefile.inc,v 1.4 2009/01/09 23:41:21 mezz Exp $
|
||||||
# $Id: Makefile.inc 6 2006-09-27 14:05:34Z buhnux $
|
# $Id: Makefile.inc 6 2006-09-27 14:05:34Z buhnux $
|
||||||
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
||||||
# the WITHOUT_ will always over ride the WITH_.
|
# the WITHOUT_ will always over ride the WITH_.
|
||||||
|
@ -281,7 +281,8 @@ pre-install: build
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||||
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
||||||
${SED} -e 's|^|lib/browser_plugins/|' >> ${PLIST}
|
${SED} -e 's|^|%%WEBPLUGINS_DIR%%/|' >> ${PLIST}
|
||||||
|
${ECHO_CMD} "@dirrmtry %%WEBPLUGINS_DIR%%" >> ${PLIST}
|
||||||
.endif
|
.endif
|
||||||
.for locale in co fur my oc ps tet tl
|
.for locale in co fur my oc ps tet tl
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
|
@ -298,8 +299,8 @@ do-install:
|
||||||
cd ${FAKEDIR}/share && ${FIND} . | \
|
cd ${FAKEDIR}/share && ${FIND} . | \
|
||||||
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
||||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${PREFIX}/lib/browser_plugins
|
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${WEBPLUGINS_DIR}
|
||||||
.endif
|
.endif
|
||||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
||||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
# Whom: Brian Somers <brian@FreeBSD.org>
|
# Whom: Brian Somers <brian@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/vlc-devel/Makefile,v 1.21 2006/10/01 18:16:43 ahze Exp $
|
# $MCom: ports-stable/multimedia/vlc/Makefile,v 1.6 2009/01/09 23:41:21 mezz Exp $
|
||||||
# $Id: Makefile 6 2006-09-27 14:05:34Z buhnux $
|
# $Id: Makefile 6 2006-09-27 14:05:34Z buhnux $
|
||||||
# *** PLEASE READ Makefile.inc for more information on knobs ***
|
# *** PLEASE READ Makefile.inc for more information on knobs ***
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= vlc
|
PORTNAME= vlc
|
||||||
DISTVERSION= 0.8.6i
|
DISTVERSION= 0.8.6i
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= multimedia audio ipv6 net www
|
CATEGORIES= multimedia audio ipv6 net www
|
||||||
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \
|
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \
|
||||||
|
@ -354,6 +354,10 @@ CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
|
||||||
XPIDL="${XPIDL}" \
|
XPIDL="${XPIDL}" \
|
||||||
XPIDL_INCL="${XPIDL_INCL}"
|
XPIDL_INCL="${XPIDL_INCL}"
|
||||||
CONFIGURE_ARGS+=--enable-mozilla
|
CONFIGURE_ARGS+=--enable-mozilla
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=libvlcplugin.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITHOUT_MPEG2)
|
.if !defined(WITHOUT_MPEG2)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# and will be autodetected to enable
|
# and will be autodetected to enable
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/multimedia/vlc-devel/Makefile.inc,v 1.8 2006/10/01 18:16:43 ahze Exp $
|
# $MCom: ports-stable/multimedia/vlc/Makefile.inc,v 1.5 2009/01/09 23:41:21 mezz Exp $
|
||||||
# $Id: Makefile.inc 6 2006-09-27 14:05:34Z buhnux $
|
# $Id: Makefile.inc 6 2006-09-27 14:05:34Z buhnux $
|
||||||
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
||||||
# the WITHOUT_ will always over ride the WITH_.
|
# the WITHOUT_ will always over ride the WITH_.
|
||||||
|
@ -302,7 +302,8 @@ pre-install: build
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||||
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
||||||
${SED} -e 's|^|lib/browser_plugins/|' >> ${PLIST}
|
${SED} -e 's|^|%%WEBPLUGINS_DIR%%/|' >> ${PLIST}
|
||||||
|
${ECHO_CMD} "@dirrmtry %%WEBPLUGINS_DIR%%" >> ${PLIST}
|
||||||
.endif
|
.endif
|
||||||
.for locale in co fur my oc ps tet tl
|
.for locale in co fur my oc ps tet tl
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
|
@ -322,8 +323,8 @@ do-install:
|
||||||
cd ${FAKEDIR}/share && ${FIND} . | \
|
cd ${FAKEDIR}/share && ${FIND} . | \
|
||||||
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
||||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${PREFIX}/lib/browser_plugins
|
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${WEBPLUGINS_DIR}
|
||||||
.endif
|
.endif
|
||||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
||||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= opensc
|
PORTNAME= opensc
|
||||||
PORTVERSION= 0.11.6
|
PORTVERSION= 0.11.6
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= security devel
|
CATEGORIES= security devel
|
||||||
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ \
|
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ \
|
||||||
http://www.opensc-project.org/files/${PORTNAME}/testing/
|
http://www.opensc-project.org/files/${PORTNAME}/testing/
|
||||||
|
@ -78,9 +79,13 @@ RUN_DEPENDS+= pinentry:${PORTSDIR}/${PINENTRY_PORT}
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
CONFIGURE_ARGS+=--enable-nsplugin \
|
CONFIGURE_ARGS+=--enable-nsplugin \
|
||||||
--with-libassuan-prefix=${LOCALBASE} \
|
--with-libassuan-prefix=${LOCALBASE} \
|
||||||
--with-plugindir=${LOCALBASE}/lib/browser_plugins \
|
--with-plugindir=${WEBPLUGINS_DIR} \
|
||||||
--with-pinentry=${PINENTRY}
|
--with-pinentry=${PINENTRY}
|
||||||
PLIST_SUB+= SIGNER=""
|
PLIST_SUB+= SIGNER=""
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=opensc-signer.so
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= SIGNER="@comment "
|
PLIST_SUB+= SIGNER="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -29,7 +29,7 @@ include/opensc/ui.h
|
||||||
libdata/pkgconfig/libopensc.pc
|
libdata/pkgconfig/libopensc.pc
|
||||||
libdata/pkgconfig/libpkcs15init.pc
|
libdata/pkgconfig/libpkcs15init.pc
|
||||||
libdata/pkgconfig/libscconf.pc
|
libdata/pkgconfig/libscconf.pc
|
||||||
%%SIGNER%%lib/browser_plugins/opensc-signer.so
|
%%SIGNER%%%%WEBPLUGINS_DIR%%/opensc-signer.so
|
||||||
%%SIGNER%%lib/opensc-signer.a
|
%%SIGNER%%lib/opensc-signer.a
|
||||||
%%SIGNER%%lib/opensc-signer.la
|
%%SIGNER%%lib/opensc-signer.la
|
||||||
%%SIGNER%%lib/opensc-signer.so
|
%%SIGNER%%lib/opensc-signer.so
|
||||||
|
@ -72,6 +72,7 @@ lib/pkcs11/pkcs11-spy.so
|
||||||
%%DATADIR%%/rutoken.profile
|
%%DATADIR%%/rutoken.profile
|
||||||
%%DATADIR%%/setcos.profile
|
%%DATADIR%%/setcos.profile
|
||||||
%%DATADIR%%/starcos.profile
|
%%DATADIR%%/starcos.profile
|
||||||
|
%%SIGNER%%@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@dirrm include/opensc
|
@dirrm include/opensc
|
||||||
@dirrm lib/pkcs11
|
@dirrm lib/pkcs11
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
PORTNAME= gxmlviewer
|
PORTNAME= gxmlviewer
|
||||||
PORTVERSION= 1.3.3
|
PORTVERSION= 1.3.3
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -21,14 +21,18 @@ USE_GETTEXT= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}"
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_DIR= ${PREFIX}/lib/gxmlviewer/plugins
|
||||||
|
WEBPLUGINS_FILES=npgxmlviewer.so
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \
|
@${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \
|
||||||
s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in
|
s|/netscape/|/gxmlviewer/|g ; \
|
||||||
|
s|@LIBS@|@LIBS@ -lXt -lXext|g' \
|
||||||
|
${WRKSRC}/src/nsplugin/Makefile.in
|
||||||
|
|
||||||
post-install:
|
.include <bsd.port.post.mk>
|
||||||
@${MKDIR} ${LOCALBASE}/lib/browser_plugins
|
|
||||||
@${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \
|
|
||||||
${LOCALBASE}/lib/browser_plugins/npgxmlviewer.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
|
@ -3,9 +3,5 @@ bin/xmlview-control
|
||||||
bin/xmlformatter
|
bin/xmlformatter
|
||||||
lib/gxmlviewer/plugins/npgxmlviewer.so
|
lib/gxmlviewer/plugins/npgxmlviewer.so
|
||||||
share/oaf/GNOME_XMLView.oaf
|
share/oaf/GNOME_XMLView.oaf
|
||||||
@unexec rm -f %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so
|
|
||||||
@unexec rmdir %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true
|
|
||||||
@exec mkdir -p %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true
|
|
||||||
@exec ln -sf %D/lib/gxmlviewer/plugins/npgxmlviewer.so %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so
|
|
||||||
@dirrm lib/gxmlviewer/plugins
|
@dirrm lib/gxmlviewer/plugins
|
||||||
@dirrm lib/gxmlviewer
|
@dirrm lib/gxmlviewer
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= dummyflash
|
PORTNAME= dummyflash
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= ftp://ftp.netscape.com/pub/sdk/plugin/unix/
|
MASTER_SITES= ftp://ftp.netscape.com/pub/sdk/plugin/unix/
|
||||||
DISTNAME= unix-sdk-3.0b5
|
DISTNAME= unix-sdk-3.0b5
|
||||||
|
@ -21,8 +21,14 @@ BUILD_WRKSRC= ${WRKSRC}/PluginSDK30b5/examples/UnixTemplate/Unix
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
MAKEFILE= makefile.freebsd
|
MAKEFILE= makefile.freebsd
|
||||||
|
|
||||||
do-install:
|
USE_WEBPLUGINS= native
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
WEBPLUGINS_FILES=dummyflash.so
|
||||||
${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/browser_plugins
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
|
${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${WEBPLUGINS_DIR}
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
lib/browser_plugins/dummyflash.so
|
%%WEBPLUGINS_DIR%%/dummyflash.so
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/epiphany/Makefile,v 1.168 2008/03/17 05:00:09 marcus Exp $
|
# $MCom: ports-stable/www/epiphany/Makefile,v 1.11 2008/08/06 04:20:12 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= epiphany
|
PORTNAME= epiphany
|
||||||
PORTVERSION= 2.22.3
|
PORTVERSION= 2.22.3
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 1
|
||||||
CATEGORIES= www gnome
|
CATEGORIES= www gnome
|
||||||
MASTER_SITES= GNOME
|
MASTER_SITES= GNOME
|
||||||
DIST_SUBDIR= gnome2
|
DIST_SUBDIR= gnome2
|
||||||
|
@ -96,7 +96,7 @@ post-patch:
|
||||||
's|-lpthread|${PTHREAD_LIBS}|g'
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
||||||
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
|
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
@${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins" ":" MOZILLA_PREFIX "/lib/browser_linux_plugins"|' \
|
@${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins/symlinks/gecko18"|' \
|
||||||
${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp
|
${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox-devel/Makefile,v 1.36 2007/02/24 21:00:46 mezz Exp $
|
# $MCom: ports-stable/www/firefox-devel/Makefile,v 1.7 2008/08/07 04:42:35 mezz Exp $
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 3.0.a2
|
DISTVERSION= 3.0.a2
|
||||||
PORTREVISION= 3
|
PORTREVISION= 5
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||||
|
@ -95,17 +95,6 @@ port-pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
|
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/firefox-devel
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
+
|
+
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox/Makefile,v 1.43 2008/02/09 16:38:43 marcus Exp $
|
# $MCom: ports-stable/www/firefox/Makefile,v 1.32 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 2.0.0.20
|
DISTVERSION= 2.0.0.20
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
|
@ -93,17 +94,6 @@ pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
226
www/firefox-esr/Makefile.webplugins
Normal file
226
www/firefox-esr/Makefile.webplugins
Normal file
|
@ -0,0 +1,226 @@
|
||||||
|
#-*- mode: makefile; tab-width: 4; -*
|
||||||
|
# ex:ts=4
|
||||||
|
#
|
||||||
|
# New ports collection makefile for: npapi infrastructure
|
||||||
|
# Date created: 27 June 2006
|
||||||
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
# $MCom: ports-stable/www/firefox/Makefile.webplugins,v 1.14 2008/11/12 17:55:09 mezz Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
# MAINTAINER= gnome@FreeBSD.org
|
||||||
|
#
|
||||||
|
# Documentation and examples:
|
||||||
|
#
|
||||||
|
# Makefile.webplugins will create symlinks automatically for each supported
|
||||||
|
# applications that supports the webplugins framework. Also, it will remove
|
||||||
|
# these symlinks when the plug-in port is uninstalled.
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS - Specify a list of application(s) that this plug-in
|
||||||
|
# port supports. For each of these applications, a
|
||||||
|
# symlink will be created in
|
||||||
|
# lib/browser_plugins/symlinks. See
|
||||||
|
# WEBPLUGINS_APPS_ALL_* below for the list of
|
||||||
|
# supported applications.
|
||||||
|
# Default: USE_WEBPLUGINS=${WEBPLUGINS_APPS_ALL} (all
|
||||||
|
# applications)
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_NAME - If your port installs file(s) in ${WEBPLUGINS_DIR},
|
||||||
|
# then you can tweak WEBPLUGINS_NAME to change the
|
||||||
|
# name of the directory
|
||||||
|
# (lib/browser_plugins/symlinks/WEBPLUGINS_NAME).
|
||||||
|
# Default: WEBPLUGINS_NAME=${PKGBASE}
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_FILES - The plug-in file(s) that are going to be linked
|
||||||
|
# in lib/browser_plugins/symlinks/*/. It cannot
|
||||||
|
# be empty or the port will set IGNORE.
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_DIR - The directory where the plug-in file(s) can be
|
||||||
|
# found. Each plug-in file in WEBPLUGINS_FILES
|
||||||
|
# must be found in WEBPLUGINS_DIR. If your port
|
||||||
|
# does not install in WEBPLUGINS_DIR, but in its own
|
||||||
|
# path. You will need to specify that here or
|
||||||
|
# symlinks will be created to non-existent files.
|
||||||
|
# Default: WEBPLUGINS_DIR?=${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# The USE_WEBPLUGINS supports wildcards, native, and linux; so you can do any
|
||||||
|
# of the following:
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS=gecko* (Supports gecko18 and gecko19.)
|
||||||
|
# USE_WEBPLUGINS=native (Supports gecko*, opera*, and webkit-gtk2)
|
||||||
|
# USE_WEBPLUGINS=linux (Supports linux-*)
|
||||||
|
# USE_WEBPLUGINS=opera webkit-gtk2
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if the plug-in file(s) install in
|
||||||
|
# WEBPLUGINS_DIR, and if your port does this manually:
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# post-install:
|
||||||
|
# ${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
|
# ${INSTALL_DATA} ${WEBPLUGINS_FILES:S,^,${WRKSRC}/plugins/,} \
|
||||||
|
# ${WEBPLUGINS_DIR}
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# You do not need to add lib/browser_plugins and lib/browser_plugins/symlinks
|
||||||
|
# in pkg-plist, because they will be removed automatically.
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.so
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.xpi
|
||||||
|
# @dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates the symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# If your port uses libtool, and installs any *.a and *.la files, do not add
|
||||||
|
# these files to WEBPLUGINS_FILES. WEBPLUGINS_FILES should be *.so or/and
|
||||||
|
# *.xpi ONLY.
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if your port installs plug-ins in
|
||||||
|
# its own directory, and you need to set WEBPLUGINS_DIR.
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_DIR=#{PREFIX}/lib/application
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# [...]
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# As for the pkg-plist, it should only include the actual files your
|
||||||
|
# port installs:
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# lib/application/fooplugin.a
|
||||||
|
# lib/application/fooplugin.la
|
||||||
|
# lib/application/fooplugin.so
|
||||||
|
# lib/application/fooplugin.xpi
|
||||||
|
# @dirrm lib/application
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
|
||||||
|
WEBPLUGINS_NAME?= ${PKGBASE}
|
||||||
|
WEBPLUGINS_FILES?= empty
|
||||||
|
WEBPLUGINS_APPS_ALL_LINUX= linux-firefox linux-firefox-devel linux-flock \
|
||||||
|
linux-flock-devel linux-mozilla \
|
||||||
|
linux-nvu linux-opera linux-opera-devel \
|
||||||
|
linux-seamonkey linux-seamonkey-devel \
|
||||||
|
linux-sunbird linux-sunbird-devel
|
||||||
|
WEBPLUGINS_APPS_ALL_NATIVE= gecko18 gecko19 opera opera-devel webkit-gtk2
|
||||||
|
WEBPLUGINS_APPS_ALL= ${WEBPLUGINS_APPS_ALL_LINUX} \
|
||||||
|
${WEBPLUGINS_APPS_ALL_NATIVE}
|
||||||
|
|
||||||
|
.if !defined(USE_WEBPLUGINS) || ${USE_WEBPLUGINS} == "yes" || \
|
||||||
|
${USE_WEBPLUGINS} == "*"
|
||||||
|
USE_WEBPLUGINS= ${WEBPLUGINS_APPS_ALL}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WEBPLUGINS_FILES) || ${WEBPLUGINS_FILES} == "empty" || \
|
||||||
|
${WEBPLUGINS_FILES} == ""
|
||||||
|
IGNORE= cannot install: the WEBPLUGINS_FILES is empty, please add plugins file in it and see in www/firefox/Makefile.webplugins for document
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.for _TEMP_APP__ in ${WEBPLUGINS_APPS_ALL}
|
||||||
|
_TEMP_APP_=${_TEMP_APP__}
|
||||||
|
_TEMP_FLAG_=0
|
||||||
|
. for _TEMP_USE__ in ${USE_WEBPLUGINS}
|
||||||
|
_TEMP_USE_=${_TEMP_USE__}
|
||||||
|
. if !${_TEMP_APP_:C!${_TEMP_USE_:S/*/.*/:S/?/./}!!} || \
|
||||||
|
( ${_TEMP_APP_:Mlinux-*} && ${_TEMP_USE_:Mlinux} ) || \
|
||||||
|
( ${_TEMP_APP_:Nlinux-*} && ${_TEMP_USE_:Mnative} )
|
||||||
|
_TEMP_FLAG_=1
|
||||||
|
. endif
|
||||||
|
. endfor
|
||||||
|
. if ${_TEMP_FLAG_}
|
||||||
|
USE_WEBPLUGINS_EXP+= ${_TEMP_APP__}
|
||||||
|
. endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
WEBPLUGINS_APPS= ${USE_WEBPLUGINS_EXP:S.^.${LOCALBASE}/lib/.:S.$./plugins.:N*opera*:N*gecko*:N*webkit*}
|
||||||
|
WEBPLUGINS_SLDIRS= ${USE_WEBPLUGINS_EXP:S.^.${WEBPLUGINS_SLDIR}/.}
|
||||||
|
WEBPLUGINS_LINKFARMS= ${WEBPLUGINS_APPS} ${WEBPLUGINS_SLDIRS}
|
||||||
|
|
||||||
|
WEBPLUGINS_LIBDIR= ${PREFIX}/lib/browser_plugins
|
||||||
|
WEBPLUGINS_SLDIR= ${WEBPLUGINS_LIBDIR}/symlinks
|
||||||
|
WEBPLUGINS_DIR?= ${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
|
||||||
|
PLIST_SUB+= WEBPLUGINS_DIR="${WEBPLUGINS_DIR:S,^${PREFIX}/,,}"
|
||||||
|
|
||||||
|
_LNWF= ${WEBPLUGINS_FILES:S,^,${WEBPLUGINS_DIR}/,}
|
||||||
|
_Q= 2>/dev/null || true
|
||||||
|
_WLD= ${WEBPLUGINS_LIBDIR:S,^${PREFIX},%D,}
|
||||||
|
_WLF= ${WEBPLUGINS_LINKFARMS:S,${PREFIX},%D,}
|
||||||
|
_WSD= ${WEBPLUGINS_SLDIR:S,^${PREFIX},%D,}
|
||||||
|
|
||||||
|
webplugins-post-install:
|
||||||
|
@if [ ! -d ${WEBPLUGINS_DIR} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"${WEBPLUGINS_DIR}\" in WEBPLUGINS_DIR is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
else \
|
||||||
|
for _f in ${WEBPLUGINS_FILES}; do \
|
||||||
|
if [ ! -f ${WEBPLUGINS_DIR}/$${_f} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"$${_f}\" in WEBPLUGINS_FILES is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
fi; \
|
||||||
|
for _d in ${WEBPLUGINS_LINKFARMS}; do \
|
||||||
|
${INSTALL} -d $${_d}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${LN} -sf $${_l} $${_d}/ ${_Q}; \
|
||||||
|
done; \
|
||||||
|
done; \
|
||||||
|
for _d in ${_WLF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${INSTALL} -d $$_d" >> ${TMPPLIST}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${LN} -sf $$_l $$_d/ ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
for _f in ${WEBPLUGINS_FILES:S,^,\${_d}/,}; do \
|
||||||
|
${ECHO_CMD} "@unexec ${RM} -f $$_f" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
${ECHO_CMD} "@unexec rmdir $$_d ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WSD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WLD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
|
||||||
|
post-install: webplugins-post-install
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox/Makefile,v 1.43 2008/02/09 16:38:43 marcus Exp $
|
# $MCom: ports-stable/www/firefox/Makefile,v 1.32 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 2.0.0.20
|
DISTVERSION= 2.0.0.20
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
|
@ -93,17 +94,6 @@ pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
226
www/firefox/Makefile.webplugins
Normal file
226
www/firefox/Makefile.webplugins
Normal file
|
@ -0,0 +1,226 @@
|
||||||
|
#-*- mode: makefile; tab-width: 4; -*
|
||||||
|
# ex:ts=4
|
||||||
|
#
|
||||||
|
# New ports collection makefile for: npapi infrastructure
|
||||||
|
# Date created: 27 June 2006
|
||||||
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
# $MCom: ports-stable/www/firefox/Makefile.webplugins,v 1.14 2008/11/12 17:55:09 mezz Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
# MAINTAINER= gnome@FreeBSD.org
|
||||||
|
#
|
||||||
|
# Documentation and examples:
|
||||||
|
#
|
||||||
|
# Makefile.webplugins will create symlinks automatically for each supported
|
||||||
|
# applications that supports the webplugins framework. Also, it will remove
|
||||||
|
# these symlinks when the plug-in port is uninstalled.
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS - Specify a list of application(s) that this plug-in
|
||||||
|
# port supports. For each of these applications, a
|
||||||
|
# symlink will be created in
|
||||||
|
# lib/browser_plugins/symlinks. See
|
||||||
|
# WEBPLUGINS_APPS_ALL_* below for the list of
|
||||||
|
# supported applications.
|
||||||
|
# Default: USE_WEBPLUGINS=${WEBPLUGINS_APPS_ALL} (all
|
||||||
|
# applications)
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_NAME - If your port installs file(s) in ${WEBPLUGINS_DIR},
|
||||||
|
# then you can tweak WEBPLUGINS_NAME to change the
|
||||||
|
# name of the directory
|
||||||
|
# (lib/browser_plugins/symlinks/WEBPLUGINS_NAME).
|
||||||
|
# Default: WEBPLUGINS_NAME=${PKGBASE}
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_FILES - The plug-in file(s) that are going to be linked
|
||||||
|
# in lib/browser_plugins/symlinks/*/. It cannot
|
||||||
|
# be empty or the port will set IGNORE.
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_DIR - The directory where the plug-in file(s) can be
|
||||||
|
# found. Each plug-in file in WEBPLUGINS_FILES
|
||||||
|
# must be found in WEBPLUGINS_DIR. If your port
|
||||||
|
# does not install in WEBPLUGINS_DIR, but in its own
|
||||||
|
# path. You will need to specify that here or
|
||||||
|
# symlinks will be created to non-existent files.
|
||||||
|
# Default: WEBPLUGINS_DIR?=${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# The USE_WEBPLUGINS supports wildcards, native, and linux; so you can do any
|
||||||
|
# of the following:
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS=gecko* (Supports gecko18 and gecko19.)
|
||||||
|
# USE_WEBPLUGINS=native (Supports gecko*, opera*, and webkit-gtk2)
|
||||||
|
# USE_WEBPLUGINS=linux (Supports linux-*)
|
||||||
|
# USE_WEBPLUGINS=opera webkit-gtk2
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if the plug-in file(s) install in
|
||||||
|
# WEBPLUGINS_DIR, and if your port does this manually:
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# post-install:
|
||||||
|
# ${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
|
# ${INSTALL_DATA} ${WEBPLUGINS_FILES:S,^,${WRKSRC}/plugins/,} \
|
||||||
|
# ${WEBPLUGINS_DIR}
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# You do not need to add lib/browser_plugins and lib/browser_plugins/symlinks
|
||||||
|
# in pkg-plist, because they will be removed automatically.
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.so
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.xpi
|
||||||
|
# @dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates the symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# If your port uses libtool, and installs any *.a and *.la files, do not add
|
||||||
|
# these files to WEBPLUGINS_FILES. WEBPLUGINS_FILES should be *.so or/and
|
||||||
|
# *.xpi ONLY.
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if your port installs plug-ins in
|
||||||
|
# its own directory, and you need to set WEBPLUGINS_DIR.
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_DIR=#{PREFIX}/lib/application
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# [...]
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# As for the pkg-plist, it should only include the actual files your
|
||||||
|
# port installs:
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# lib/application/fooplugin.a
|
||||||
|
# lib/application/fooplugin.la
|
||||||
|
# lib/application/fooplugin.so
|
||||||
|
# lib/application/fooplugin.xpi
|
||||||
|
# @dirrm lib/application
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
|
||||||
|
WEBPLUGINS_NAME?= ${PKGBASE}
|
||||||
|
WEBPLUGINS_FILES?= empty
|
||||||
|
WEBPLUGINS_APPS_ALL_LINUX= linux-firefox linux-firefox-devel linux-flock \
|
||||||
|
linux-flock-devel linux-mozilla \
|
||||||
|
linux-nvu linux-opera linux-opera-devel \
|
||||||
|
linux-seamonkey linux-seamonkey-devel \
|
||||||
|
linux-sunbird linux-sunbird-devel
|
||||||
|
WEBPLUGINS_APPS_ALL_NATIVE= gecko18 gecko19 opera opera-devel webkit-gtk2
|
||||||
|
WEBPLUGINS_APPS_ALL= ${WEBPLUGINS_APPS_ALL_LINUX} \
|
||||||
|
${WEBPLUGINS_APPS_ALL_NATIVE}
|
||||||
|
|
||||||
|
.if !defined(USE_WEBPLUGINS) || ${USE_WEBPLUGINS} == "yes" || \
|
||||||
|
${USE_WEBPLUGINS} == "*"
|
||||||
|
USE_WEBPLUGINS= ${WEBPLUGINS_APPS_ALL}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WEBPLUGINS_FILES) || ${WEBPLUGINS_FILES} == "empty" || \
|
||||||
|
${WEBPLUGINS_FILES} == ""
|
||||||
|
IGNORE= cannot install: the WEBPLUGINS_FILES is empty, please add plugins file in it and see in www/firefox/Makefile.webplugins for document
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.for _TEMP_APP__ in ${WEBPLUGINS_APPS_ALL}
|
||||||
|
_TEMP_APP_=${_TEMP_APP__}
|
||||||
|
_TEMP_FLAG_=0
|
||||||
|
. for _TEMP_USE__ in ${USE_WEBPLUGINS}
|
||||||
|
_TEMP_USE_=${_TEMP_USE__}
|
||||||
|
. if !${_TEMP_APP_:C!${_TEMP_USE_:S/*/.*/:S/?/./}!!} || \
|
||||||
|
( ${_TEMP_APP_:Mlinux-*} && ${_TEMP_USE_:Mlinux} ) || \
|
||||||
|
( ${_TEMP_APP_:Nlinux-*} && ${_TEMP_USE_:Mnative} )
|
||||||
|
_TEMP_FLAG_=1
|
||||||
|
. endif
|
||||||
|
. endfor
|
||||||
|
. if ${_TEMP_FLAG_}
|
||||||
|
USE_WEBPLUGINS_EXP+= ${_TEMP_APP__}
|
||||||
|
. endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
WEBPLUGINS_APPS= ${USE_WEBPLUGINS_EXP:S.^.${LOCALBASE}/lib/.:S.$./plugins.:N*opera*:N*gecko*:N*webkit*}
|
||||||
|
WEBPLUGINS_SLDIRS= ${USE_WEBPLUGINS_EXP:S.^.${WEBPLUGINS_SLDIR}/.}
|
||||||
|
WEBPLUGINS_LINKFARMS= ${WEBPLUGINS_APPS} ${WEBPLUGINS_SLDIRS}
|
||||||
|
|
||||||
|
WEBPLUGINS_LIBDIR= ${PREFIX}/lib/browser_plugins
|
||||||
|
WEBPLUGINS_SLDIR= ${WEBPLUGINS_LIBDIR}/symlinks
|
||||||
|
WEBPLUGINS_DIR?= ${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
|
||||||
|
PLIST_SUB+= WEBPLUGINS_DIR="${WEBPLUGINS_DIR:S,^${PREFIX}/,,}"
|
||||||
|
|
||||||
|
_LNWF= ${WEBPLUGINS_FILES:S,^,${WEBPLUGINS_DIR}/,}
|
||||||
|
_Q= 2>/dev/null || true
|
||||||
|
_WLD= ${WEBPLUGINS_LIBDIR:S,^${PREFIX},%D,}
|
||||||
|
_WLF= ${WEBPLUGINS_LINKFARMS:S,${PREFIX},%D,}
|
||||||
|
_WSD= ${WEBPLUGINS_SLDIR:S,^${PREFIX},%D,}
|
||||||
|
|
||||||
|
webplugins-post-install:
|
||||||
|
@if [ ! -d ${WEBPLUGINS_DIR} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"${WEBPLUGINS_DIR}\" in WEBPLUGINS_DIR is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
else \
|
||||||
|
for _f in ${WEBPLUGINS_FILES}; do \
|
||||||
|
if [ ! -f ${WEBPLUGINS_DIR}/$${_f} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"$${_f}\" in WEBPLUGINS_FILES is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
fi; \
|
||||||
|
for _d in ${WEBPLUGINS_LINKFARMS}; do \
|
||||||
|
${INSTALL} -d $${_d}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${LN} -sf $${_l} $${_d}/ ${_Q}; \
|
||||||
|
done; \
|
||||||
|
done; \
|
||||||
|
for _d in ${_WLF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${INSTALL} -d $$_d" >> ${TMPPLIST}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${LN} -sf $$_l $$_d/ ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
for _f in ${WEBPLUGINS_FILES:S,^,\${_d}/,}; do \
|
||||||
|
${ECHO_CMD} "@unexec ${RM} -f $$_f" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
${ECHO_CMD} "@unexec rmdir $$_d ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WSD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WLD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
|
||||||
|
post-install: webplugins-post-install
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox-devel/Makefile,v 1.36 2007/02/24 21:00:46 mezz Exp $
|
# $MCom: ports-stable/www/firefox-devel/Makefile,v 1.7 2008/08/07 04:42:35 mezz Exp $
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 3.0.a2
|
DISTVERSION= 3.0.a2
|
||||||
PORTREVISION= 3
|
PORTREVISION= 5
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||||
|
@ -95,17 +95,6 @@ port-pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
|
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/firefox-devel
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
+
|
+
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports-stable/www/firefox3/Makefile,v 1.11 2008/06/30 16:07:29 mezz Exp $
|
# $MCom: ports-stable/www/firefox3/Makefile,v 1.20 2008/12/31 01:52:03 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 3.0.5
|
DISTVERSION= 3.0.5
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||||
|
@ -112,17 +113,6 @@ port-pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
#do-install:
|
|
||||||
# if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
# for jpi in ${JPI_LIST}; do \
|
|
||||||
# if [ -f $${jpi} ]; then \
|
|
||||||
# ${LN} -sf $${jpi} \
|
|
||||||
# ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
# break; \
|
|
||||||
# fi; \
|
|
||||||
# done; \
|
|
||||||
# fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
12
www/firefox3/files/patch-build_unix_run-mozilla.sh
Normal file
12
www/firefox3/files/patch-build_unix_run-mozilla.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- build/unix/run-mozilla.sh.orig Tue Feb 14 19:56:54 2006
|
||||||
|
+++ build/unix/run-mozilla.sh Fri Dec 8 15:49:48 2006
|
||||||
|
@@ -443,6 +443,9 @@
|
||||||
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
|
|
||||||
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/firefox3
|
||||||
|
+export MOZ_PLUGIN_PATH
|
||||||
|
+
|
||||||
|
if [ $moz_debug -eq 1 ]
|
||||||
|
then
|
||||||
|
moz_debug_program ${1+"$@"}
|
|
@ -3,11 +3,11 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox-devel/Makefile,v 1.36 2007/02/24 21:00:46 mezz Exp $
|
# $MCom: ports-stable/www/firefox-devel/Makefile,v 1.7 2008/08/07 04:42:35 mezz Exp $
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 3.0.a2
|
DISTVERSION= 3.0.a2
|
||||||
PORTREVISION= 3
|
PORTREVISION= 5
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||||
|
@ -95,17 +95,6 @@ port-pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
|
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/firefox-devel
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
+
|
+
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/firefox/Makefile,v 1.43 2008/02/09 16:38:43 marcus Exp $
|
# $MCom: ports-stable/www/firefox/Makefile,v 1.32 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 2.0.0.20
|
DISTVERSION= 2.0.0.20
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
|
@ -93,17 +94,6 @@ pre-install:
|
||||||
>> ${SYSTEM_PREFS}
|
>> ${SYSTEM_PREFS}
|
||||||
.endif # !defined(WITHOUT_NEWTAB)
|
.endif # !defined(WITHOUT_NEWTAB)
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
226
www/firefox36/Makefile.webplugins
Normal file
226
www/firefox36/Makefile.webplugins
Normal file
|
@ -0,0 +1,226 @@
|
||||||
|
#-*- mode: makefile; tab-width: 4; -*
|
||||||
|
# ex:ts=4
|
||||||
|
#
|
||||||
|
# New ports collection makefile for: npapi infrastructure
|
||||||
|
# Date created: 27 June 2006
|
||||||
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
# $MCom: ports-stable/www/firefox/Makefile.webplugins,v 1.14 2008/11/12 17:55:09 mezz Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
# MAINTAINER= gnome@FreeBSD.org
|
||||||
|
#
|
||||||
|
# Documentation and examples:
|
||||||
|
#
|
||||||
|
# Makefile.webplugins will create symlinks automatically for each supported
|
||||||
|
# applications that supports the webplugins framework. Also, it will remove
|
||||||
|
# these symlinks when the plug-in port is uninstalled.
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS - Specify a list of application(s) that this plug-in
|
||||||
|
# port supports. For each of these applications, a
|
||||||
|
# symlink will be created in
|
||||||
|
# lib/browser_plugins/symlinks. See
|
||||||
|
# WEBPLUGINS_APPS_ALL_* below for the list of
|
||||||
|
# supported applications.
|
||||||
|
# Default: USE_WEBPLUGINS=${WEBPLUGINS_APPS_ALL} (all
|
||||||
|
# applications)
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_NAME - If your port installs file(s) in ${WEBPLUGINS_DIR},
|
||||||
|
# then you can tweak WEBPLUGINS_NAME to change the
|
||||||
|
# name of the directory
|
||||||
|
# (lib/browser_plugins/symlinks/WEBPLUGINS_NAME).
|
||||||
|
# Default: WEBPLUGINS_NAME=${PKGBASE}
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_FILES - The plug-in file(s) that are going to be linked
|
||||||
|
# in lib/browser_plugins/symlinks/*/. It cannot
|
||||||
|
# be empty or the port will set IGNORE.
|
||||||
|
#
|
||||||
|
# WEBPLUGINS_DIR - The directory where the plug-in file(s) can be
|
||||||
|
# found. Each plug-in file in WEBPLUGINS_FILES
|
||||||
|
# must be found in WEBPLUGINS_DIR. If your port
|
||||||
|
# does not install in WEBPLUGINS_DIR, but in its own
|
||||||
|
# path. You will need to specify that here or
|
||||||
|
# symlinks will be created to non-existent files.
|
||||||
|
# Default: WEBPLUGINS_DIR?=${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# The USE_WEBPLUGINS supports wildcards, native, and linux; so you can do any
|
||||||
|
# of the following:
|
||||||
|
#
|
||||||
|
# USE_WEBPLUGINS=gecko* (Supports gecko18 and gecko19.)
|
||||||
|
# USE_WEBPLUGINS=native (Supports gecko*, opera*, and webkit-gtk2)
|
||||||
|
# USE_WEBPLUGINS=linux (Supports linux-*)
|
||||||
|
# USE_WEBPLUGINS=opera webkit-gtk2
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if the plug-in file(s) install in
|
||||||
|
# WEBPLUGINS_DIR, and if your port does this manually:
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# post-install:
|
||||||
|
# ${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
|
# ${INSTALL_DATA} ${WEBPLUGINS_FILES:S,^,${WRKSRC}/plugins/,} \
|
||||||
|
# ${WEBPLUGINS_DIR}
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# You do not need to add lib/browser_plugins and lib/browser_plugins/symlinks
|
||||||
|
# in pkg-plist, because they will be removed automatically.
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.so
|
||||||
|
# %%WEBPLUGINS_DIR%%/fooplugin.xpi
|
||||||
|
# @dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates the symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# If your port uses libtool, and installs any *.a and *.la files, do not add
|
||||||
|
# these files to WEBPLUGINS_FILES. WEBPLUGINS_FILES should be *.so or/and
|
||||||
|
# *.xpi ONLY.
|
||||||
|
#
|
||||||
|
# Example to add in Makefile and pkg-plist if your port installs plug-ins in
|
||||||
|
# its own directory, and you need to set WEBPLUGINS_DIR.
|
||||||
|
#
|
||||||
|
# Makefile:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# USE_WEBPLUGINS=gecko*
|
||||||
|
# WEBPLUGINS_DIR=#{PREFIX}/lib/application
|
||||||
|
# WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi
|
||||||
|
#
|
||||||
|
# .include <bsd.port.pre.mk>
|
||||||
|
# .include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
#
|
||||||
|
# [...]
|
||||||
|
#
|
||||||
|
# .include <bsd.port.post.mk>
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# As for the pkg-plist, it should only include the actual files your
|
||||||
|
# port installs:
|
||||||
|
#
|
||||||
|
# pkg-plist:
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# [...]
|
||||||
|
# lib/application/fooplugin.a
|
||||||
|
# lib/application/fooplugin.la
|
||||||
|
# lib/application/fooplugin.so
|
||||||
|
# lib/application/fooplugin.xpi
|
||||||
|
# @dirrm lib/application
|
||||||
|
# ------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Here is what it will look like when it creates symlinks:
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko18/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.so -> /usr/local/lib/application/fooplugin.so
|
||||||
|
# /usr/local/lib/browser_plugins/symlinks/gecko19/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi
|
||||||
|
# ------------------------------------------------------
|
||||||
|
|
||||||
|
WEBPLUGINS_NAME?= ${PKGBASE}
|
||||||
|
WEBPLUGINS_FILES?= empty
|
||||||
|
WEBPLUGINS_APPS_ALL_LINUX= linux-firefox linux-firefox-devel linux-flock \
|
||||||
|
linux-flock-devel linux-mozilla \
|
||||||
|
linux-nvu linux-opera linux-opera-devel \
|
||||||
|
linux-seamonkey linux-seamonkey-devel \
|
||||||
|
linux-sunbird linux-sunbird-devel
|
||||||
|
WEBPLUGINS_APPS_ALL_NATIVE= gecko18 gecko19 opera opera-devel webkit-gtk2
|
||||||
|
WEBPLUGINS_APPS_ALL= ${WEBPLUGINS_APPS_ALL_LINUX} \
|
||||||
|
${WEBPLUGINS_APPS_ALL_NATIVE}
|
||||||
|
|
||||||
|
.if !defined(USE_WEBPLUGINS) || ${USE_WEBPLUGINS} == "yes" || \
|
||||||
|
${USE_WEBPLUGINS} == "*"
|
||||||
|
USE_WEBPLUGINS= ${WEBPLUGINS_APPS_ALL}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WEBPLUGINS_FILES) || ${WEBPLUGINS_FILES} == "empty" || \
|
||||||
|
${WEBPLUGINS_FILES} == ""
|
||||||
|
IGNORE= cannot install: the WEBPLUGINS_FILES is empty, please add plugins file in it and see in www/firefox/Makefile.webplugins for document
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.for _TEMP_APP__ in ${WEBPLUGINS_APPS_ALL}
|
||||||
|
_TEMP_APP_=${_TEMP_APP__}
|
||||||
|
_TEMP_FLAG_=0
|
||||||
|
. for _TEMP_USE__ in ${USE_WEBPLUGINS}
|
||||||
|
_TEMP_USE_=${_TEMP_USE__}
|
||||||
|
. if !${_TEMP_APP_:C!${_TEMP_USE_:S/*/.*/:S/?/./}!!} || \
|
||||||
|
( ${_TEMP_APP_:Mlinux-*} && ${_TEMP_USE_:Mlinux} ) || \
|
||||||
|
( ${_TEMP_APP_:Nlinux-*} && ${_TEMP_USE_:Mnative} )
|
||||||
|
_TEMP_FLAG_=1
|
||||||
|
. endif
|
||||||
|
. endfor
|
||||||
|
. if ${_TEMP_FLAG_}
|
||||||
|
USE_WEBPLUGINS_EXP+= ${_TEMP_APP__}
|
||||||
|
. endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
WEBPLUGINS_APPS= ${USE_WEBPLUGINS_EXP:S.^.${LOCALBASE}/lib/.:S.$./plugins.:N*opera*:N*gecko*:N*webkit*}
|
||||||
|
WEBPLUGINS_SLDIRS= ${USE_WEBPLUGINS_EXP:S.^.${WEBPLUGINS_SLDIR}/.}
|
||||||
|
WEBPLUGINS_LINKFARMS= ${WEBPLUGINS_APPS} ${WEBPLUGINS_SLDIRS}
|
||||||
|
|
||||||
|
WEBPLUGINS_LIBDIR= ${PREFIX}/lib/browser_plugins
|
||||||
|
WEBPLUGINS_SLDIR= ${WEBPLUGINS_LIBDIR}/symlinks
|
||||||
|
WEBPLUGINS_DIR?= ${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME}
|
||||||
|
|
||||||
|
PLIST_SUB+= WEBPLUGINS_DIR="${WEBPLUGINS_DIR:S,^${PREFIX}/,,}"
|
||||||
|
|
||||||
|
_LNWF= ${WEBPLUGINS_FILES:S,^,${WEBPLUGINS_DIR}/,}
|
||||||
|
_Q= 2>/dev/null || true
|
||||||
|
_WLD= ${WEBPLUGINS_LIBDIR:S,^${PREFIX},%D,}
|
||||||
|
_WLF= ${WEBPLUGINS_LINKFARMS:S,${PREFIX},%D,}
|
||||||
|
_WSD= ${WEBPLUGINS_SLDIR:S,^${PREFIX},%D,}
|
||||||
|
|
||||||
|
webplugins-post-install:
|
||||||
|
@if [ ! -d ${WEBPLUGINS_DIR} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"${WEBPLUGINS_DIR}\" in WEBPLUGINS_DIR is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
else \
|
||||||
|
for _f in ${WEBPLUGINS_FILES}; do \
|
||||||
|
if [ ! -f ${WEBPLUGINS_DIR}/$${_f} ]; then \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
${ECHO_CMD} "ERROR: The \"$${_f}\" in WEBPLUGINS_FILES is either a typo or no longer exists. Please make a bug report to ${MAINTAINER} (maintainer)."; \
|
||||||
|
${ECHO_CMD}; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
fi; \
|
||||||
|
for _d in ${WEBPLUGINS_LINKFARMS}; do \
|
||||||
|
${INSTALL} -d $${_d}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${LN} -sf $${_l} $${_d}/ ${_Q}; \
|
||||||
|
done; \
|
||||||
|
done; \
|
||||||
|
for _d in ${_WLF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${INSTALL} -d $$_d" >> ${TMPPLIST}; \
|
||||||
|
for _l in ${_LNWF}; do \
|
||||||
|
${ECHO_CMD} "@exec ${LN} -sf $$_l $$_d/ ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
for _f in ${WEBPLUGINS_FILES:S,^,\${_d}/,}; do \
|
||||||
|
${ECHO_CMD} "@unexec ${RM} -f $$_f" >> ${TMPPLIST}; \
|
||||||
|
done; \
|
||||||
|
${ECHO_CMD} "@unexec rmdir $$_d ${_Q}" >> ${TMPPLIST}; \
|
||||||
|
done
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WSD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
@${ECHO_CMD} "@unexec rmdir ${_WLD} ${_Q}" >> ${TMPPLIST}
|
||||||
|
|
||||||
|
post-install: webplugins-post-install
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/firefox
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME?= flashplugin-mozilla
|
PORTNAME?= flashplugin-mozilla
|
||||||
PORTVERSION= 0.4.13
|
PORTVERSION= 0.4.13
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= SF/gplflash
|
MASTER_SITES= SF/gplflash
|
||||||
DISTNAME= gplflash-${PORTVERSION}
|
DISTNAME= gplflash-${PORTVERSION}
|
||||||
|
@ -21,14 +21,18 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/plugin
|
||||||
|
|
||||||
USE_XORG= xt x11 xext
|
USE_XORG= xt x11 xext
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
PLUGIN_DIR= lib/browser_plugins
|
|
||||||
PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR}
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --with-plugin-dir="${PREFIX}/${PLUGIN_DIR}"
|
CONFIGURE_ARGS+= --with-plugin-dir="${WEBPLUGINS_DIR}"
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib -lXt"
|
LDFLAGS="-L${LOCALBASE}/lib -lXt"
|
||||||
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
|
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=libnpflash.so
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s,-L../lib/.libs,-L${LOCALBASE}/lib," \
|
@${REINPLACE_CMD} -e "s,-L../lib/.libs,-L${LOCALBASE}/lib," \
|
||||||
-e "s/libnpflash.so.0.0.0/libnpflash.so.0/" \
|
-e "s/libnpflash.so.0.0.0/libnpflash.so.0/" \
|
||||||
|
@ -36,4 +40,4 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/npapi.h
|
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/npapi.h
|
||||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${CONFIGURE_WRKSRC}/configure ${CONFIGURE_WRKSRC}/ltconfig
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${CONFIGURE_WRKSRC}/configure ${CONFIGURE_WRKSRC}/ltconfig
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
%%PLUGIN_DIR%%/libnpflash.so
|
%%WEBPLUGINS_DIR%%/libnpflash.so
|
||||||
@dirrmtry %%PLUGIN_DIR%%
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/flock/Makefile,v 1.2 2006/10/05 21:37:18 mezz Exp $
|
# $MCom: ports-stable/www/flock/Makefile,v 1.4 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= flock
|
PORTNAME= flock
|
||||||
DISTVERSION= 1.1.1
|
DISTVERSION= 1.1.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 3
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://ftp.osuosl.org/pub/${PORTNAME}/releases/${PORTVERSION}/ \
|
MASTER_SITES= http://ftp.osuosl.org/pub/${PORTNAME}/releases/${PORTVERSION}/ \
|
||||||
http://flock.vo.llnwd.net/o23/archive/${PORTNAME}/releases/${PORTVERSION}/
|
http://flock.vo.llnwd.net/o23/archive/${PORTNAME}/releases/${PORTVERSION}/
|
||||||
|
@ -84,17 +84,6 @@ pre-install:
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
${ECHO_CMD} 'share/pixmaps/${FLOCK_ICON}' >> ${PLIST}
|
${ECHO_CMD} 'share/pixmaps/${FLOCK_ICON}' >> ${PLIST}
|
||||||
|
|
||||||
do-install:
|
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/flock:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/flock
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/galeon/Makefile,v 1.14 2007/10/08 19:42:51 mezz Exp $
|
# $MCom: ports-stable/www/galeon/Makefile,v 1.6 2008/11/16 20:00:21 marcus Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= galeon
|
PORTNAME= galeon
|
||||||
PORTVERSION= 2.0.6
|
PORTVERSION= 2.0.7
|
||||||
CATEGORIES= www gnome
|
CATEGORIES= www gnome
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
|
||||||
|
@ -51,7 +51,7 @@ post-patch:
|
||||||
's|malloc\.h|stdlib.h|g'
|
's|malloc\.h|stdlib.h|g'
|
||||||
@${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
|
@${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
|
||||||
${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
|
${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
|
||||||
@${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${LOCALBASE}/lib/browser_plugins:${LOCALBASE}/lib/browser_linux_plugins|' \
|
@${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${LOCALBASE}/lib/browser_plugins/symlinks/gecko18|' \
|
||||||
${WRKSRC}/mozilla/mozilla-embed-shell.cpp
|
${WRKSRC}/mozilla/mozilla-embed-shell.cpp
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (galeon-2.0.6.tar.bz2) = 7723816d29edac94945e5fd9a2a402f8
|
MD5 (galeon-2.0.7.tar.bz2) = 2eede1f43e3f6f2ac4ce7d4db99b15b2
|
||||||
SHA256 (galeon-2.0.6.tar.bz2) = 266f5eb1675c704f31c63d14cb89e1f16c96e53f6256d961026bc816d0d95210
|
SHA256 (galeon-2.0.7.tar.bz2) = c6fb0c9e7e2a4014ee7c785cec35380985138bd9aa2b33e9cb63de497ea68b3b
|
||||||
SIZE (galeon-2.0.6.tar.bz2) = 3094830
|
SIZE (galeon-2.0.7.tar.bz2) = 3096337
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- configure.orig 2008-07-06 15:07:05.000000000 -0400
|
|
||||||
+++ configure 2008-07-06 15:07:13.000000000 -0400
|
|
||||||
@@ -23281,7 +23281,7 @@ if test $MOZILLA = libxul-embedding-unst
|
|
||||||
MOZILLA_GTKMOZEMBED=$MOZILLA
|
|
||||||
else
|
|
||||||
MOZILLA_XPCOM=$MOZILLA-xpcom
|
|
||||||
- MOZILLA_XPCOM=$MOZILLA-gtkmozembed
|
|
||||||
+ MOZILLA_GTKMOZEMBED=$MOZILLA-gtkmozembed
|
|
||||||
fi
|
|
||||||
|
|
||||||
pkg_failed=no
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= hxplugin
|
PORTNAME= hxplugin
|
||||||
PORTVERSION= 20070318
|
PORTVERSION= 20070318
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= www multimedia
|
CATEGORIES= www multimedia
|
||||||
MASTER_SITES= http://virtual-estates.net/~mi/port-stuff/
|
MASTER_SITES= http://virtual-estates.net/~mi/port-stuff/
|
||||||
|
|
||||||
|
@ -17,16 +17,21 @@ COMMENT= Browser plugin for Real or Helix Players
|
||||||
USE_BZIP2 = yes
|
USE_BZIP2 = yes
|
||||||
USE_DOS2UNIX = yes
|
USE_DOS2UNIX = yes
|
||||||
MAKEFILE = ${FILESDIR}/BSDmakefile
|
MAKEFILE = ${FILESDIR}/BSDmakefile
|
||||||
#USE_GECKO = firefox mozilla seamonkey xulrunner firefox-devel
|
USE_GECKO = firefox mozilla seamonkey xulrunner
|
||||||
USE_GECKO = ${_GECKO_ALL}
|
|
||||||
MAKE_ENV += TOP="${WRKSRC}" GECKO=${GECKO}
|
MAKE_ENV += TOP="${WRKSRC}" GECKO=${GECKO}
|
||||||
|
|
||||||
PDIR ?= lib/browser_plugins
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=helix.so nphelix.xpt
|
||||||
|
|
||||||
|
PDIR= ${WEBPLUGINS_DIR:S,${PREFIX}/,,}
|
||||||
PLIST_FILES= ${PDIR}/helix.so ${PDIR}/nphelix.xpt
|
PLIST_FILES= ${PDIR}/helix.so ${PDIR}/nphelix.xpt
|
||||||
|
PLIST_DIRS= ${PDIR}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${PLIST_FILES:S|${PDIR}|${WRKSRC}|} ${PREFIX}/${PDIR}/
|
${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
|
${INSTALL_DATA} ${WEBPLUGINS_FILES:S|^|${WRKSRC}/|} ${WEBPLUGINS_DIR}/
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -20,7 +20,7 @@ SRCS = hxbackend.cpp \
|
||||||
|
|
||||||
XPIDL ?= ${LOCALBASE}/lib/${GECKO}/xpidl
|
XPIDL ?= ${LOCALBASE}/lib/${GECKO}/xpidl
|
||||||
XPTLINK ?= ${XPIDL:H}/xpt_link
|
XPTLINK ?= ${XPIDL:H}/xpt_link
|
||||||
SHARE_IDL != echo ${LOCALBASE}/share/idl/${GECKO:S/-devel/-2/}*
|
SHARE_IDL != echo ${LOCALBASE}/share/idl/${GECKO:S,firefox$,firefox-2,}*
|
||||||
|
|
||||||
.PATH: ${TOP}/player/app/plugin ${TOP}/player/app/plugin/common
|
.PATH: ${TOP}/player/app/plugin ${TOP}/player/app/plugin/common
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# Whom: eivind/dima/jseger
|
# Whom: eivind/dima/jseger
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports-stable/www/mozilla/Makefile,v 1.18 2008/06/16 22:25:44 mezz Exp $
|
# $MCom: ports-stable/www/mozilla/Makefile,v 1.22 2008/08/07 04:42:36 mezz Exp $
|
||||||
|
|
||||||
PORTNAME= mozilla
|
PORTNAME= mozilla
|
||||||
PORTVERSION= 1.7.13
|
PORTVERSION= 1.7.13
|
||||||
PORTREVISION?= 8
|
PORTREVISION?= 10
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES?= www
|
CATEGORIES?= www
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
|
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
|
||||||
|
@ -129,14 +129,6 @@ post-patch:
|
||||||
${WRKDIR}/mozilla.desktop
|
${WRKDIR}/mozilla.desktop
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
.if !defined(WITHOUT_MAILNEWS)
|
.if !defined(WITHOUT_MAILNEWS)
|
||||||
@${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
|
@${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
|
||||||
.endif
|
.endif
|
||||||
|
@ -144,15 +136,6 @@ pre-install:
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
${MKDIR} ${PREFIX}/share/applications
|
${MKDIR} ${PREFIX}/share/applications
|
||||||
${INSTALL_DATA} ${WRKDIR}/mozilla.desktop \
|
${INSTALL_DATA} ${WRKDIR}/mozilla.desktop \
|
||||||
${PREFIX}/share/applications
|
${PREFIX}/share/applications
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/mozilla:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/mozilla
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $MCom: ports-stable/www/mozilla/pkg-deinstall.in,v 1.11 2008/06/16 21:36:02 mezz Exp $
|
# $MCom: ports-stable/www/mozilla/pkg-deinstall.in,v 1.13 2008/07/30 15:56:57 mezz Exp $
|
||||||
#
|
#
|
||||||
# Date created: Mon Nov 29, 2003
|
# Date created: Mon Nov 29, 2003
|
||||||
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $MCom: ports-stable/www/mozilla/pkg-install.in,v 1.11 2008/06/16 21:36:02 mezz Exp $
|
# $MCom: ports-stable/www/mozilla/pkg-install.in,v 1.15 2008/08/04 05:01:00 mezz Exp $
|
||||||
#
|
#
|
||||||
# Date created: Mon Nov 29, 2003
|
# Date created: Mon Nov 29, 2003
|
||||||
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
@ -33,10 +33,6 @@ fi
|
||||||
if [ -f ${MOZBIN} -a "${1%-*}" = "nvu" ]; then
|
if [ -f ${MOZBIN} -a "${1%-*}" = "nvu" ]; then
|
||||||
./run-mozilla.sh ${MOZBIN} -register > /dev/null 2>&1
|
./run-mozilla.sh ${MOZBIN} -register > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if [ ! -d %%PREFIX%%/lib/browser_plugins ]; then
|
|
||||||
mkdir -p %%PREFIX%%/lib/browser_plugins
|
|
||||||
fi
|
|
||||||
cp -R %%LOCALBASE%%/lib/npapi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/plugins/ > /dev/null 2>&1
|
|
||||||
cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/extensions/ > /dev/null 2>&1
|
cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/extensions/ > /dev/null 2>&1
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= mozplugger
|
PORTNAME= mozplugger
|
||||||
PORTVERSION= 1.11.0
|
PORTVERSION= 1.11.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://mozplugger.mozdev.org/files/
|
MASTER_SITES= http://mozplugger.mozdev.org/files/
|
||||||
|
|
||||||
|
@ -17,10 +18,21 @@ USE_XORG= x11 xt
|
||||||
MAN7= mozplugger.7
|
MAN7= mozplugger.7
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
ALL_TARGET= freebsd
|
ALL_TARGET= freebsd
|
||||||
|
MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGINS_DIR}"
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=mozplugger.so
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \
|
||||||
|
${WRKSRC}/mozplugger.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${ECHO_MSG}
|
@${ECHO_MSG}
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
@${ECHO_MSG}
|
@${ECHO_MSG}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
- -@mkdir -p $(root)$(prefix)/lib/mozilla/plugins
|
- -@mkdir -p $(root)$(prefix)/lib/mozilla/plugins
|
||||||
- -@mkdir -p $(root)$(prefix)/share/man/man7
|
- -@mkdir -p $(root)$(prefix)/share/man/man7
|
||||||
- -@mkdir -p $(root)/etc
|
- -@mkdir -p $(root)/etc
|
||||||
+ -@mkdir -p $(root)$(prefix)/lib/browser_plugins
|
+ -@mkdir -p $(root)${WEBPLUGINS_DIR}
|
||||||
+ -@mkdir -p $(root)$(prefix)/man/man7
|
+ -@mkdir -p $(root)$(prefix)/man/man7
|
||||||
+ -@mkdir -p $(root)$(prefix)/etc
|
+ -@mkdir -p $(root)$(prefix)/etc
|
||||||
cp mozplugger-helper $(root)$(prefix)/bin/
|
cp mozplugger-helper $(root)$(prefix)/bin/
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
- cp mozplugger.so $(root)$(prefix)/lib/mozilla/plugins/
|
- cp mozplugger.so $(root)$(prefix)/lib/mozilla/plugins/
|
||||||
- cp mozpluggerrc $(root)/etc/
|
- cp mozpluggerrc $(root)/etc/
|
||||||
- cp mozplugger.7 $(root)$(prefix)/share/man/man7/
|
- cp mozplugger.7 $(root)$(prefix)/share/man/man7/
|
||||||
+ cp mozplugger.so $(root)$(prefix)/lib/browser_plugins/
|
+ cp mozplugger.so $(root)${WEBPLUGINS_DIR}/
|
||||||
+ cp mozpluggerrc $(root)$(prefix)/etc/
|
+ cp mozpluggerrc $(root)$(prefix)/etc/
|
||||||
+ cp mozplugger.7 $(root)$(prefix)/man/man7/
|
+ cp mozplugger.7 $(root)$(prefix)/man/man7/
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,5 @@ bin/mozplugger-controller
|
||||||
bin/mozplugger-helper
|
bin/mozplugger-helper
|
||||||
bin/mozplugger-linker
|
bin/mozplugger-linker
|
||||||
etc/mozpluggerrc
|
etc/mozpluggerrc
|
||||||
lib/browser_plugins/mozplugger.so
|
%%WEBPLUGINS_DIR%%/mozplugger.so
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= mplayerplug-in
|
PORTNAME= mplayerplug-in
|
||||||
PORTVERSION= 3.55
|
PORTVERSION= 3.55
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www multimedia
|
CATEGORIES= www multimedia
|
||||||
MASTER_SITES= SF/mplayerplug-in
|
MASTER_SITES= SF/mplayerplug-in
|
||||||
|
|
||||||
|
@ -18,7 +19,8 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GECKO= firefox mozilla seamonkey
|
USE_GECKO= firefox mozilla seamonkey
|
||||||
PLUGINSFILES= mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \
|
||||||
mplayerplug-in-qt.so mplayerplug-in-rm.so \
|
mplayerplug-in-qt.so mplayerplug-in-rm.so \
|
||||||
mplayerplug-in-gmp.so mplayerplug-in-wmp.xpt \
|
mplayerplug-in-gmp.so mplayerplug-in-wmp.xpt \
|
||||||
mplayerplug-in-qt.xpt mplayerplug-in-rm.xpt \
|
mplayerplug-in-qt.xpt mplayerplug-in-rm.xpt \
|
||||||
|
@ -32,7 +34,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DBSD" \
|
||||||
USE_XORG= x11 xpm xt
|
USE_XORG= x11 xpm xt
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||||
|
@ -43,9 +45,9 @@ post-patch:
|
||||||
${WRKSRC}/Source/plugin-setup.cpp
|
${WRKSRC}/Source/plugin-setup.cpp
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/lib/browser_plugins
|
${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
.for moo in ${PLUGINSFILES}
|
.for moo in ${WEBPLUGINS_FILES}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${moo} ${PREFIX}/lib/browser_plugins
|
${INSTALL_DATA} ${WRKSRC}/${moo} ${WEBPLUGINS_DIR}
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf \
|
${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf \
|
||||||
${PREFIX}/etc/mplayerplug-in.conf.dist
|
${PREFIX}/etc/mplayerplug-in.conf.dist
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
etc/mplayerplug-in.conf.dist
|
etc/mplayerplug-in.conf.dist
|
||||||
@unexec if cmp -s %D/etc/mplayerplug-in.types %D/etc/mplayerplug-in.types.dist; then rm -f %D/etc/mplayerplug-in.types; fi
|
@unexec if cmp -s %D/etc/mplayerplug-in.types %D/etc/mplayerplug-in.types.dist; then rm -f %D/etc/mplayerplug-in.types; fi
|
||||||
etc/mplayerplug-in.types.dist
|
etc/mplayerplug-in.types.dist
|
||||||
lib/browser_plugins/mplayerplug-in-dvx.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-dvx.so
|
||||||
lib/browser_plugins/mplayerplug-in-dvx.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-dvx.xpt
|
||||||
lib/browser_plugins/mplayerplug-in-gmp.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-gmp.so
|
||||||
lib/browser_plugins/mplayerplug-in-gmp.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-gmp.xpt
|
||||||
lib/browser_plugins/mplayerplug-in-qt.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-qt.so
|
||||||
lib/browser_plugins/mplayerplug-in-qt.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-qt.xpt
|
||||||
lib/browser_plugins/mplayerplug-in-rm.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-rm.so
|
||||||
lib/browser_plugins/mplayerplug-in-rm.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-rm.xpt
|
||||||
lib/browser_plugins/mplayerplug-in-wmp.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-wmp.so
|
||||||
lib/browser_plugins/mplayerplug-in-wmp.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in-wmp.xpt
|
||||||
lib/browser_plugins/mplayerplug-in.so
|
%%WEBPLUGINS_DIR%%/mplayerplug-in.so
|
||||||
lib/browser_plugins/mplayerplug-in.xpt
|
%%WEBPLUGINS_DIR%%/mplayerplug-in.xpt
|
||||||
share/locale/cs/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/cs/LC_MESSAGES/mplayerplug-in.mo
|
||||||
share/locale/da/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/da/LC_MESSAGES/mplayerplug-in.mo
|
||||||
share/locale/de/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/de/LC_MESSAGES/mplayerplug-in.mo
|
||||||
|
@ -34,7 +34,7 @@ share/locale/sk/LC_MESSAGES/mplayerplug-in.mo
|
||||||
share/locale/tr/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/tr/LC_MESSAGES/mplayerplug-in.mo
|
||||||
share/locale/wa/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/wa/LC_MESSAGES/mplayerplug-in.mo
|
||||||
share/locale/zh_CN/LC_MESSAGES/mplayerplug-in.mo
|
share/locale/zh_CN/LC_MESSAGES/mplayerplug-in.mo
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@dirrmtry share/locale/se/LC_MESSAGES
|
@dirrmtry share/locale/se/LC_MESSAGES
|
||||||
@dirrmtry share/locale/se
|
@dirrmtry share/locale/se
|
||||||
@dirrmtry share/locale/en_US/LC_MESSAGES
|
@dirrmtry share/locale/en_US/LC_MESSAGES
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= openvrml
|
PORTNAME= openvrml
|
||||||
PORTVERSION= 0.17.5
|
PORTVERSION= 0.17.5
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= www graphics
|
CATEGORIES= www graphics
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -38,7 +38,8 @@ USE_GMAKE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_GECKO= firefox seamonkey
|
USE_GECKO= firefox seamonkey
|
||||||
|
|
||||||
PLIST_SUB= PLUGINS_DIR=${BROWSER_PLUGINS_DIR:S|^${LOCALBASE}/||}
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=openvrml.so
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
@ -46,6 +47,7 @@ PORTDOCS= *
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
.if ${OSVERSION} < 700042
|
.if ${OSVERSION} < 700042
|
||||||
BROKEN= Does not compile
|
BROKEN= Does not compile
|
||||||
|
@ -79,7 +81,7 @@ pre-configure:
|
||||||
"/hardcode_libdir_flag_spec/s|\(=.\)\(.*\)\(\$$libdir\)|& \2${JAVA_HOME}/jre/lib/${ARCH}/client|" \
|
"/hardcode_libdir_flag_spec/s|\(=.\)\(.*\)\(\$$libdir\)|& \2${JAVA_HOME}/jre/lib/${ARCH}/client|" \
|
||||||
${WRKSRC}/${cfg}
|
${WRKSRC}/${cfg}
|
||||||
.endfor
|
.endfor
|
||||||
${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${BROWSER_PLUGINS_DIR}|' \
|
${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${WEBPLUGINS_DIR}|' \
|
||||||
${WRKSRC}/mozilla-plugin/src/Makefile.in
|
${WRKSRC}/mozilla-plugin/src/Makefile.in
|
||||||
.if ${GECKO} != "firefox"
|
.if ${GECKO} != "firefox"
|
||||||
${REINPLACE_CMD} -e "s|FIREFOX_JS|${GECKO:U}_JS|g;s|firefox-js|${GECKO}-js|" \
|
${REINPLACE_CMD} -e "s|FIREFOX_JS|${GECKO:U}_JS|g;s|firefox-js|${GECKO}-js|" \
|
||||||
|
|
|
@ -43,8 +43,8 @@ lib/libopenvrml-gl.so.7
|
||||||
lib/libopenvrml.a
|
lib/libopenvrml.a
|
||||||
lib/libopenvrml.so
|
lib/libopenvrml.so
|
||||||
lib/libopenvrml.so.8
|
lib/libopenvrml.so.8
|
||||||
%%PLUGINS_DIR%%/openvrml.la
|
%%WEBPLUGINS_DIR%%/openvrml.la
|
||||||
%%PLUGINS_DIR%%/openvrml.so
|
%%WEBPLUGINS_DIR%%/openvrml.so
|
||||||
libdata/pkgconfig/openvrml-gl.pc
|
libdata/pkgconfig/openvrml-gl.pc
|
||||||
libdata/pkgconfig/openvrml.pc
|
libdata/pkgconfig/openvrml.pc
|
||||||
libexec/openvrml-xembed
|
libexec/openvrml-xembed
|
||||||
|
@ -69,6 +69,7 @@ libexec/openvrml-xembed
|
||||||
share/openvrml-player/glade/openvrml-player.glade
|
share/openvrml-player/glade/openvrml-player.glade
|
||||||
@dirrm share/openvrml-player/glade
|
@dirrm share/openvrml-player/glade
|
||||||
@dirrm share/openvrml-player
|
@dirrm share/openvrml-player
|
||||||
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
@dirrm include/openvrml/openvrml/gl
|
@dirrm include/openvrml/openvrml/gl
|
||||||
@dirrm include/openvrml/openvrml
|
@dirrm include/openvrml/openvrml
|
||||||
@dirrm include/openvrml
|
@dirrm include/openvrml
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= opera
|
PORTNAME= opera
|
||||||
PORTVERSION= ${OPERA_VER}
|
PORTVERSION= ${OPERA_VER}
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= http://snapshot.opera.com/${MASTER_SITES_VER_PATH}/ \
|
MASTER_SITES= http://snapshot.opera.com/${MASTER_SITES_VER_PATH}/ \
|
||||||
http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}${PKGNAMESUFFIX}/sources/
|
http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}${PKGNAMESUFFIX}/sources/
|
||||||
|
@ -50,6 +51,10 @@ OPERA_TYPE= 6
|
||||||
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
|
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|/usr/X11R6/lib/browser_plugins|${LOCALBASE}/lib/browser_plugins/symlinks/opera-devel|g' \
|
||||||
|
${WRKSRC}/usr/local/share/opera/ini/pluginpath.ini
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
|
@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
|
||||||
@${CP} ${DATADIR}/bin/operapluginwrapper ${DATADIR}/bin/operapluginwrapper.freebsd
|
@${CP} ${DATADIR}/bin/operapluginwrapper ${DATADIR}/bin/operapluginwrapper.freebsd
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= opera
|
PORTNAME= opera
|
||||||
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
|
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= ftp://ftp.opera.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
|
MASTER_SITES= ftp://ftp.opera.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
|
||||||
ftp://opera.inode.at/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
|
ftp://opera.inode.at/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
|
||||||
|
@ -69,6 +70,10 @@ OPERA_TYPE= 6
|
||||||
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
|
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|/usr/X11R6/lib/browser_plugins|${LOCALBASE}/lib/browser_plugins/symlinks/opera|g' \
|
||||||
|
${WRKSRC}/usr/local/share/opera/ini/pluginpath.ini
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
|
@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
|
||||||
@${CP} ${DATADIR}/bin/operapluginwrapper ${DATADIR}/bin/operapluginwrapper.freebsd
|
@${CP} ${DATADIR}/bin/operapluginwrapper ${DATADIR}/bin/operapluginwrapper.freebsd
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= plugger
|
PORTNAME= plugger
|
||||||
PORTVERSION= 5.1.3
|
PORTVERSION= 5.1.3
|
||||||
PORTREVISION= 6
|
PORTREVISION= 7
|
||||||
CATEGORIES= www audio graphics multimedia
|
CATEGORIES= www audio graphics multimedia
|
||||||
MASTER_SITES= http://fredrik.hubbe.net/plugger/
|
MASTER_SITES= http://fredrik.hubbe.net/plugger/
|
||||||
|
|
||||||
|
@ -20,7 +20,11 @@ GNU_CONFIGURE= yes
|
||||||
MAN7= plugger.7
|
MAN7= plugger.7
|
||||||
PKGDEINSTALL= ${PKGINSTALL}
|
PKGDEINSTALL= ${PKGINSTALL}
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=npplugger.so
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
|
@ -39,9 +43,9 @@ do-install:
|
||||||
${PREFIX}/bin
|
${PREFIX}/bin
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \
|
@${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \
|
||||||
${PREFIX}/bin
|
${PREFIX}/bin
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \
|
||||||
${PREFIX}/lib/browser_plugins/npplugger.so
|
${WEBPLUGINS_DIR}/npplugger.so
|
||||||
@if [ -f ${PREFIX}/etc/pluggerrc-${PORTVERSION} ]; then \
|
@if [ -f ${PREFIX}/etc/pluggerrc-${PORTVERSION} ]; then \
|
||||||
${MV} ${PREFIX}/etc/pluggerrc-${PORTVERSION} \
|
${MV} ${PREFIX}/etc/pluggerrc-${PORTVERSION} \
|
||||||
${PREFIX}/etc/pluggerrc-${PORTVERSION}.old; \
|
${PREFIX}/etc/pluggerrc-${PORTVERSION}.old; \
|
||||||
|
|
|
@ -3,5 +3,5 @@ bin/plugger-controller
|
||||||
bin/plugger-oohelper
|
bin/plugger-oohelper
|
||||||
@unexec if cmp %D/etc/pluggerrc-5.1.3.sample %D/etc/pluggerrc-5.1.3 2>/dev/null; then rm -f %D/etc/pluggerrc-5.1.3; fi
|
@unexec if cmp %D/etc/pluggerrc-5.1.3.sample %D/etc/pluggerrc-5.1.3 2>/dev/null; then rm -f %D/etc/pluggerrc-5.1.3; fi
|
||||||
etc/pluggerrc-5.1.3.sample
|
etc/pluggerrc-5.1.3.sample
|
||||||
lib/browser_plugins/npplugger.so
|
%%WEBPLUGINS_DIR%%/npplugger.so
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: eivind/dima/jseger
|
# Whom: eivind/dima/jseger
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/seamonkey/Makefile,v 1.48 2007/12/28 17:39:30 mezz Exp $
|
# $MCom: ports-stable/www/seamonkey/Makefile,v 1.9 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= seamonkey
|
PORTNAME= seamonkey
|
||||||
DISTVERSION= 1.1.14
|
DISTVERSION= 1.1.14
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 1
|
||||||
CATEGORIES?= www ipv6
|
CATEGORIES?= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
|
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
|
||||||
|
@ -105,29 +105,12 @@ post-patch:
|
||||||
${WRKDIR}/seamonkey.desktop
|
${WRKDIR}/seamonkey.desktop
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
|
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
${CP} ${WRKSRC}/suite/branding/icons/gtk/default.xpm \
|
${CP} ${WRKSRC}/suite/branding/icons/gtk/default.xpm \
|
||||||
${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/
|
${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
${MKDIR} ${PREFIX}/share/applications
|
${MKDIR} ${PREFIX}/share/applications
|
||||||
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
|
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: eivind/dima/jseger
|
# Whom: eivind/dima/jseger
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/seamonkey/Makefile,v 1.48 2007/12/28 17:39:30 mezz Exp $
|
# $MCom: ports-stable/www/seamonkey/Makefile,v 1.9 2009/01/09 23:41:22 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= seamonkey
|
PORTNAME= seamonkey
|
||||||
DISTVERSION= 1.1.14
|
DISTVERSION= 1.1.14
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 1
|
||||||
CATEGORIES?= www ipv6
|
CATEGORIES?= www ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
|
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
|
||||||
|
@ -105,29 +105,12 @@ post-patch:
|
||||||
${WRKDIR}/seamonkey.desktop
|
${WRKDIR}/seamonkey.desktop
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
|
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
|
||||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||||
${CP} ${WRKSRC}/suite/branding/icons/gtk/default.xpm \
|
${CP} ${WRKSRC}/suite/branding/icons/gtk/default.xpm \
|
||||||
${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/
|
${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
||||||
for jpi in ${JPI_LIST}; do \
|
|
||||||
if [ -f $${jpi} ]; then \
|
|
||||||
${LN} -sf $${jpi} \
|
|
||||||
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
||||||
break; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
|
||||||
fi
|
|
||||||
${MKDIR} ${PREFIX}/share/applications
|
${MKDIR} ${PREFIX}/share/applications
|
||||||
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
|
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= sidplug
|
PORTNAME= sidplug
|
||||||
PORTVERSION= 1.1.5
|
PORTVERSION= 1.1.5
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= www audio
|
CATEGORIES= www audio
|
||||||
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
@ -20,15 +20,19 @@ RUN_DEPENDS= xsidplay:${PORTSDIR}/audio/xsidplay
|
||||||
MAKE_ARGS= CC="${CC}" OPTIMIZER="${CFLAGS} -I${LOCALBASE}/include"
|
MAKE_ARGS= CC="${CC}" OPTIMIZER="${CFLAGS} -I${LOCALBASE}/include"
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=npsidplug.so
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||||
CFLAGS+= -fPIC
|
CFLAGS+= -fPIC
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/npsidplug.so ${PREFIX}/lib/browser_plugins
|
@${INSTALL_PROGRAM} ${WRKSRC}/npsidplug.so ${WEBPLUGINS_DIR}
|
||||||
@${LN} -sf ${LOCALBASE}/bin/xsidplay ${PREFIX}/bin/sidplug
|
@${LN} -sf ${LOCALBASE}/bin/xsidplay ${PREFIX}/bin/sidplug
|
||||||
.ifndef(NOPORTDOCS)
|
.ifndef(NOPORTDOCS)
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
@${MKDIR} ${EXAMPLESDIR}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
bin/sidplug
|
bin/sidplug
|
||||||
lib/browser_plugins/npsidplug.so
|
%%WEBPLUGINS_DIR%%/npsidplug.so
|
||||||
%%PORTDOCS%%share/examples/sidplug/Lazy_Fast.sid
|
%%PORTDOCS%%share/examples/sidplug/Lazy_Fast.sid
|
||||||
%%PORTDOCS%%share/examples/sidplug/README.html
|
%%PORTDOCS%%share/examples/sidplug/README.html
|
||||||
%%PORTDOCS%%share/examples/sidplug/sidplug.png
|
%%PORTDOCS%%share/examples/sidplug/sidplug.png
|
||||||
%%PORTDOCS%%@dirrm share/examples/sidplug
|
%%PORTDOCS%%@dirrm share/examples/sidplug
|
||||||
@dirrmtry lib/browser_plugins/
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= swfdec-plugin
|
PORTNAME= swfdec-plugin
|
||||||
PORTVERSION= 0.6.0
|
PORTVERSION= 0.6.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec-mozilla/0.6/
|
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec-mozilla/0.6/
|
||||||
DISTNAME= swfdec-mozilla-${PORTVERSION}
|
DISTNAME= swfdec-mozilla-${PORTVERSION}
|
||||||
|
@ -18,8 +18,13 @@ COMMENT= Flash rendering plugin
|
||||||
LIB_DEPENDS= swfdec-0.6:${PORTSDIR}/graphics/swfdec
|
LIB_DEPENDS= swfdec-0.6:${PORTSDIR}/graphics/swfdec
|
||||||
|
|
||||||
USE_AUTOTOOLS= libtool:15
|
USE_AUTOTOOLS= libtool:15
|
||||||
CONFIGURE_ARGS= --with-plugin-dir="${PREFIX}/lib/browser_plugins"
|
CONFIGURE_ARGS= --with-plugin-dir="${WEBPLUGINS_DIR}"
|
||||||
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
USE_WEBPLUGINS= gecko*
|
||||||
|
WEBPLUGINS_FILES=libswfdecmozilla.so
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
lib/browser_plugins/libswfdecmozilla.a
|
%%WEBPLUGINS_DIR%%/libswfdecmozilla.a
|
||||||
lib/browser_plugins/libswfdecmozilla.la
|
%%WEBPLUGINS_DIR%%/libswfdecmozilla.la
|
||||||
lib/browser_plugins/libswfdecmozilla.so
|
%%WEBPLUGINS_DIR%%/libswfdecmozilla.so
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= ump
|
PORTNAME= ump
|
||||||
PORTVERSION= 1.10
|
PORTVERSION= 1.10
|
||||||
PORTREVISION= 11
|
PORTREVISION= 12
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:timidity/} \
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:timidity/} \
|
||||||
http://www.geocities.com/SiliconValley/Lab/2826/1-10/:ump \
|
http://www.geocities.com/SiliconValley/Lab/2826/1-10/:ump \
|
||||||
|
@ -51,10 +51,14 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xpf - --exclude '*/libarc/*' \
|
||||||
--exclude '*/utils/mblock.h' --exclude '*/utils/memb.h'
|
--exclude '*/utils/mblock.h' --exclude '*/utils/memb.h'
|
||||||
ALL_TARGET= ump
|
ALL_TARGET= ump
|
||||||
|
|
||||||
|
USE_WEBPLUGINS= native
|
||||||
|
WEBPLUGINS_FILES=ump.so
|
||||||
|
|
||||||
# USE_MOTIF= yes
|
# USE_MOTIF= yes
|
||||||
# CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}"
|
# CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}"
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
||||||
|
|
||||||
.if ${HAVE_GNOME:Mesound}!=""
|
.if ${HAVE_GNOME:Mesound}!=""
|
||||||
USE_GNOME= esound
|
USE_GNOME= esound
|
||||||
|
@ -82,7 +86,7 @@ post-configure:
|
||||||
@cd ${WRKSRC}; ${SETENV} CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile ${SH} ./config.status
|
@cd ${WRKSRC}; ${SETENV} CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile ${SH} ./config.status
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/lib/browser_plugins
|
${MKDIR} ${WEBPLUGINS_DIR}
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/ump/ump.so ${PREFIX}/lib/browser_plugins
|
${INSTALL_DATA} ${WRKSRC}/ump/ump.so ${WEBPLUGINS_DIR}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
lib/browser_plugins/ump.so
|
%%WEBPLUGINS_DIR%%/ump.so
|
||||||
@dirrmtry lib/browser_plugins
|
@dirrmtry %%WEBPLUGINS_DIR%%
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/www/xulrunner/Makefile,v 1.15 2007/12/28 17:39:31 mezz Exp $
|
# $MCom: ports-stable/www/xulrunner/Makefile,v 1.3 2008/08/07 04:42:36 mezz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= xulrunner
|
PORTNAME= xulrunner
|
||||||
PORTVERSION= 1.8.0.4
|
PORTVERSION= 1.8.0.4
|
||||||
PORTREVISION?= 12
|
PORTREVISION?= 14
|
||||||
CATEGORIES?= www devel
|
CATEGORIES?= www devel
|
||||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||||
MASTER_SITE_SUBDIR= xulrunner/releases/${PORTVERSION}/source/
|
MASTER_SITE_SUBDIR= xulrunner/releases/${PORTVERSION}/source/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
##
|
##
|
||||||
## Set LD_LIBRARY_PATH
|
## Set LD_LIBRARY_PATH
|
||||||
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/xulrunner:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
|
||||||
if [ -n "$LD_LIBRARYN32_PATH" ]
|
if [ -n "$LD_LIBRARYN32_PATH" ]
|
||||||
then
|
then
|
||||||
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
|
||||||
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
|
||||||
+
|
+
|
||||||
+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins
|
+MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/xulrunner
|
||||||
+export MOZ_PLUGIN_PATH
|
+export MOZ_PLUGIN_PATH
|
||||||
|
|
||||||
if [ $moz_debug -eq 1 ]
|
if [ $moz_debug -eq 1 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue