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
37 lines
977 B
Makefile
37 lines
977 B
Makefile
# New ports collection makefile for: helixplugin
|
|
# Date created: October 22, 2006
|
|
# Whom: Mikhail T <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hxplugin
|
|
PORTVERSION= 20070318
|
|
PORTREVISION= 3
|
|
CATEGORIES= www multimedia
|
|
MASTER_SITES= http://virtual-estates.net/~mi/port-stuff/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Browser plugin for Real or Helix Players
|
|
|
|
USE_BZIP2 = yes
|
|
USE_DOS2UNIX = yes
|
|
MAKEFILE = ${FILESDIR}/BSDmakefile
|
|
USE_GECKO = firefox mozilla seamonkey xulrunner
|
|
MAKE_ENV += TOP="${WRKSRC}" GECKO=${GECKO}
|
|
|
|
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:
|
|
${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>
|