pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gpsdrive * Make gpsfetchmap use #!/bin/sh in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/148f0b7f8aed
branches:  trunk
changeset: 504548:148f0b7f8aed
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Tue Dec 13 15:29:48 2005 +0000

description:
* Make gpsfetchmap use #!/bin/sh instead of #!/bin/bash,
  this fixes the other part of PR#29342.
* Add dependency to net/wget since gpsfetchmap invokes it.
* Fix PLIST.
* Bumb PKGREVISION.

ok by wiz.

diffstat:

 geography/gpsdrive/Makefile |  10 ++++++++--
 geography/gpsdrive/PLIST    |   4 +---
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 3be81910faf0 -r 148f0b7f8aed geography/gpsdrive/Makefile
--- a/geography/gpsdrive/Makefile       Tue Dec 13 15:26:05 2005 +0000
+++ b/geography/gpsdrive/Makefile       Tue Dec 13 15:29:48 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:45:59 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/13 15:29:48 ghen Exp $
 
 DISTNAME=      gpsdrive-1.31
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    geography
 MASTER_SITES=  http://gpsdrive.kraftvoll.at/
 
@@ -10,6 +10,7 @@
 COMMENT=       GPS Navigation system
 
 DEPENDS+=      gpsd>=1.07:../../geography/gpsd
+DEPENDS+=      wget>=1:../../net/wget
 
 GNU_CONFIGURE=         YES
 USE_PKGLOCALEDIR=      YES
@@ -19,6 +20,11 @@
 # XXX make this an option
 CONFIGURE_ARGS+=       --disable-mysql
 
+SUBST_CLASSES+=                bash
+SUBST_STAGE.bash=      post-patch
+SUBST_FILES.bash=      src/gpsfetchmap
+SUBST_SED.bash=                -e 's,\#!/bin/bash,\#!/bin/sh,'
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib/buildlink3.mk"
 .include "../../x11/gtk/buildlink3.mk"
diff -r 3be81910faf0 -r 148f0b7f8aed geography/gpsdrive/PLIST
--- a/geography/gpsdrive/PLIST  Tue Dec 13 15:26:05 2005 +0000
+++ b/geography/gpsdrive/PLIST  Tue Dec 13 15:29:48 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:31 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/12/13 15:29:48 ghen Exp $
 bin/garble
 bin/gpsdrive
 bin/gpsfetchmap
@@ -43,5 +43,3 @@
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gpsdrive.mo
 @dirrm share/gpsdrive/gpsdrive
 @dirrm share/gpsdrive
-@dirrm gpsdrive/locale
-@dirrm gpsdrive



Home | Main Index | Thread Index | Old Index