=================================================================== RCS file: /cvs/ports/geo/navit/Makefile,v retrieving revision 1.1 retrieving revision 1.5 diff -u -r1.1 -r1.5 --- ports/geo/navit/Makefile 2009/09/10 19:11:24 1.1 +++ ports/geo/navit/Makefile 2011/03/04 14:44:08 1.5 @@ -1,13 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2009/09/10 18:11:24 yason Exp $ -#ONLY_FOR_ARCHS = ??? -#NOT_FOR_ARCHS = ??? -#SHARED_ONLY = ??? -#COMES_WITH = ??? -#BROKEN = reason +# $OpenBSD: Makefile,v 1.5 2011/03/04 14:44:08 yason Exp $ +#BROKEN = GNU getline suxx (undefined reference to `getline') COMMENT = car navigation system with routing engine -DISTNAME = navit-0.1.1 +DISTNAME = navit-0.2.0 #SHARED_LIBS = ??? @@ -23,14 +19,21 @@ PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -#WANTLIB = ??? - MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=navit/} -MODULES = textproc/intltool -#BUILD_DEPENDS = ??? -#RUN_DEPENDS = ??? -#LIB_DEPENDS = ??? + +MODULES = devel/gettext \ + textproc/intltool +BUILD_DEPENDS = x11/gnome/librsvg + +LIB_DEPENDS = databases/postgresql \ + devel/sdl-image \ + graphics/cairo \ + graphics/quesoglc \ + misc/gpsd \ + x11/dbus \ + x11/dbus-glib \ + x11/gtk+2 #REGRESS_DEPENDS = ??? #MAKE_FLAGS = ??? @@ -38,41 +41,14 @@ #FAKE_FLAGS = ??? #REGRESS_FLAGS = ??? -#SEPARATE_BUILD = concurrent (build simultaneously on all arches) -#SEPARATE_BUILD = simple (configure/build still recreates files in source) -#USE_X11 = Yes -#USE_GMAKE = Yes -# Programs that uses libtool should use this option, -# unless there is a really good reason not to. -#USE_LIBTOOL = Yes +USE_GMAKE = Yes +USE_LIBTOOL = Yes CONFIGURE_STYLE = gnu -#CONFIGURE_SCRIPT = ??? (if other than configure) -#CONFIGURE_ARGS += ${CONFIGURE_SHARED} -CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" - -#REGRESS_IS_INTERACTIVE = Yes - -#FLAVORS = 1 2 3 a b -#FLAVOR ?= -# grab multiple choice value -#CHOICE = ${FLAVOR:L:Na:Nb} -# check that CHOICE is 1 OR 2 OR 3, or error out -#.if ${CHOICE} == "1" -# code for 1 -#.elif ${CHOICE} == "2" -# code for 2 -#.elif ${CHOICE} == "3" -# code for 3 -#.else -#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" -#.endif -# check for switches -#.if ${FLAVOR:L:Ma} -# code for a -#.endif -#.if ${FLAVOR:L:Mb} -# code for b -#.endif +CONFIGURE_ARGS = --enable-threads=posix \ + --disable-samplemap \ + ${CONFIGURE_SHARED} +CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" #NO_REGRESS = Yes