summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen>2005-12-13 15:29:48 +0000
committerghen <ghen>2005-12-13 15:29:48 +0000
commit87f00458da03a9755620dea31ec8b2688eb9e565 (patch)
tree45eb021d5870137b46877508c579fdab5abac56d
parentd6e2f3bf309c390112eea51be052532b46660a13 (diff)
downloadpkgsrc-87f00458da03a9755620dea31ec8b2688eb9e565.tar.gz
* 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.
-rw-r--r--geography/gpsdrive/Makefile10
-rw-r--r--geography/gpsdrive/PLIST4
2 files changed, 9 insertions, 5 deletions
diff --git a/geography/gpsdrive/Makefile b/geography/gpsdrive/Makefile
index 620b4800fd7..54b136e642c 100644
--- a/geography/gpsdrive/Makefile
+++ b/geography/gpsdrive/Makefile
@@ -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 @@ HOMEPAGE= http://gpsdrive.kraftvoll.at/
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 @@ USE_LANGUAGE= c c++
# 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 --git a/geography/gpsdrive/PLIST b/geography/gpsdrive/PLIST
index 2972fc65677..120bd487ae8 100644
--- a/geography/gpsdrive/PLIST
+++ b/geography/gpsdrive/PLIST
@@ -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/sv/LC_MESSAGES/gpsdrive.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gpsdrive.mo
@dirrm share/gpsdrive/gpsdrive
@dirrm share/gpsdrive
-@dirrm gpsdrive/locale
-@dirrm gpsdrive