View | Details | Raw Unified | Return to bug 47232
Collapse All | Expand All

(-)/usr/ports/sysutils/xcdroast/Makefile (-4 / +2 lines)
Lines 26-31 Link Here
26
CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}" \
26
CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}" \
27
		GLIB_CONFIG="${GLIB_CONFIG}"
27
		GLIB_CONFIG="${GLIB_CONFIG}"
28
28
29
CONFIGURE_ARGS=	--with-cdrtools-prefix=${LOCALBASE}
30
29
MAN1=		xcdroast.1
31
MAN1=		xcdroast.1
30
32
31
.if defined(WITH_NONROOT)
33
.if defined(WITH_NONROOT)
Lines 46-55 Link Here
46
	@${ECHO} "          - if you are really in need of it (with the attendant"
48
	@${ECHO} "          - if you are really in need of it (with the attendant"
47
	@${ECHO} "         circumstanceces noticed above) or not."
49
	@${ECHO} "         circumstanceces noticed above) or not."
48
	@${ECHO} ""
50
	@${ECHO} ""
49
50
post-patch:
51
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g; \
52
	                 s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/xcdroast.h;
53
51
54
post-install:
52
post-install:
55
.if defined(WITH_NONROOT)
53
.if defined(WITH_NONROOT)
(-)/usr/ports/sysutils/xcdroast/files/patch-src::xcdroast.h (-19 lines)
Lines 1-19 Link Here
1
--- src/xcdroast.h.orig	Fri Dec 27 18:57:24 2002
2
+++ src/xcdroast.h	Fri Dec 27 18:59:40 2002
3
@@ -99,11 +99,11 @@
4
    then in $PREFIX (e.g. /usr/bin/cdrecord instead of 
5
    /usr/local/lib/xcdroast-0.98/bin/cdrecord) */
6
 
7
-#define CDRECORD "bin/cdrecord" 
8
-#define CDRECORDPRODVD "bin/cdrecord.prodvd" 
9
-#define CDDA2WAV "bin/cdda2wav"
10
-#define READCD "bin/readcd"
11
-#define MKISOFS "bin/mkisofs"
12
+#define CDRECORD "%%LOCALBASE%%/bin/cdrecord" 
13
+#define CDRECORDPRODVD "%%LOCALBASE%%/bin/cdrecord.prodvd" 
14
+#define CDDA2WAV "%%LOCALBASE%%/bin/cdda2wav"
15
+#define READCD "%%LOCALBASE%%/bin/readcd"
16
+#define MKISOFS "%%LOCALBASE%%/bin/mkisofs"
17
 
18
 /* MINIMUM required versions. Greater versions are now silently
19
    accepted. 

Return to bug 47232