summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools
diff options
context:
space:
mode:
authorghen <ghen>2005-12-14 18:18:07 +0000
committerghen <ghen>2005-12-14 18:18:07 +0000
commit72f2e6543d26faf07b29f31272b8d919236bb302 (patch)
tree0312553667d74a1d2f049e3341dab164ad90578a /multimedia/mjpegtools
parentece9c8904f4aa7fd016fade20ce593bc1c879abe (diff)
downloadpkgsrc-72f2e6543d26faf07b29f31272b8d919236bb302.tar.gz
Use USE_TOOLS+=bash:run rather than depending on shells/bash and deriving
the path from it. Suggested by jlam, ok'ed by xtraeme.
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r--multimedia/mjpegtools/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 92f486732c5..4fc6f2d55ec 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/12/13 15:53:53 ghen Exp $
+# $NetBSD: Makefile,v 1.21 2005/12/14 18:18:07 ghen Exp $
DISTNAME= mjpegtools-1.6.2
PKGREVISION= 7
@@ -11,9 +11,9 @@ COMMENT= Programs for compressing video streams
DEPENDS+= toolame>=02l:../../audio/toolame
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-DEPENDS+= bash>=2:../../shells/bash
USE_TOOLS+= gmake
+USE_TOOLS+= bash:run
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= libtool
@@ -25,15 +25,12 @@ CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame}
.include "options.mk"
-EVAL_PREFIX+= PREFIX.bash=bash
-PREFIX.bash_DEFAULT= ${LOCALBASE}
-
SUBST_CLASSES+= bash
SUBST_STAGE.bash= post-patch
SUBST_FILES.bash= scripts/mpegtranscode
SUBST_FILES.bash+= scripts/lav2avi.sh
SUBST_FILES.bash+= scripts/lav2mpeg
-SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!${PREFIX.bash}/bin/bash,'
+SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!${TOOLS_PATH.bash},'
INFO_FILES= mjpeg-howto.info