summaryrefslogtreecommitdiff
path: root/audio/disc-cover
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-26 10:00:36 +0000
committerjlam <jlam@pkgsrc.org>2001-11-26 10:00:36 +0000
commitc360e336b07d61a6ff0257f5a3dcd70ae2cac813 (patch)
tree5598727430a4781426d42590d7af7398c95cc7dd /audio/disc-cover
parente2c6a120021a85fbb74ca9992ea881a587446ab6 (diff)
downloadpkgsrc-c360e336b07d61a6ff0257f5a3dcd70ae2cac813.tar.gz
Buildlinkify, and use REPLACE_PERL instead of home-grown method of
replacing for perl's path.
Diffstat (limited to 'audio/disc-cover')
-rw-r--r--audio/disc-cover/Makefile15
-rw-r--r--audio/disc-cover/distinfo3
-rw-r--r--audio/disc-cover/patches/patch-aa10
3 files changed, 6 insertions, 22 deletions
diff --git a/audio/disc-cover/Makefile b/audio/disc-cover/Makefile
index 0a80fb0d273..a0bb201773b 100644
--- a/audio/disc-cover/Makefile
+++ b/audio/disc-cover/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/07/31 13:54:35 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2001/11/26 10:00:36 jlam Exp $
#
DISTNAME= disc-cover-1.2.2
@@ -11,17 +11,12 @@ COMMENT= generation of CD covers
DEPENDS+= p5-Audio-CD-0.04-disc-cover-1.1.0:../../audio/p5-Audio-CD-disc-cover
-USE_PERL5= yes
-
-EVAL_PREFIX+= PERLPREFIX=perl
-
-post-patch:
- ${SED} "s@XXXPERLPREFIXXXX@${PERLPREFIX}@" <${WRKSRC}/disc-cover >${WRKSRC}/disc-cover.tmp && ${MV} ${WRKSRC}/disc-cover.tmp ${WRKSRC}/disc-cover
-
-do-build:
- #nothing
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+REPLACE_PERL= disc-cover
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/disc-cover ${PREFIX}/bin
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/disc-cover/distinfo b/audio/disc-cover/distinfo
index 0dbac969af5..15f153b008b 100644
--- a/audio/disc-cover/distinfo
+++ b/audio/disc-cover/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/07/31 13:54:35 drochner Exp $
+$NetBSD: distinfo,v 1.4 2001/11/26 10:00:36 jlam Exp $
SHA1 (disc-cover-1.2.2.tar.gz) = e5af63e361c66b7ab301c3472cd31af9d542cd30
Size (disc-cover-1.2.2.tar.gz) = 42151 bytes
-SHA1 (patch-aa) = 4ccf8e686f6f6b652140ff02d83bd47a6d9ed06a
diff --git a/audio/disc-cover/patches/patch-aa b/audio/disc-cover/patches/patch-aa
deleted file mode 100644
index fb093d18edf..00000000000
--- a/audio/disc-cover/patches/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/29 10:21:31 drochner Exp $
-
---- disc-cover.orig Fri Mar 9 11:57:35 2001
-+++ disc-cover
-@@ -1,4 +1,4 @@
--#!/usr/bin/perl -w
-+#!XXXPERLPREFIXXXX/bin/perl -w
- #
- # Disc-Cover - using CDDB to create a cover for music cds. Default is
- # to output a postscript file called 'artist_-_album.ps' provided the