summaryrefslogtreecommitdiff
path: root/sysutils/mencvcd/Makefile
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-01 08:34:42 +0000
committerrillig <rillig>2007-11-01 08:34:42 +0000
commitceb23905b4a684db239b6d3f283e90fa9861e259 (patch)
tree7ad2cb57516709e1036569faa0dbc2dc81be809c /sysutils/mencvcd/Makefile
parent6b674c7e8ffe80b7093ffe1db6467c0b0bf62770 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--sysutils/mencvcd/Makefile17
1 files changed, 6 insertions, 11 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"