summaryrefslogtreecommitdiff
path: root/sysutils/atitvout
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-12-18 13:18:13 +0000
committerxtraeme <xtraeme>2004-12-18 13:18:13 +0000
commit66b97d542fd7abbc2b13f7e8234202f961da1aa5 (patch)
tree0cb7cf3e97f1520e8bc0ee9f883f12941cfa021f /sysutils/atitvout
parentb35b62745de0f6bccec1e4b65ad55cbab0e638aa (diff)
downloadpkgsrc-66b97d542fd7abbc2b13f7e8234202f961da1aa5.tar.gz
* Fix PATH for test.sh script
* Use /bin/sh in test.sh instead of /bin/bash * Use ${PREFIX}/sbin/atitvout not ./atitvout Bump PKGREVISION.
Diffstat (limited to 'sysutils/atitvout')
-rw-r--r--sysutils/atitvout/MESSAGE4
-rw-r--r--sysutils/atitvout/Makefile9
-rw-r--r--sysutils/atitvout/distinfo3
-rw-r--r--sysutils/atitvout/patches/patch-ab15
4 files changed, 27 insertions, 4 deletions
diff --git a/sysutils/atitvout/MESSAGE b/sysutils/atitvout/MESSAGE
index f524186989e..f3b6e4a6a46 100644
--- a/sysutils/atitvout/MESSAGE
+++ b/sysutils/atitvout/MESSAGE
@@ -1,7 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2003/08/13 05:23:00 mrg Exp $
+$NetBSD: MESSAGE,v 1.2 2004/12/18 13:18:13 xtraeme Exp $
- Try running the ${PREFIX}/share/atitvout/test.sh program to find
+ Try running the ${PREFIX}/share/doc/atitvout/test.sh program to find
out if this program works with your video card. It will cycle
through all available settings with pauses.
diff --git a/sysutils/atitvout/Makefile b/sysutils/atitvout/Makefile
index da756889b62..81a5509a8a3 100644
--- a/sysutils/atitvout/Makefile
+++ b/sysutils/atitvout/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2004/01/20 12:26:15 agc Exp $
+# $NetBSD: Makefile,v 1.4 2004/12/18 13:18:13 xtraeme Exp $
DISTNAME= atitvout-0.4
+PKGREVISION= 1
CATEGORIES= sysutils graphics
MASTER_SITES= http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/
@@ -24,6 +25,12 @@ do-configure:
${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}
.endif
+SUBST_CLASSES+= sh
+SUBST_STAGE.sh= post-patch
+SUBST_FILES.sh= test.sh
+SUBST_SED.sh= -e "s,@PREFIX@,${PREFIX},"
+SUBST_MESSAGE.sh= "Fixing stupid bash scripts."
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/atitvout ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/atitvout
diff --git a/sysutils/atitvout/distinfo b/sysutils/atitvout/distinfo
index c86b21bc047..131f4c4f6e4 100644
--- a/sysutils/atitvout/distinfo
+++ b/sysutils/atitvout/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2003/08/13 13:58:57 mrg Exp $
+$NetBSD: distinfo,v 1.3 2004/12/18 13:18:13 xtraeme Exp $
SHA1 (atitvout-0.4.tar.gz) = ac0d3f19119fa0c096099f952c9c59ac44ccc840
Size (atitvout-0.4.tar.gz) = 27163 bytes
SHA1 (patch-aa) = 68e79e289b1aadbba3aa1dbf3137fdf90c486afa
+SHA1 (patch-ab) = 7cf654f43489be3ae982b17f458bf733342469b0
diff --git a/sysutils/atitvout/patches/patch-ab b/sysutils/atitvout/patches/patch-ab
new file mode 100644
index 00000000000..8a56b4eab25
--- /dev/null
+++ b/sysutils/atitvout/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2004/12/18 13:18:13 xtraeme Exp $
+
+--- test.sh.orig 2004-12-18 14:12:20.000000000 +0100
++++ test.sh 2004-12-18 14:12:44.000000000 +0100
+@@ -1,8 +1,8 @@
+-#!/bin/bash
++#!/bin/sh
+
+ testit () {
+ echo "TEST: Running 'atitvout $FLAG $1' ..."
+- ./atitvout $FLAG $1
++ @PREFIX@/sbin/atitvout $FLAG $1
+ echo "TEST: ... finished. Return value is $?. Please wait 3 seconds."
+ echo
+ sleep 3