1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/audio/radio/files/patch-aa
Chris Piazza b8585c7f5c a) make the radio port install in PREFIX (from submitter)
b) split up the single patch file into multiple patch files

PR:	12211
Submitted by:	Nick Hibma <nick.hibma@jrc.it>
1999-06-19 09:50:04 +00:00

49 lines
1.3 KiB
Plaintext

*** Makefile.orig Mon May 17 01:46:21 1993
--- Makefile Sat Jun 19 02:38:20 1999
***************
*** 26,38 ****
default:
@echo 'You must use "make sun4.0", "make sun4.1",'
@echo '"make next", "make sgi", "make hpux",'
! @echo '"make lofi" or "make audiofile"'
exit 1
all: radio broadcast
# Platform-specific entries
sun4.0: # For SunOS 4.x
make all LIBS=-lX11
--- 26,41 ----
default:
@echo 'You must use "make sun4.0", "make sun4.1",'
@echo '"make next", "make sgi", "make hpux",'
! @echo '"make FreeBSD", "make lofi" or "make audiofile"'
exit 1
all: radio broadcast
# Platform-specific entries
+ FreeBSD: # For FreeBSD 2.0.5
+ make all CFLAGS='-DHAVE_MCAST -DDEFMCAST=\"radio.multicast\"'
+
sun4.0: # For SunOS 4.x
make all LIBS=-lX11
***************
*** 82,87 ****
--- 85,95 ----
make all CFLAGS="-g -Daudiofile $(AFINCLUDE)" \
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
# Common programs: