From a106e2e081e82db64754fd6ceb8a855e7b67262e Mon Sep 17 00:00:00 2001 From: SADA Kenji Date: Sat, 5 Dec 1998 22:28:44 +0000 Subject: To decide the configuration files' directory affecting ${PREFIX}. PR: ports/8972 Submitted by: gpalmer@FreeBSD.ORG --- audio/xmcd/Makefile | 12 +++++++++++- audio/xmcd/files/patch-ad | 11 +++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 audio/xmcd/files/patch-ad (limited to 'audio/xmcd') 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 # -# $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 -- cgit v1.2.3