From 48f9ff79409482986a00344605ef2c9bb9085eaa Mon Sep 17 00:00:00 2001 From: pvalchev Date: Tue, 5 Feb 2002 03:52:00 +0000 Subject: [PATCH] Import of libmikmod-3.1.10 The MikMod sound library is an excellent way for a programmer to add music and sound effects to an application. It is a powerful and flexible library, with a simple and easy-to-learn API. WWW: http://www.mikmod.org --- audio/libmikmod/Makefile | 43 ++++++++++++++++++++++++++++++++ audio/libmikmod/distinfo | 3 +++ audio/libmikmod/pkg/DESCR | 17 +++++++++++++ audio/libmikmod/pkg/PFRAG.shared | 3 +++ audio/libmikmod/pkg/PLIST | 11 ++++++++ 5 files changed, 77 insertions(+) create mode 100644 audio/libmikmod/Makefile create mode 100644 audio/libmikmod/distinfo create mode 100644 audio/libmikmod/pkg/DESCR create mode 100644 audio/libmikmod/pkg/PFRAG.shared create mode 100644 audio/libmikmod/pkg/PLIST diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile new file mode 100644 index 00000000000..f2890297af7 --- /dev/null +++ b/audio/libmikmod/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/02/05 03:52:00 pvalchev Exp $ + +COMMENT= "mikmod sound library" + +VERSION= 3.1.10 +DISTNAME= libmikmod-${VERSION} +CATEGORIES= audio devel +NEED_VERSION= 1.504 + +HOMEPAGE= http://www.mikmod.org + +MAINTAINER= Peter Valchev + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}/files/libmikmod/ \ + ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR=apps/sound/libs + +PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \ + ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \ + patch-* + +SEPARATE_BUILD= concurrent +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +CONFIGURE_ARGS+= --disable-dl \ + --enable-oss + +FLAVORS= esd +FLAVOR?= + +.if ${FLAVOR:L:Mesd} +CONFIGURE_ARGS+= --enable-esd +LIB_DEPENDS+= esd.2::audio/esound +.else +CONFIGURE_ARGS+= --disable-esd +.endif + +.include diff --git a/audio/libmikmod/distinfo b/audio/libmikmod/distinfo new file mode 100644 index 00000000000..be91282ec08 --- /dev/null +++ b/audio/libmikmod/distinfo @@ -0,0 +1,3 @@ +MD5 (libmikmod-3.1.10.tar.gz) = 14bf3f18cf0187f5dab46e42a3ddda84 +RMD160 (libmikmod-3.1.10.tar.gz) = 940a86c931eeca384561eaeeb88ca448a80dedd0 +SHA1 (libmikmod-3.1.10.tar.gz) = 8d4daec66b17e556e8977cb077c4186111808e0d diff --git a/audio/libmikmod/pkg/DESCR b/audio/libmikmod/pkg/DESCR new file mode 100644 index 00000000000..20a74234a1e --- /dev/null +++ b/audio/libmikmod/pkg/DESCR @@ -0,0 +1,17 @@ +The MikMod sound library is an excellent way for a programmer to +add music and sound effects to an application. It is a powerful +and flexible library, with a simple and easy-to-learn API. + +Besides, the library is very portable and runs under a lot of +Unices, as well as under OS/2, MacOS and Windows. Third party +individuals also maintain ports on other systems, including +MS-DOS, and BeOS. + +MikMod is able to play a wide range of module formats, as well as +digital sound files. It can take advantage of particular features +of your system, such as sound redirection over the network. And +due to its modular nature, the library can be extended to support +more sound or module formats, as well as new hardware or other +sound output capabilities, as they appear. + +WWW: ${HOMEPAGE} diff --git a/audio/libmikmod/pkg/PFRAG.shared b/audio/libmikmod/pkg/PFRAG.shared new file mode 100644 index 00000000000..5d31c81ada4 --- /dev/null +++ b/audio/libmikmod/pkg/PFRAG.shared @@ -0,0 +1,3 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/02/05 03:52:00 pvalchev Exp $ +lib/libmikmod.so.2.4 +DYNLIBDIR(%B) diff --git a/audio/libmikmod/pkg/PLIST b/audio/libmikmod/pkg/PLIST new file mode 100644 index 00000000000..5b24fe3aad0 --- /dev/null +++ b/audio/libmikmod/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/05 03:52:00 pvalchev Exp $ +bin/libmikmod-config +include/mikmod.h +@unexec install-info --delete --info-dir=%D/info %D/info/mikmod.info +info/mikmod.info +@exec install-info --info-dir=%D/info %D/info/mikmod.info +lib/libmikmod.a +lib/libmikmod.la +%%SHARED%% +man/man1/libmikmod-config.1 +share/aclocal/libmikmod.m4