diff options
Diffstat (limited to 'www/helixplugin')
-rw-r--r-- | www/helixplugin/Makefile | 15 | ||||
-rw-r--r-- | www/helixplugin/files/BSDmakefile | 2 |
2 files changed, 11 insertions, 6 deletions
diff --git a/www/helixplugin/Makefile b/www/helixplugin/Makefile index 72e290792565..aa440330ee40 100644 --- a/www/helixplugin/Makefile +++ b/www/helixplugin/Makefile @@ -7,7 +7,7 @@ PORTNAME= hxplugin PORTVERSION= 20070318 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www multimedia 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_DOS2UNIX = yes MAKEFILE = ${FILESDIR}/BSDmakefile -#USE_GECKO = firefox mozilla seamonkey xulrunner firefox-devel -USE_GECKO = ${_GECKO_ALL} +USE_GECKO = firefox mozilla seamonkey xulrunner 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_DIRS= ${PDIR} 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 "${PORTSDIR}/www/mozilla/bsd.gecko.mk" +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" .include <bsd.port.post.mk> diff --git a/www/helixplugin/files/BSDmakefile b/www/helixplugin/files/BSDmakefile index b69e16a1145d..34db079ddb90 100644 --- a/www/helixplugin/files/BSDmakefile +++ b/www/helixplugin/files/BSDmakefile @@ -20,7 +20,7 @@ SRCS = hxbackend.cpp \ XPIDL ?= ${LOCALBASE}/lib/${GECKO}/xpidl 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 |