diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-19 14:23:18 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-19 14:23:18 +0000 |
commit | 8004b3f80725ee0b30305914c1649060da783f6e (patch) | |
tree | d8f2edb8c58452fd03c2506163d7a712fa76247c /audio | |
parent | decfe46d606ac13de38e5bc26e219013227638e8 (diff) |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/play/Makefile | 10 | ||||
-rw-r--r-- | audio/play/files/patch-ab | 14 |
2 files changed, 5 insertions, 19 deletions
diff --git a/audio/play/Makefile b/audio/play/Makefile index 826039a0c435..60944593e149 100644 --- a/audio/play/Makefile +++ b/audio/play/Makefile @@ -14,7 +14,10 @@ MASTER_SITES= ${MASTER_SITE_PORTS_JP} MAINTAINER= ports@FreeBSD.org COMMENT= A simple audio file player -CONFLICTS= sox-* +CONFLICTS= sox-[0-9]* + +USE_REINPLACE= yes +MAKE_ARGS= CFLAGS="${CFLAGS}" DESTDIR="${PREFIX}" MANDIR="/man/ja/man" MANLANG= ja MAN1= play.1 @@ -23,10 +26,7 @@ PLIST_FILES= bin/play post-patch: .for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c - @${CHMOD} u+w ${WRKSRC}/${file} - @${SED} 's,machine/soundcard.h,sys/soundcard.h,' < ${WRKSRC}/${file} \ - > ${WRKSRC}/${file}.new - @${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file} + @${REINPLACE_CMD} 's,machine/soundcard.h,sys/soundcard.h,' ${WRKSRC}/${file} .endfor .include <bsd.port.mk> diff --git a/audio/play/files/patch-ab b/audio/play/files/patch-ab deleted file mode 100644 index c52013c7f4d7..000000000000 --- a/audio/play/files/patch-ab +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.orig Tue Mar 25 07:29:45 1997 -+++ Makefile Tue Apr 6 02:26:42 1999 -@@ -7,8 +7,8 @@ - - .include <bsd.prog.mk> - --CFLAGS = -O --DESTDIR = /usr/local -+CFLAGS ?= -O -+DESTDIR = ${PREFIX} - BINDIR = /bin --MANDIR = /man/ja_JP.EUC/man -+MANDIR = /man/ja/man - |