2006-11-23 20:53:10 +00:00
|
|
|
# New ports collection makefile for: gaia
|
|
|
|
# Date created: 23 November 2006
|
|
|
|
# Whom: Stefan Esser <se@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gaia
|
2006-12-10 00:16:15 +00:00
|
|
|
PORTVERSION= 0.1.2
|
2006-12-13 12:41:35 +00:00
|
|
|
PORTREVISION= 1
|
2006-11-23 20:53:10 +00:00
|
|
|
CATEGORIES= astro
|
2006-12-10 00:16:15 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gaia-clean
|
2006-11-23 20:53:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
2006-11-26 22:18:49 +00:00
|
|
|
COMMENT= Display geographic maps with optional GPS tracking support
|
2006-11-23 20:53:10 +00:00
|
|
|
|
2006-12-13 12:41:35 +00:00
|
|
|
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl \
|
2006-11-23 20:53:10 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
SDL.11:${PORTSDIR}/devel/sdl12
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_SCONS= yes
|
2006-12-10 00:16:15 +00:00
|
|
|
SCONS_BUILDENV= ${SCONS_ENV}
|
|
|
|
SCONS_ARGS+= prefix=${PREFIX} use_env=1
|
2006-11-23 20:53:10 +00:00
|
|
|
|
2006-12-10 00:16:15 +00:00
|
|
|
OPTIONS= GPS "Build with GPS support" off
|
2006-11-26 22:18:49 +00:00
|
|
|
|
2006-11-23 20:53:10 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_GPS)
|
|
|
|
LIB_DEPENDS+= gps.15:${PORTSDIR}/astro/gpsd
|
2006-12-10 00:16:15 +00:00
|
|
|
SCONS_ARGS+= gpsd=1
|
2006-11-23 20:53:10 +00:00
|
|
|
.endif
|
|
|
|
|
2006-12-10 00:16:15 +00:00
|
|
|
PLIST_FILES= bin/gaia share/gaia/font.png
|
2006-11-23 20:53:10 +00:00
|
|
|
PLIST_DIRS= share/gaia
|
|
|
|
|
2006-12-10 00:16:15 +00:00
|
|
|
PORTDOCS= README
|
|
|
|
|
2006-11-23 20:53:10 +00:00
|
|
|
post-patch:
|
2006-12-10 00:16:15 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
|
|
-e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/SConstruct
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2006-11-23 20:53:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|