aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-12-11 10:02:21 +0800
committersteve <steve@FreeBSD.org>2000-12-11 10:02:21 +0800
commit850a394f533a07a52474d2671f1bfb79ff68918a (patch)
treed846d3c60ed065ba13c67651fbeb03b3f08c4f61 /audio
parent28e0609f9728edd04082589399336a03b5fc13e9 (diff)
downloadfreebsd-ports-gnome-850a394f533a07a52474d2671f1bfb79ff68918a.tar.gz
freebsd-ports-gnome-850a394f533a07a52474d2671f1bfb79ff68918a.tar.zst
freebsd-ports-gnome-850a394f533a07a52474d2671f1bfb79ff68918a.zip
- Support PREFIX properly
- Update WWW: line PR: 22808 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'audio')
-rw-r--r--audio/xmmix/Makefile3
-rw-r--r--audio/xmmix/files/patch-aa22
-rw-r--r--audio/xmmix/files/patch-ab5
-rw-r--r--audio/xmmix/files/patch-ac11
-rw-r--r--audio/xmmix/files/patch-ad11
-rw-r--r--audio/xmmix/pkg-descr2
6 files changed, 28 insertions, 26 deletions
diff --git a/audio/xmmix/Makefile b/audio/xmmix/Makefile
index 3a1388a6555b..b291e486af2a 100644
--- a/audio/xmmix/Makefile
+++ b/audio/xmmix/Makefile
@@ -18,4 +18,7 @@ USE_MOTIF= yes
MAN1= xmmix.1
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMmix.ad
+
.include <bsd.port.mk>
diff --git a/audio/xmmix/files/patch-aa b/audio/xmmix/files/patch-aa
deleted file mode 100644
index c3f4a3d60911..000000000000
--- a/audio/xmmix/files/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./appenv.h.org Sun Jul 14 10:48:59 1996
-+++ ./appenv.h Mon Aug 19 04:05:16 1996
-@@ -59,7 +59,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#include <sys/soundcard.h>
-+#include <machine/soundcard.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <errno.h>
---- ./Imakefile.org Sun Jul 14 10:48:56 1996
-+++ ./Imakefile Mon Aug 19 04:09:48 1996
-@@ -43,7 +43,7 @@
- * #include "Motif.tmpl"
- * #include "Motif.rules"
- */
--LOCAL_LIBRARIES= XmClientLibs
-+LOCAL_LIBRARIES= ${MOTIFLIB} ${XTOOLLIB} ${XLIB}
-
-
- /*
diff --git a/audio/xmmix/files/patch-ab b/audio/xmmix/files/patch-ab
index 0ff6b74d286d..5eb85f52c5f5 100644
--- a/audio/xmmix/files/patch-ab
+++ b/audio/xmmix/files/patch-ab
@@ -1,6 +1,5 @@
-diff -ruN ./XMmix.ad ../xmmix-1.2/XMmix.ad
---- ./XMmix.ad Thu Nov 19 19:54:39 1998
-+++ ../xmmix-1.2/XMmix.ad Thu Nov 19 19:55:11 1998
+--- XMmix.ad.orig Mon Jul 15 02:48:58 1996
++++ XMmix.ad Sat Nov 11 10:15:08 2000
@@ -26,7 +26,7 @@
!*
diff --git a/audio/xmmix/files/patch-ac b/audio/xmmix/files/patch-ac
new file mode 100644
index 000000000000..550b49a8a76d
--- /dev/null
+++ b/audio/xmmix/files/patch-ac
@@ -0,0 +1,11 @@
+--- Imakefile.orig Mon Jul 15 02:48:56 1996
++++ Imakefile Sat Nov 11 10:15:06 2000
+@@ -43,7 +43,7 @@
+ * #include "Motif.tmpl"
+ * #include "Motif.rules"
+ */
+-LOCAL_LIBRARIES= XmClientLibs
++LOCAL_LIBRARIES= ${MOTIFLIB} ${XTOOLLIB} ${XLIB}
+
+
+ /*
diff --git a/audio/xmmix/files/patch-ad b/audio/xmmix/files/patch-ad
new file mode 100644
index 000000000000..e1763a183703
--- /dev/null
+++ b/audio/xmmix/files/patch-ad
@@ -0,0 +1,11 @@
+--- appenv.h.orig Mon Jul 15 02:48:59 1996
++++ appenv.h Sat Nov 11 10:15:06 2000
+@@ -59,7 +59,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+-#include <sys/soundcard.h>
++#include <machine/soundcard.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>
diff --git a/audio/xmmix/pkg-descr b/audio/xmmix/pkg-descr
index c5357d9f7e85..8edd6d400f47 100644
--- a/audio/xmmix/pkg-descr
+++ b/audio/xmmix/pkg-descr
@@ -9,7 +9,7 @@ suggestions, and late-breaking announcements, if any.
I don't have hardware to test all the features, but it looks ok.
-WWW: http://metalab.unc.edu/tkan/xmmix/
+WWW: http://www.ibiblio.org/tkan/xmmix/
- eric
erich@FreeBSD.org