diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile index 31d3126f3048..01b44f6e9c8c 100644 --- a/geography/gpsd/Makefile +++ b/geography/gpsd/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2009/12/07 20:08:59 gdt Exp $ +# $NetBSD: Makefile,v 1.16 2009/12/10 16:56:59 joerg Exp $ DISTNAME= gpsd-2.90 +PKGREVISION= 1 CATEGORIES= geography MASTER_SITES= http://download.berlios.de/gpsd/ @@ -11,8 +12,11 @@ COMMENT= GPS information daemon PKG_DESTDIR_SUPPORT= user-destdir +BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto + GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --disable-python +CONFIGURE_ENV+= PYTHON=${PYTHONBIN} +PY_PATCHPLIST= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ @@ -20,9 +24,7 @@ USE_NCURSES= yes INSTALLATION_DIRS= sbin -# XXX This package should have an option for python to install gpsfake -# and gpsctl. - .include "../../devel/ncurses/buildlink3.mk" +.include "../../lang/python/extension.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/geography/gpsd/PLIST b/geography/gpsd/PLIST index 56ca010f851f..1ea91c8e4c28 100644 --- a/geography/gpsd/PLIST +++ b/geography/gpsd/PLIST @@ -1,9 +1,12 @@ -@comment $NetBSD: PLIST,v 1.6 2009/12/07 20:08:59 gdt Exp $ +@comment $NetBSD: PLIST,v 1.7 2009/12/10 16:56:59 joerg Exp $ bin/cgps +bin/gpscat bin/gpsctl bin/gpsdecode +bin/gpsfake bin/gpsmon bin/gpspipe +bin/gpsprof bin/gpxlogger bin/lcdgps include/gps.h @@ -12,13 +15,27 @@ include/libgpsmm.h lib/libgps.la lib/pkgconfig/libgps.pc lib/pkgconfig/libgpsd.pc +${PYSITELIB}/gps.py +${PYSITELIB}/gps.pyc +${PYSITELIB}/gps.pyo +${PYSITELIB}/gpscap.py +${PYSITELIB}/gpscap.pyc +${PYSITELIB}/gpscap.pyo +${PYSITELIB}/gpsfake.py +${PYSITELIB}/gpsfake.pyc +${PYSITELIB}/gpsfake.pyo +${PYSITELIB}/gpslib.so +${PYSITELIB}/gpspacket.so man/man1/cgps.1 man/man1/cgpxlogger.1 man/man1/gps.1 +man/man1/gpscat.1 man/man1/gpsctl.1 man/man1/gpsdecode.1 +man/man1/gpsfake.1 man/man1/gpsmon.1 man/man1/gpspipe.1 +man/man1/gpsprof.1 man/man1/lcdgps.1 man/man1/xgps.1 man/man1/xgpsspeed.1 diff --git a/geography/gpsd/distinfo b/geography/gpsd/distinfo index 9a83ee041245..ef19f2266ac3 100644 --- a/geography/gpsd/distinfo +++ b/geography/gpsd/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2009/12/07 20:08:59 gdt Exp $ +$NetBSD: distinfo,v 1.14 2009/12/10 16:56:59 joerg Exp $ SHA1 (gpsd-2.90.tar.gz) = e8831bd8013015633c49e6af37537ee6228e5372 RMD160 (gpsd-2.90.tar.gz) = 556f58520d9b931aa60be0fc76b82106220984de Size (gpsd-2.90.tar.gz) = 915578 bytes -SHA1 (patch-aa) = 794856c5f43c655a9f5f5df69f072663c022e0ac +SHA1 (patch-aa) = 0ff78d9d9201512cc3c12557a2b2dbe454759fed diff --git a/geography/gpsd/patches/patch-aa b/geography/gpsd/patches/patch-aa index 2b53c026ffaf..49790d7b0893 100644 --- a/geography/gpsd/patches/patch-aa +++ b/geography/gpsd/patches/patch-aa @@ -1,12 +1,16 @@ -$NetBSD: patch-aa,v 1.6 2009/12/07 20:08:59 gdt Exp $ +$NetBSD: patch-aa,v 1.7 2009/12/10 16:56:59 joerg Exp $ -Not 100% sure about this, but it is not apparently fixed upstream. -I think we should have a configure.ac patch as well for regeneration.) - - ---- configure.orig 2009-12-04 15:45:59.000000000 -0500 +--- configure.orig 2009-12-04 21:45:59.000000000 +0100 +++ configure -@@ -16571,13 +16571,13 @@ if test "x$ac_cv_lib_c_open" = x""yes; t +@@ -4630,7 +4630,6 @@ sys.exit(sys.hexversion < minverhex)" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- as_fn_error "too old" "$LINENO" 5 + fi + am_display_PYTHON=$PYTHON + else +@@ -16571,13 +16570,13 @@ if test "x$ac_cv_lib_c_open" = x""yes; t fi @@ -23,7 +27,7 @@ I think we should have a configure.ac patch as well for regeneration.) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -16608,7 +16608,7 @@ fi +@@ -16608,7 +16607,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5 $as_echo "$ac_cv_lib_pthread_pthread_setcancelstate" >&6; } if test "x$ac_cv_lib_pthread_pthread_setcancelstate" = x""yes; then :