summaryrefslogtreecommitdiff
path: root/audio/xmcd
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1998-12-05 22:28:44 +0000
committerSADA Kenji <sada@FreeBSD.org>1998-12-05 22:28:44 +0000
commita106e2e081e82db64754fd6ceb8a855e7b67262e (patch)
treeb485b959d8e0ed17bff88699b33615a57e716b87 /audio/xmcd
parentHey! how did that -lkvm get in there? :) (diff)
To decide the configuration files' directory affecting ${PREFIX}.
PR: ports/8972 Submitted by: gpalmer@FreeBSD.ORG
Notes
Notes: svn path=/head/; revision=15141
Diffstat (limited to 'audio/xmcd')
-rw-r--r--audio/xmcd/Makefile12
-rw-r--r--audio/xmcd/files/patch-ad11
2 files changed, 22 insertions, 1 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 18419adf288b..a5bf9905c496 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 Februar 1995
# Whom: Gennady Sorokopud <gena@NetVision.net.il>
#
-# $Id: Makefile,v 1.14 1998/08/31 06:56:58 asami Exp $
+# $Id: Makefile,v 1.15 1998/11/11 00:30:41 mph Exp $
#
DISTNAME= xmcd-2.4
@@ -17,6 +17,16 @@ USE_IMAKE= yes
MAN1= cddbcmd.1 wm2xmcd.1 xmcd.1 cda.1
+post-extract:
+ @chmod -R u+w ${WRKSRC}
+
+pre-patch:
+ @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
+
+post-patch:
+ @${SED} -e "s;@PREFIX@;${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \
+ > ${WRKSRC}/xmcd_d/XMcd.ad
+
post-install:
.for man in cddbcmd.1 wm2xmcd.1 xmcd.1 cda.1
${GZIP_CMD} ${PREFIX}/man/man1/${man}
diff --git a/audio/xmcd/files/patch-ad b/audio/xmcd/files/patch-ad
new file mode 100644
index 000000000000..50e810368bad
--- /dev/null
+++ b/audio/xmcd/files/patch-ad
@@ -0,0 +1,11 @@
+--- xmcd_d/XMcd.ad.in.orig Sun Dec 6 06:08:50 1998
++++ xmcd_d/XMcd.ad.in Sun Dec 6 06:09:33 1998
+@@ -42,7 +42,7 @@
+ !* This resource _must_ be set correctly in your environment
+ !* in order for xmcd to function correctly.
+ !*
+-XMcd.libdir: /usr/lib/X11/xmcd
++XMcd.libdir: @PREFIX@/lib/X11/xmcd
+
+ !*
+ !* CD Database archive contribution