summaryrefslogtreecommitdiff
path: root/audio/gramofile/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
commit0467aae499c92d2291845dfda27e5622a727a993 (patch)
tree34ed02ae681900dda940f9ba00d20f84e185a83b /audio/gramofile/Makefile
parentRespect NOPORTDOCS (diff)
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Notes
Notes: svn path=/head/; revision=60745
Diffstat (limited to 'audio/gramofile/Makefile')
-rw-r--r--audio/gramofile/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/gramofile/Makefile b/audio/gramofile/Makefile
index b83c007b20c2..f33de8293499 100644
--- a/audio/gramofile/Makefile
+++ b/audio/gramofile/Makefile
@@ -15,6 +15,13 @@ MAINTAINER= nox@jelal.kn-bremen.de
ALL_TARGET= gramofile
USE_GMAKE= yes
+post-patch:
+.for file in bplay.c sndfunc.c
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/bplaysrc/${file} > ${WRKSRC}/bplaysrc/${file}.new
+ @${MV} ${WRKSRC}/bplaysrc/${file}.new ${WRKSRC}/bplaysrc/${file}
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/doc/gramofile