summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/Makefile
diff options
context:
space:
mode:
authorghen <ghen>2005-12-14 18:18:07 +0000
committerghen <ghen>2005-12-14 18:18:07 +0000
commitae799dfc015bce7510807dd35d6749d26a7faaac (patch)
tree0312553667d74a1d2f049e3341dab164ad90578a /multimedia/mjpegtools/Makefile
parent09f1ce58d664ed6d2667a70ae0b85b7447524f5d (diff)
downloadpkgsrc-ae799dfc015bce7510807dd35d6749d26a7faaac.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/Makefile')
-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