summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-25 21:12:51 +0000
committerarved <arved@FreeBSD.org>2003-01-25 21:12:51 +0000
commitcf5f201e651b0275fc05bde5aefe7e213032d303 (patch)
treec7a6c0ee220a18e0d24c0a196203b48ac34d3c90 /sysutils
parent4277eb04cbf1aa39efa8d653bac73f1841fba81d (diff)
downloadFreeBSD-ports-cf5f201e651b0275fc05bde5aefe7e213032d303.zip
FreeBSD-ports-cf5f201e651b0275fc05bde5aefe7e213032d303.tar.gz
Remove PERL usage
Remove a patchfile PR: 47232 Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xcdroast/Makefile6
-rw-r--r--sysutils/xcdroast/files/patch-src::xcdroast.h19
2 files changed, 2 insertions, 23 deletions
diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile
index a33971d..27ad27a8 100644
--- a/sysutils/xcdroast/Makefile
+++ b/sysutils/xcdroast/Makefile
@@ -26,6 +26,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
+CONFIGURE_ARGS= --with-cdrtools-prefix=${LOCALBASE}
+
MAN1= xcdroast.1
.if defined(WITH_NONROOT)
@@ -47,10 +49,6 @@ pre-everything::
@${ECHO} " circumstanceces noticed above) or not."
@${ECHO} ""
-post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g; \
- s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/xcdroast.h;
-
post-install:
.if defined(WITH_NONROOT)
@${CAT} ${PKGMESSAGE}
diff --git a/sysutils/xcdroast/files/patch-src::xcdroast.h b/sysutils/xcdroast/files/patch-src::xcdroast.h
deleted file mode 100644
index 21197a1..0000000
--- a/sysutils/xcdroast/files/patch-src::xcdroast.h
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/xcdroast.h.orig Fri Dec 27 18:57:24 2002
-+++ src/xcdroast.h Fri Dec 27 18:59:40 2002
-@@ -99,11 +99,11 @@
- then in $PREFIX (e.g. /usr/bin/cdrecord instead of
- /usr/local/lib/xcdroast-0.98/bin/cdrecord) */
-
--#define CDRECORD "bin/cdrecord"
--#define CDRECORDPRODVD "bin/cdrecord.prodvd"
--#define CDDA2WAV "bin/cdda2wav"
--#define READCD "bin/readcd"
--#define MKISOFS "bin/mkisofs"
-+#define CDRECORD "%%LOCALBASE%%/bin/cdrecord"
-+#define CDRECORDPRODVD "%%LOCALBASE%%/bin/cdrecord.prodvd"
-+#define CDDA2WAV "%%LOCALBASE%%/bin/cdda2wav"
-+#define READCD "%%LOCALBASE%%/bin/readcd"
-+#define MKISOFS "%%LOCALBASE%%/bin/mkisofs"
-
- /* MINIMUM required versions. Greater versions are now silently
- accepted.
OpenPOWER on IntegriCloud