diff options
-rw-r--r-- | audio/radio/Makefile | 12 | ||||
-rw-r--r-- | audio/radio/files/patch-aa | 14 | ||||
-rw-r--r-- | audio/radio/files/patch-ac | 6 |
3 files changed, 14 insertions, 18 deletions
diff --git a/audio/radio/Makefile b/audio/radio/Makefile index 7b4098eb8046..6cf92fa16a28 100644 --- a/audio/radio/Makefile +++ b/audio/radio/Makefile @@ -7,19 +7,15 @@ PORTNAME= radio PORTVERSION= 2.0.4 +PORTREVISION= 1 CATEGORIES= audio net -MASTER_SITES= ftp://ftp.cwi.nl/pub/audio/ +MASTER_SITES= http://ftp.yars.free.net/pub/software/unix/util/sound/ DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= ports@FreeBSD.Org +MAINTAINER= ports@FreeBSD.org NO_WRKSUBDIR= yes -MAKE_FLAGS= FreeBSD -f +ALL_TARGET= ${OPSYS} MAN1= radio.1 broadcast.1 -post-patch: - @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \ - ${WRKSRC}/radio.c > ${WRKSRC}/radio.c.new - @${MV} ${WRKSRC}/radio.c.new ${WRKSRC}/radio.c - .include <bsd.port.mk> diff --git a/audio/radio/files/patch-aa b/audio/radio/files/patch-aa index aca60df84502..9de730975fc6 100644 --- a/audio/radio/files/patch-aa +++ b/audio/radio/files/patch-aa @@ -1,5 +1,5 @@ -*** Makefile.orig Mon May 17 01:46:21 1993 ---- Makefile Sat Jun 19 02:38:20 1999 +*** Makefile.orig Mon May 17 17:46:21 1993 +--- Makefile Wed Oct 2 07:08:32 2002 *************** *** 26,38 **** default: @@ -27,7 +27,7 @@ # Platform-specific entries + FreeBSD: # For FreeBSD 2.0.5 -+ make all CFLAGS='-DHAVE_MCAST -DDEFMCAST=\"radio.multicast\"' ++ $(MAKE) all CFLAGS='$(CFLAGS) -DHAVE_MCAST -DDEFMCAST=\"radio.multicast\"' + sun4.0: # For SunOS 4.x make all LIBS=-lX11 @@ -39,10 +39,10 @@ LIBS="$(AFLIBDIRS) -lAF -lAFUtil -lm" + install: all -+ $(INSTALL) -c -s -o bin -g bin -m 755 broadcast ${PREFIX}/bin/broadcast -+ $(INSTALL) -c -s -o bin -g bin -m 755 radio ${PREFIX}/bin/radio -+ $(INSTALL) -c -o bin -g bin -m 644 broadcast.man ${PREFIX}/man/man1/broadcast.1 -+ $(INSTALL) -c -o bin -g bin -m 644 radio.man ${PREFIX}/man/man1/radio.1 ++ $(BSD_INSTALL_PROGRAM) -o bin -g bin broadcast ${PREFIX}/bin/broadcast ++ $(BSD_INSTALL_PROGRAM) -o bin -g bin radio ${PREFIX}/bin/radio ++ $(BSD_INSTALL_MAN) broadcast.man ${PREFIX}/man/man1/broadcast.1 ++ $(BSD_INSTALL_MAN) radio.man ${PREFIX}/man/man1/radio.1 # Common programs: diff --git a/audio/radio/files/patch-ac b/audio/radio/files/patch-ac index 9664d2449260..b99562d960dc 100644 --- a/audio/radio/files/patch-ac +++ b/audio/radio/files/patch-ac @@ -1,5 +1,5 @@ -*** radio.c.orig Mon May 17 01:46:23 1993 ---- radio.c Sat Jun 19 02:36:48 1999 +*** radio.c.orig Mon May 17 17:46:23 1993 +--- radio.c Wed Oct 2 07:02:27 2002 *************** *** 102,107 **** --- 102,121 ---- @@ -8,7 +8,7 @@ + #ifdef __FreeBSD__ + #include <string.h> -+ #include <machine/soundcard.h> ++ #include <sys/soundcard.h> + + #define AUDIO_IODEV "/dev/audio" + #define AUDIO_CTLDEV "/dev/audioctl" |