blob: b796ac553c983f261a4749b22b2d051b65b1a65f (
plain) (
blame)
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
53
54
|
# New ports collection makefile for: gaia
# Date created: 23 November 2006
# Whom: Stefan Esser <se@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gaia
PORTVERSION= 0.1.2
PORTREVISION= 3
CATEGORIES= astro
MASTER_SITES= SF
MASTER_SITE_SUBDIR= gaia-clean
MAINTAINER= ports@FreeBSD.org
COMMENT= Display geographic maps with optional GPS tracking support
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_SCONS= yes
SCONS_BUILDENV= ${SCONS_ENV}
SCONS_ARGS+= prefix=${PREFIX} use_env=1
USE_SDL= sdl
OPTIONS= GPS "Build with GPS support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GPS)
LIB_DEPENDS+= gps.15:${PORTSDIR}/astro/gpsd
SCONS_ARGS+= gpsd=1
.endif
PLIST_FILES= bin/gaia share/gaia/font.png
PLIST_DIRS= share/gaia
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
-e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/SConstruct
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|