diff options
author | rillig <rillig> | 2007-11-01 08:34:42 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-01 08:34:42 +0000 |
commit | ceb23905b4a684db239b6d3f283e90fa9861e259 (patch) | |
tree | 7ad2cb57516709e1036569faa0dbc2dc81be809c /sysutils/mencvcd | |
parent | 6b674c7e8ffe80b7093ffe1db6467c0b0bf62770 (diff) | |
download | pkgsrc-ceb23905b4a684db239b6d3f283e90fa9861e259.tar.gz |
Files from DISTDIR should not be copied with the -p option, since they
could be write-protected by file flags, which makes it difficult to
remove them with "make clean".
While here, replaced some custom code with things that have been added
to the pkgsrc infrastructure. This makes the Makefile a bit shorter.
Diffstat (limited to 'sysutils/mencvcd')
-rw-r--r-- | sysutils/mencvcd/Makefile | 17 | ||||
-rw-r--r-- | sysutils/mencvcd/distinfo | 4 | ||||
-rw-r--r-- | sysutils/mencvcd/patches/patch-aa | 7 |
3 files changed, 9 insertions, 19 deletions
diff --git a/sysutils/mencvcd/Makefile b/sysutils/mencvcd/Makefile index d768a12db4f..d1bfb23f989 100644 --- a/sysutils/mencvcd/Makefile +++ b/sysutils/mencvcd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/03/04 11:29:58 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2007/11/01 08:34:42 rillig Exp $ DISTNAME= mencvcd PKGNAME= ${DISTNAME}-0.3 @@ -12,7 +12,6 @@ MAINTAINER= tron@NetBSD.org HOMEPAGE= http://hammelmann.gmxhome.de/projects_en.html COMMENT= Script for converting movie files into (S)VCD format -DEPENDS+= bash-[0-9]*:../../shells/bash DEPENDS+= cdrdao>=1.1.9:../../sysutils/cdrdao DEPENDS+= lame>=3.96.1:../../audio/lame DEPENDS+= mjpegtools>=1.6.2:../../multimedia/mjpegtools @@ -21,20 +20,16 @@ DEPENDS+= normalize>=0.7.6:../../audio/normalize DEPENDS+= sox>=12.16:../../audio/sox DEPENDS+= vcdimager>=0.6.2:../../sysutils/vcdimager -NO_CONFIGURE= YES DIST_SUBDIR= ${PKGNAME_NOREV} +WRKSRC= ${WRKDIR} +NO_BUILD= yes INSTALLATION_DIRS= bin -do-extract: - ${MKDIR} ${WRKSRC} - ${CP} -p ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC} - -do-build: - ${ECHO} "#!${LOCALBASE}/bin/bash" >${WRKSRC}/mencvcd.bash - ${TAIL} +2 ${WRKSRC}/mencvcd >>${WRKSRC}/mencvcd.bash +REPLACE_BASH= mencvcd +USE_TOOLS+= bash:run do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mencvcd.bash ${PREFIX}/bin/mencvcd + ${INSTALL_SCRIPT} ${WRKSRC}/mencvcd ${PREFIX}/bin/mencvcd .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/mencvcd/distinfo b/sysutils/mencvcd/distinfo index db4261ea071..a3e81d19bd5 100644 --- a/sysutils/mencvcd/distinfo +++ b/sysutils/mencvcd/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 13:40:55 agc Exp $ +$NetBSD: distinfo,v 1.5 2007/11/01 08:34:43 rillig Exp $ SHA1 (mencvcd-0.3/mencvcd) = a3ace9d50e0722946286b8704b800ccbce86233b RMD160 (mencvcd-0.3/mencvcd) = 3785524bf26a9c7630a08a29b246d209c0b19d3c Size (mencvcd-0.3/mencvcd) = 13038 bytes -SHA1 (patch-aa) = 445903a8a90e86ff45b891cd2769c8602ff261ee +SHA1 (patch-aa) = 3bc66db72486cc08766aa3b54ff44fe6a8b958b4 diff --git a/sysutils/mencvcd/patches/patch-aa b/sysutils/mencvcd/patches/patch-aa index 25f09a4d4af..6e1cb19afc2 100644 --- a/sysutils/mencvcd/patches/patch-aa +++ b/sysutils/mencvcd/patches/patch-aa @@ -1,12 +1,7 @@ -$NetBSD: patch-aa,v 1.2 2005/02/02 09:11:27 tron Exp $ +$NetBSD: patch-aa,v 1.3 2007/11/01 08:34:43 rillig Exp $ --- mencvcd.orig 2003-06-13 21:06:02.000000000 +0100 +++ mencvcd 2005-02-02 08:20:24.000000000 +0000 -@@ -1,4 +1,3 @@ --#!/bin/sh - # - # Version: 0.3 - # @@ -23,7 +22,7 @@ exit 1 fi |