aboutsummaryrefslogtreecommitdiff
path: root/audio/gnump3d
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 20:26:24 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 20:26:24 +0000
commitf85e2efeced793d11c6bc90e8e8e01a165989b44 (patch)
treee0a0e1fd647d098bbdab96f4f65fda8be85c79b2 /audio/gnump3d
parentc0730579cdd347f149f703996442ecaf912e7d68 (diff)
downloadports-f85e2efeced793d11c6bc90e8e8e01a165989b44.tar.gz
ports-f85e2efeced793d11c6bc90e8e8e01a165989b44.zip
Notes
Diffstat (limited to 'audio/gnump3d')
-rw-r--r--audio/gnump3d/Makefile5
-rw-r--r--audio/gnump3d/distinfo2
-rw-r--r--audio/gnump3d/files/patch-freebsd27
-rw-r--r--audio/gnump3d/files/patch-server.c10
4 files changed, 21 insertions, 23 deletions
diff --git a/audio/gnump3d/Makefile b/audio/gnump3d/Makefile
index 4ca20a86d32f..4849a0281869 100644
--- a/audio/gnump3d/Makefile
+++ b/audio/gnump3d/Makefile
@@ -7,18 +7,19 @@
#
PORTNAME= gnump3d
-PORTVERSION= 0.9.9.8
+PORTVERSION= 0.9.9.9
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_BZIP2= yes
MAKE_ENV= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET= freebsd
-MAN1= mp3d.1 mp3d.conf.1 mp3d-top.1
+MAN1= mp3d.1 mp3d.conf.1 mp3d-config.1 mp3d-top.1
.include <bsd.port.mk>
diff --git a/audio/gnump3d/distinfo b/audio/gnump3d/distinfo
index 583e8214cadd..c3577d853532 100644
--- a/audio/gnump3d/distinfo
+++ b/audio/gnump3d/distinfo
@@ -1 +1 @@
-MD5 (gnump3d-0.9.9.8.tar.gz) = 8f9ca0da7c720f12309a737375c9f7bc
+MD5 (gnump3d-0.9.9.9.tar.bz2) = d3631ef85abadea0019c04c31b203def
diff --git a/audio/gnump3d/files/patch-freebsd b/audio/gnump3d/files/patch-freebsd
index fc1a2bfcf440..b74539b9320d 100644
--- a/audio/gnump3d/files/patch-freebsd
+++ b/audio/gnump3d/files/patch-freebsd
@@ -1,5 +1,5 @@
---- mkfiles/freebsd.orig Thu May 30 03:58:51 2002
-+++ mkfiles/freebsd Fri May 31 21:18:56 2002
+--- mkfiles/freebsd.orig Fri Jun 7 06:31:56 2002
++++ mkfiles/freebsd Sat Jun 8 09:27:02 2002
@@ -6,8 +6,8 @@
# if you wish you may change PREFIX to be /usr/local,
# for example
@@ -30,14 +30,14 @@
+LIBS = ${PTHREAD_LIBS}
--DEFAULT_CFLAGS = -I. -D_THREAD_SAFE -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.8\""
--CFLAGS = $(DEFAULT_CFLAGS) -Wall -DFREEBSD=1 -DOS_TYPE="\"FreeBSD\""
-+DEFAULT_CFLAGS = -I. ${PTHREAD_CFLAGS} -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.8\""
-+CFLAGS += $(DEFAULT_CFLAGS) -Wall -DFREEBSD=1 -DOS_TYPE="\"FreeBSD\""
+-DEFAULT_CFLAGS = -I. -D_THREAD_SAFE -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.9\""
+-CFLAGS = $(DEFAULT_CFLAGS) -Wall -DOS_TYPE="\"FreeBSD\""
++DEFAULT_CFLAGS = -I. ${PTHREAD_CFLAGS} -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.9\""
++CFLAGS += $(DEFAULT_CFLAGS) -Wall -DOS_TYPE="\"FreeBSD\""
#
-@@ -113,19 +113,25 @@
+@@ -116,25 +116,26 @@
# Install the software.
#
install: $(PROG)
@@ -52,12 +52,17 @@
# Install all the theme directories.
- for i in ../templates/*/; do cp -R ../templates/$$i $(TEMPLATEDIR); done
- install ../templates/README $(TEMPLATEDIR)
-- chmod -R 555 $(TEMPLATEDIR)
-+ -mkdir -p $(TEMPLATEDIR)/default
+-
+- # Fix up permissions correctly.
+- find $(TEMPLATEDIR) -name "CVS" -print | xargs rm -rf
+- chmod -R a+rx $(TEMPLATEDIR)
+- find $(TEMPLATEDIR) -name "*.*" -print | xargs chmod -x
+-
++ -mkdir -p $(TEMPLATEDIR)/default
+ ${BSD_INSTALL_DATA} ../templates/default/* $(TEMPLATEDIR)/default
+ -mkdir -p $(TEMPLATEDIR)/nausicaa
+ ${BSD_INSTALL_DATA} ../templates/nausicaa/* $(TEMPLATEDIR)/nausicaa
-+ -mkdir -p $(TEMPLATEDIR)/simple
++ -mkdir -p $(TEMPLATEDIR)/simple
+ ${BSD_INSTALL_DATA} ../templates/simple/* $(TEMPLATEDIR)/simple
+ -mkdir -p $(TEMPLATEDIR)/split
+ ${BSD_INSTALL_DATA} ../templates/split/* $(TEMPLATEDIR)/split
@@ -67,10 +72,12 @@
- install ../doc/mp3d.1 $(MANDIR)
- install ../doc/mp3d.conf.1 $(MANDIR)
- install ../doc/mp3d-top.1 $(MANDIR)
+- install ../doc/mp3d-config.1 $(MANDIR)
+ -mkdir -p $(MANDIR)
+ ${BSD_INSTALL_MAN} ../doc/mp3d.1 $(MANDIR)
+ ${BSD_INSTALL_MAN} ../doc/mp3d.conf.1 $(MANDIR)
+ ${BSD_INSTALL_MAN} ../doc/mp3d-top.1 $(MANDIR)
++ ${BSD_INSTALL_MAN} ../doc/mp3d-config.1 $(MANDIR)
#
diff --git a/audio/gnump3d/files/patch-server.c b/audio/gnump3d/files/patch-server.c
deleted file mode 100644
index c9b27bca3516..000000000000
--- a/audio/gnump3d/files/patch-server.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/server.c.orig Thu May 30 03:58:51 2002
-+++ src/server.c Fri May 31 19:35:18 2002
-@@ -32,6 +32,7 @@
- */
-
-
-+#include <sys/types.h>
- #include <ctype.h>
- #include <netdb.h>
- #include <pwd.h>