diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-09 15:12:11 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-09 15:12:11 +0000 |
commit | af567d5554bf83255a8383b882ed02823064ed32 (patch) | |
tree | 6276b546dcd9b74f9bcea966dd4e0da91c2eebda /www | |
parent | o xsidplay tries to access /dev/sound/dsp (linuxism) when it cannot (diff) |
New port sidplug version 1.1.4: A Commodore 64 psid audio plugin
for Mozilla web browser
PR: 32846
Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
Notes
Notes:
svn path=/head/; revision=52819
Diffstat (limited to '')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/sidplug/Makefile | 32 | ||||
-rw-r--r-- | www/sidplug/distinfo | 1 | ||||
-rw-r--r-- | www/sidplug/files/patch-Makefile | 17 | ||||
-rw-r--r-- | www/sidplug/pkg-comment | 1 | ||||
-rw-r--r-- | www/sidplug/pkg-descr | 4 | ||||
-rw-r--r-- | www/sidplug/pkg-plist | 8 |
7 files changed, 64 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index bb0353343a7e..3b420fc45556 100644 --- a/www/Makefile +++ b/www/Makefile @@ -297,6 +297,7 @@ SUBDIR += ruby-tmpl SUBDIR += ruby-webunit SUBDIR += screem + SUBDIR += sidplug SUBDIR += sitecopy SUBDIR += skipstone SUBDIR += smb2www diff --git a/www/sidplug/Makefile b/www/sidplug/Makefile new file mode 100644 index 000000000000..1bff84ab7e7c --- /dev/null +++ b/www/sidplug/Makefile @@ -0,0 +1,32 @@ +# 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.4 +CATEGORIES= www audio +MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/ +EXTRACT_SUFX= .tgz + +MAINTAINER= jmcoopr@webmail.bmi.net + +RUN_DEPENDS= xsidplay:${PORTSDIR}/audio/xsidplay \ + mozilla:${PORTSDIR}/www/mozilla + +USE_X_PREFIX= yes + +do-install: + @${MKDIR} ${PREFIX}/lib/mozilla/plugins + @${INSTALL_PROGRAM} ${WRKSRC}/npsidplug.so ${PREFIX}/lib/mozilla/plugins + @${LN} -sf ${X11BASE}/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.mk> diff --git a/www/sidplug/distinfo b/www/sidplug/distinfo new file mode 100644 index 000000000000..4ce40285ceae --- /dev/null +++ b/www/sidplug/distinfo @@ -0,0 +1 @@ +MD5 (sidplug-1.1.4.tgz) = 7d53f49b1fd04e2d7f57c97dc96dfb25 diff --git a/www/sidplug/files/patch-Makefile b/www/sidplug/files/patch-Makefile new file mode 100644 index 000000000000..50a85246b984 --- /dev/null +++ b/www/sidplug/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile Mon Nov 17 02:32:09 1997 ++++ Makefile.new Fri Dec 14 21:08:26 2001 +@@ -19,11 +19,10 @@ + # + + PLUGIN_SDK_PATH = ./PluginSDK30b5 +-PLUGIN_DEFINES= -DXP_UNIX -I$(PLUGIN_SDK_PATH)/include ++PLUGIN_DEFINES= -DXP_UNIX -I$(PLUGIN_SDK_PATH)/include -I$(X11BASE)/include + +-CC = gcc +-OPTIMIZER = -O +-CFLAGS = $(OPTIMIZER) $(PLUGIN_DEFINES) ++CC ?= gcc ++CFLAGS += $(PLUGIN_DEFINES) + + SRC= sidplug.c npunix.c + OBJ= sidplug.o npunix.o diff --git a/www/sidplug/pkg-comment b/www/sidplug/pkg-comment new file mode 100644 index 000000000000..d8a73e0ffbbd --- /dev/null +++ b/www/sidplug/pkg-comment @@ -0,0 +1 @@ +A Commodore 64 psid audio plugin for Mozilla web browser diff --git a/www/sidplug/pkg-descr b/www/sidplug/pkg-descr new file mode 100644 index 000000000000..76f1816cb149 --- /dev/null +++ b/www/sidplug/pkg-descr @@ -0,0 +1,4 @@ +SIDplug is a Commodore 64 psid audio Plugin for Mozilla. + +-- jmcoopr@webmail.bmi.net +WWW: http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/sidplug.html diff --git a/www/sidplug/pkg-plist b/www/sidplug/pkg-plist new file mode 100644 index 000000000000..f9accb36f621 --- /dev/null +++ b/www/sidplug/pkg-plist @@ -0,0 +1,8 @@ +bin/sidplug +lib/mozilla/plugins/npsidplug.so +@unexec rmdir %D/lib/mozilla/plugins 2>/dev/null || true +@unexec rmdir %D/lib/mozilla 2>/dev/null || true +%%PORTDOCS%%share/examples/sidplug/Lazy_Fast.sid +%%PORTDOCS%%share/examples/sidplug/README.html +%%PORTDOCS%%share/examples/sidplug/sidplug.png +%%PORTDOCS%%@dirrm share/examples/sidplug |