summaryrefslogtreecommitdiff
path: root/sysutils/mencvcd/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-01 08:34:42 +0000
committerrillig <rillig@pkgsrc.org>2007-11-01 08:34:42 +0000
commite076cfff07607fa084c955d33c03e444d2170329 (patch)
tree7ad2cb57516709e1036569faa0dbc2dc81be809c /sysutils/mencvcd/Makefile
parent7a697789f02d77e3de4d3e97bd05daf65daf9497 (diff)
downloadpkgsrc-e076cfff07607fa084c955d33c03e444d2170329.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"