From 9909a1b84273bfdd82968e201ff399662fdbcbe1 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 10 Sep 2007 16:02:26 +0000 Subject: Initial import of adplug-2.1 from pkgsrc-wip, packaged by jfranz at bsdprojects dot net. AdPlug is a free, cross-platform, hardware independent AdLib sound player library, mainly written in C++ and released under the LGPL. AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, directly from its original format on top of an OPL2 emulator or by using the real hardware. No OPL chip is required for playback. --- audio/adplug/DESCR | 5 ++++ audio/adplug/Makefile | 22 +++++++++++++++++ audio/adplug/PLIST | 61 ++++++++++++++++++++++++++++++++++++++++++++++ audio/adplug/buildlink3.mk | 21 ++++++++++++++++ audio/adplug/distinfo | 5 ++++ 5 files changed, 114 insertions(+) create mode 100644 audio/adplug/DESCR create mode 100644 audio/adplug/Makefile create mode 100644 audio/adplug/PLIST create mode 100644 audio/adplug/buildlink3.mk create mode 100644 audio/adplug/distinfo diff --git a/audio/adplug/DESCR b/audio/adplug/DESCR new file mode 100644 index 00000000000..476c1c671cb --- /dev/null +++ b/audio/adplug/DESCR @@ -0,0 +1,5 @@ +AdPlug is a free, cross-platform, hardware independent AdLib sound player +library, mainly written in C++ and released under the LGPL. AdPlug plays +sound data, originally created for the AdLib (OPL2) audio board, directly +from its original format on top of an OPL2 emulator or by using the real +hardware. No OPL chip is required for playback. diff --git a/audio/adplug/Makefile b/audio/adplug/Makefile new file mode 100644 index 00000000000..6e218128854 --- /dev/null +++ b/audio/adplug/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/09/10 16:02:26 xtraeme Exp $ +# + +DISTNAME= adplug-2.1 +CATEGORIES= audio devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=adplug/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jfranz@bsdprojects.net +HOMEPAGE= http://adplug.sourceforge.net/ +COMMENT= AdLib emulator library supporting many formats + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +INFO_FILES= yes + +PKGCONFIG_OVERRIDE+= adplug.pc.in + +.include "../../devel/libbinio/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/adplug/PLIST b/audio/adplug/PLIST new file mode 100644 index 00000000000..0d19635d933 --- /dev/null +++ b/audio/adplug/PLIST @@ -0,0 +1,61 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/10 16:02:26 xtraeme Exp $ +bin/adplugdb +include/adplug/a2m.h +include/adplug/adl.h +include/adplug/adlibemu.h +include/adplug/adplug.h +include/adplug/adtrack.h +include/adplug/amd.h +include/adplug/analopl.h +include/adplug/bam.h +include/adplug/bmf.h +include/adplug/cff.h +include/adplug/d00.h +include/adplug/database.h +include/adplug/dfm.h +include/adplug/diskopl.h +include/adplug/dmo.h +include/adplug/dro.h +include/adplug/dtm.h +include/adplug/emuopl.h +include/adplug/flash.h +include/adplug/fmc.h +include/adplug/fmopl.h +include/adplug/fprovide.h +include/adplug/hsc.h +include/adplug/hsp.h +include/adplug/hybrid.h +include/adplug/hyp.h +include/adplug/imf.h +include/adplug/kemuopl.h +include/adplug/ksm.h +include/adplug/lds.h +include/adplug/mad.h +include/adplug/mid.h +include/adplug/mkj.h +include/adplug/msc.h +include/adplug/mtk.h +include/adplug/opl.h +include/adplug/player.h +include/adplug/players.h +include/adplug/protrack.h +include/adplug/psi.h +include/adplug/rad.h +include/adplug/rat.h +include/adplug/raw.h +include/adplug/realopl.h +include/adplug/rix.h +include/adplug/rol.h +include/adplug/s3m.h +include/adplug/sa2.h +include/adplug/silentopl.h +include/adplug/sng.h +include/adplug/temuopl.h +include/adplug/u6m.h +include/adplug/xad.h +include/adplug/xsm.h +info/libadplug.info +lib/libadplug.la +lib/pkgconfig/adplug.pc +man/man1/adplugdb.1 +@dirrm include/adplug diff --git a/audio/adplug/buildlink3.mk b/audio/adplug/buildlink3.mk new file mode 100644 index 00000000000..566c4817e81 --- /dev/null +++ b/audio/adplug/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/10 16:02:26 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +ADPLUG_BUILDLINK3_MK:= ${ADPLUG_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= adplug +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nadplug} +BUILDLINK_PACKAGES+= adplug +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}adplug + +.if ${ADPLUG_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.adplug+= adplug>=2.1 +BUILDLINK_PKGSRCDIR.adplug?= ../../audio/adplug +.endif # ADPLUG_BUILDLINK3_MK + +.include "../../devel/libbinio/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/adplug/distinfo b/audio/adplug/distinfo new file mode 100644 index 00000000000..27a0bf232dd --- /dev/null +++ b/audio/adplug/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/09/10 16:02:26 xtraeme Exp $ + +SHA1 (adplug-2.1.tar.bz2) = 49dd798467f194ece1863f18019912f8089cb9df +RMD160 (adplug-2.1.tar.bz2) = 8788c174507fe39d3415f36e1ac60df6b84c889f +Size (adplug-2.1.tar.bz2) = 730686 bytes -- cgit v1.2.3