if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2021/02/23 19:39:24 sthen Exp $
|
|
|
|
COMMENT = lightweight mapping application for use with or without GPS
|
|
|
|
DISTNAME = foxtrotgps-1.2.2
|
|
REVISION = 1
|
|
|
|
CATEGORIES = geo x11
|
|
|
|
HOMEPAGE = https://www.foxtrotgps.org/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/releases/
|
|
|
|
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
|
|
WANTLIB += Xrender atk-1.0 c cairo crypto curl dbus-1 exif expat ffi fontconfig
|
|
WANTLIB += freetype fribidi gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0
|
|
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gps graphite2 gthread-2.0
|
|
WANTLIB += gtk-x11-2.0 harfbuzz iconv intl lzma m nghttp2 pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread sqlite3
|
|
WANTLIB += ssl xcb xcb-render xcb-shm xml2 z ${COMPILER_LIBCXX}
|
|
|
|
MODULES = devel/dconf \
|
|
lang/python \
|
|
textproc/intltool
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
|
devel/gsettings-desktop-schemas
|
|
LIB_DEPENDS = devel/libglade2 \
|
|
databases/sqlite3 \
|
|
graphics/libexif \
|
|
misc/gpsd \
|
|
net/curl \
|
|
x11/gtk+2
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
devel/gsettings-desktop-schemas
|
|
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl"
|
|
|
|
SEPARATE_BUILD = Yes
|
|
USE_GMAKE = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
NO_TEST = Yes
|
|
|
|
MODPY_ADJ_FILES = contrib/georss2foxtrotgps-poi
|
|
MODPY_RUNDEP = No
|
|
|
|
.include <bsd.port.mk>
|