1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.9.3

PR:		ports/85238
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2005-09-04 00:22:28 +00:00
parent 84182740b8
commit 9523fef921
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141867
8 changed files with 48 additions and 32 deletions

View File

@ -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:

View File

@ -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

View File

@ -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)
+CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(OFLAGS)
+CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(DBGFLAGS)
-LDFLAGS := -s
+LDFLAGS := -s -L$(PREFIX)/lib
LDFLAGS := -s
CORE_EXAMPLES_OBJ := $(addprefix examples/, $(notdir $(patsubst %.c, %.o, $(CORE_EXAMPLES))))

View File

@ -1,5 +1,6 @@
%%ALLEGRO%%bin/dumbplay
bin/dumbout
bin/dumb2wav
include/dumb.h
%%ALLEGRO%%include/aldumb.h
lib/libdumb.a

View File

@ -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:

View File

@ -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

View File

@ -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)
+CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(OFLAGS)
+CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(DBGFLAGS)
-LDFLAGS := -s
+LDFLAGS := -s -L$(PREFIX)/lib
LDFLAGS := -s
CORE_EXAMPLES_OBJ := $(addprefix examples/, $(notdir $(patsubst %.c, %.o, $(CORE_EXAMPLES))))

View File

@ -1,5 +1,6 @@
%%ALLEGRO%%bin/dumbplay
bin/dumbout
bin/dumb2wav
include/dumb.h
%%ALLEGRO%%include/aldumb.h
lib/libdumb.a