DUMB stands for Dynamic Universal Music Bibliotheque.

Supports playback of IT, XM, S3M and MOD files.

originally from & OK landry@
This commit is contained in:
phessler 2009-10-15 14:35:29 +00:00
parent a081f17a6d
commit fc1a38efae
7 changed files with 123 additions and 0 deletions

24
audio/dumb/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
COMMENT= IT/MOD/XM player and library
DISTNAME= dumb-0.9.3
CATEGORIES= audio
HOMEPAGE= http://dumb.sourceforge.net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dumb/}
# free, with some not-seriously-intended joke clauses
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= yes
LIB_DEPENDS= alleg::games/allegro
WANTLIB= c m sndio
NO_REGRESS= Yes
.include <bsd.port.mk>

5
audio/dumb/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (dumb-0.9.3.tar.gz) = 9I2luZCqiqgi07apUbr1wg==
RMD160 (dumb-0.9.3.tar.gz) = U8eTH+xx3U5n4ZxKzzjA+SAuVpg=
SHA1 (dumb-0.9.3.tar.gz) = R2S9WfWJXrUDWlE5RUzvelOna7g=
SHA256 (dumb-0.9.3.tar.gz) = jUT7yeV/O6yfdhw7Es4QLUfXF/DdhGZX+5iOC7XR6jM=
SIZE (dumb-0.9.3.tar.gz) = 167379

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
--- Makefile.orig Sun Aug 7 18:18:41 2005
+++ Makefile Tue Jun 2 14:17:21 2009
@@ -41,10 +41,10 @@ else
ifdef USE_SGICC
CC := cc
else
-CC := gcc
+CC ?= gcc
endif
endif
-AR := ar
+AR ?= ar
# Configuration.
@@ -231,8 +231,8 @@ DBGFLAGS := -DDEBUGMODE=1 -g3
endif
endif
-CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
-CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
+CFLAGS_RELEASE := -Iinclude ${CFLAGS} $(WFLAGS) $(OFLAGS)
+CFLAGS_DEBUG := -Iinclude ${CFLAGS} $(WFLAGS) $(DBGFLAGS)
LDFLAGS := -s

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_rdy,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
--- Makefile.rdy.orig Sun Aug 7 18:18:39 2005
+++ Makefile.rdy Tue Jun 2 14:07:18 2009
@@ -231,8 +231,8 @@ DBGFLAGS := -DDEBUGMODE=1 -g3
endif
endif
-CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
-CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
+CFLAGS_RELEASE := -Iinclude -I/usr/local/include $(WFLAGS) $(OFLAGS)
+CFLAGS_DEBUG := -Iinclude -I${LOCALBASE}/include $(WFLAGS) $(DBGFLAGS)
LDFLAGS := -s

View File

@ -0,0 +1,41 @@
$OpenBSD: patch-make_config_sh,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
--- make/config.sh.orig Sun Aug 7 18:18:40 2005
+++ make/config.sh Tue Jun 2 14:16:31 2009
@@ -5,33 +5,7 @@
# should be run indirectly through the 'make config' target (or the 'make'
# target the first time).
-if [ ! -f make/dumbask ]; then
- echo "You should not be running this directly! Use 'make' or 'make config'."
- exit
-fi
-
-echo 'include make/unix.inc' > make/config.tmp
-
-echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.tmp
-
-if make/dumbask 'Would you like support for Allegro (Y/N)? ' YN; then
- echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.tmp
-fi
-
-
-if [ ! -z $DEFAULT_PREFIX ]; then
-echo "Please specify an installation prefix (default $DEFAULT_PREFIX)."
-echo -n '> '
-read PREFIX
-if [ -z $PREFIX ]; then PREFIX=$DEFAULT_PREFIX; fi
-echo "PREFIX := `echo "$PREFIX" | \
- sed -e 's/\${\([A-Za-z_][A-Za-z0-9_]*\)}/$(\1)/g' \
- -e 's/\$\([A-Za-z_][A-Za-z0-9_]*\)/$(\1)/g'`" >> make/config.tmp
-fi
-
-mv -f make/config.tmp make/config.txt
-
-echo 'Configuration complete.'
-echo "Run 'make config' to change it in the future."
-echo -n 'Press Enter to continue ... '
-read dummy
+echo 'include make/unix.inc' > make/config.txt
+echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.txt
+echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.txt
+echo "PREFIX ?= ${PREFIX}" >> make/config.txt

2
audio/dumb/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
DUMB stands for Dynamic Universal Music Bibliotheque.
Supports playback of IT, XM, S3M and MOD files.

10
audio/dumb/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
@bin bin/dumb2wav
@bin bin/dumbout
@bin bin/dumbplay
include/aldumb.h
include/dumb.h
lib/libaldmb.a
lib/libaldmd.a
lib/libdumb.a
lib/libdumbd.a