1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/audio/cdplay/files/patch-aa
Tim Vanderhoek e4be841dab Use the MAN1 variable. Add the other half of patch-aa that causes
this port to respect BINOWN and MANOWN.
1998-08-22 06:07:08 +00:00

27 lines
711 B
Plaintext

--- Makefile.orig Fri Nov 7 16:32:07 1997
+++ Makefile Fri Aug 21 22:57:43 1998
@@ -26,11 +26,11 @@
BIN=cdplay
CDDEVICE=\"/dev/rcd0c\"
OPTIMISE=-O2
-CFLAGS=-c -ansi -pedantic -Wall
+CFLAGS+=-c -ansi -pedantic -Wall
LFLAGS=-ltermcap
OFILES=cd.o term.o main.o sound.o
-MANPATH=/usr/local/man/man1/
-BINPATH=/usr/local/bin/
+MANPATH=${PREFIX}/man/man1/
+BINPATH=${PREFIX}/bin/
all: main term cd sound link
@@ -56,6 +56,6 @@
@rm cdplay
install:
@echo Installing binary
- @install -c -o root -g wheel -m 755 cdplay $(BINPATH)
+ @$(BSD_INSTALL_PROGRAM) cdplay $(BINPATH)
@echo Installing manpage
- @install -c -o root -g wheel -m 755 cdplay.1.gz $(MANPATH)
+ @$(BSD_INSTALL_MAN) cdplay.1 $(MANPATH)