aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-19 16:58:44 +0800
committervs <vs@FreeBSD.org>2005-04-19 16:58:44 +0800
commitc89c4ba8f84b41ef08f6fa257b38a3043a401520 (patch)
tree984ccfbceeed2a1a3ca0c46cd531f89f82d82672 /audio
parent65a99bb363dd19e21e73c24af390dcdbe82575de (diff)
downloadfreebsd-ports-gnome-c89c4ba8f84b41ef08f6fa257b38a3043a401520.tar.gz
freebsd-ports-gnome-c89c4ba8f84b41ef08f6fa257b38a3043a401520.tar.zst
freebsd-ports-gnome-c89c4ba8f84b41ef08f6fa257b38a3043a401520.zip
Avoid excessive Makefile-patch
Diffstat (limited to 'audio')
-rw-r--r--audio/cdplay/Makefile6
-rw-r--r--audio/cdplay/files/patch-aa26
2 files changed, 6 insertions, 26 deletions
diff --git a/audio/cdplay/Makefile b/audio/cdplay/Makefile
index fdac737975a6..45492cd599ee 100644
--- a/audio/cdplay/Makefile
+++ b/audio/cdplay/Makefile
@@ -15,10 +15,16 @@ MASTER_SITE_SUBDIR= dannyboy
MAINTAINER= ports@FreeBSD.org
COMMENT= CD-player with text-based user interface
+MAKE_ARGS= CFLAGS="${CFLAGS} -c -ansi"
+
MAN1= cdplay.1
PLIST_FILES= bin/cdplay
pre-patch:
@${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${MAN1PREFIX}/man/man1
+
.include <bsd.port.mk>
diff --git a/audio/cdplay/files/patch-aa b/audio/cdplay/files/patch-aa
deleted file mode 100644
index ef23507527c2..000000000000
--- a/audio/cdplay/files/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
---- 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)