~cypheon/pkgsrc-wip

pkgsrc-wip/navit-git/Makefile -rw-r--r-- 1.5 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# $NetBSD$

DISTNAME=	navit-gps
PKGNAME=	navit-0
PKGREVISION=	1
CATEGORIES=	geography

MAINTAINER=	fekete.zoltan@minux.hu
HOMEPAGE=	https://github.com/navit-gps/navit
COMMENT=	GPS car navigation system
LICENSE=	gnu-gpl-v2

GIT_REPOSITORIES=	navit-gps
GIT_REPO.navit-gps=	https://github.com/navit-gps/navit.git
GIT_REVISION=		07de185df5dc96356a21016b544137b84b4fc023
_GIT_FLAGS?=		--depth 1

CONFLICTS=	navit-[0-9]*

USE_CMAKE=	yes
USE_LANGUAGES=	c c++

CFLAGS.NetBSD+=	-DUSE_SYS_ENDIAN_H

USE_TOOLS+=	cmake pkg-config

CMAKE_ARGS+=	-DLIB_DIR=${PREFIX}/lib/navit
CMAKE_ARGS+=	-DMAN_DIR=${PREFIX}/${PKGMANDIR}/man1
CMAKE_ARGS+=	-DUSE_PLUGINS=0
CMAKE_ARGS+=	-DSAMPLE_MAP=1
CMAKE_ARGS+=	-DSVG2PNG=0
CMAKE_ARGS+=	-DUSE_NATIVE_LANGUAGE_SUPPORT=1


.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+BUILDLINK_API_DEPENDS.png+=		  png>=1.6
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../lang/python27/buildlink3.mk"
+BUILDLINK_API_DEPENDS.freetype2+=	  freetype2>=2.9
.include "../../graphics/freetype2/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=		  glib2>=2.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+=opt:-ldl:${BUILDLINK_LDADD.dl:M*}
.include "../../geography/gpsd/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"

.include "../../wip/mk/git-package.mk"
.include "../../mk/bsd.pkg.mk"