aboutsummaryrefslogtreecommitdiff
path: root/audio/dumb
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-09-04 00:22:28 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-09-04 00:22:28 +0000
commit9523fef921766da67712b984cc71c263a9ebfe41 (patch)
treec4c10015bd2a57716a4babaae54565bea0415a7a /audio/dumb
parent84182740b89be8adabd327c4b9d17ecaf01ebe29 (diff)
downloadports-9523fef921766da67712b984cc71c263a9ebfe41.tar.gz
ports-9523fef921766da67712b984cc71c263a9ebfe41.zip
Notes
Diffstat (limited to 'audio/dumb')
-rw-r--r--audio/dumb/Makefile6
-rw-r--r--audio/dumb/distinfo4
-rw-r--r--audio/dumb/files/patch-Makefile29
-rw-r--r--audio/dumb/pkg-plist1
4 files changed, 24 insertions, 16 deletions
diff --git a/audio/dumb/Makefile b/audio/dumb/Makefile
index f446cf19412e..2400c3009664 100644
--- a/audio/dumb/Makefile
+++ b/audio/dumb/Makefile
@@ -6,16 +6,14 @@
#
PORTNAME= dumb
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
CATEGORIES= devel audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dumb
-DISTNAME= ${PORTNAME}-${PORTVERSION}-fixed
MAINTAINER= andreas@syndrom23.de
COMMENT= IT, XM, S3M and MOD player library
-WRKSRC= ${WRKDIR}/dumb
USE_REINPLACE= yes
USE_GMAKE= yes
@@ -24,8 +22,10 @@ USE_GMAKE= yes
.if defined(WITH_ALLEGRO)
LIB_DEPENDS+= alleg.41:${PORTSDIR}/devel/allegro
PLIST_SUB+= ALLEGRO=""
+MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
.else
PLIST_SUB+= ALLEGRO="@comment "
+MAKE_ARGS= _PORT_ALLEGRO_CFLAGS=
.endif
post-patch:
diff --git a/audio/dumb/distinfo b/audio/dumb/distinfo
index 6b979179b11d..64a48da7da79 100644
--- a/audio/dumb/distinfo
+++ b/audio/dumb/distinfo
@@ -1,2 +1,2 @@
-MD5 (dumb-0.9.2-fixed.tar.gz) = 0ce45f64934e6d5d7b82a55108596680
-SIZE (dumb-0.9.2-fixed.tar.gz) = 145722
+MD5 (dumb-0.9.3.tar.gz) = f48da5b990aa8aa822d3b6a951baf5c2
+SIZE (dumb-0.9.3.tar.gz) = 167379
diff --git a/audio/dumb/files/patch-Makefile b/audio/dumb/files/patch-Makefile
index 7cf93017e641..4691d4dbf98d 100644
--- a/audio/dumb/files/patch-Makefile
+++ b/audio/dumb/files/patch-Makefile
@@ -1,16 +1,23 @@
---- Makefile.orig Sat Feb 26 15:24:14 2005
-+++ Makefile Sat Feb 26 15:25:07 2005
-@@ -186,10 +186,10 @@
- OFLAGS := -O2 -ffast-math -fomit-frame-pointer
- DBGFLAGS := -DDEBUGMODE=1 -g3
+--- Makefile.orig Mon Aug 8 02:18:41 2005
++++ Makefile Tue Aug 23 02:21:13 2005
+@@ -22,7 +22,7 @@
+ # (Note that this is unable to delete the dumbask
+ # executable if the configuration is absent.)
+
+-MAKEFILE = Makefile.rdy
++MAKEFILE = Makefile
+
+ .PHONY: all install uninstall clean veryclean distclean config config-if-necessary make-outdirs
+
+@@ -231,10 +231,10 @@
+ endif
+ endif
-CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
-CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
-+CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(OFLAGS)
-+CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(DBGFLAGS)
-
--LDFLAGS := -s
-+LDFLAGS := -s -L$(PREFIX)/lib
++CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(OFLAGS)
++CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(DBGFLAGS)
+ LDFLAGS := -s
- CORE_EXAMPLES_OBJ := $(addprefix examples/, $(notdir $(patsubst %.c, %.o, $(CORE_EXAMPLES))))
+
diff --git a/audio/dumb/pkg-plist b/audio/dumb/pkg-plist
index ef81f770d34c..0c545c9b0a64 100644
--- a/audio/dumb/pkg-plist
+++ b/audio/dumb/pkg-plist
@@ -1,5 +1,6 @@
%%ALLEGRO%%bin/dumbplay
bin/dumbout
+bin/dumb2wav
include/dumb.h
%%ALLEGRO%%include/aldumb.h
lib/libdumb.a