mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
15b6544926
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
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: sidplug
|
|
# Date created: 14 December 2001
|
|
# Whom: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sidplug
|
|
PORTVERSION= 1.1.5
|
|
PORTREVISION= 4
|
|
CATEGORIES= www audio
|
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Commodore 64 psid audio plugin for Mozilla or Opera
|
|
|
|
RUN_DEPENDS= xsidplay:${PORTSDIR}/audio/xsidplay
|
|
|
|
MAKE_ARGS= CC="${CC}" OPTIMIZER="${CFLAGS} -I${LOCALBASE}/include"
|
|
USE_XORG= x11
|
|
|
|
USE_WEBPLUGINS= native
|
|
WEBPLUGINS_FILES=npsidplug.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
CFLAGS+= -fPIC
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/npsidplug.so ${WEBPLUGINS_DIR}
|
|
@${LN} -sf ${LOCALBASE}/bin/xsidplay ${PREFIX}/bin/sidplug
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/Lazy_Fast.sid ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README.html ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/sidplug.png ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|