aboutsummaryrefslogtreecommitdiffstats
path: root/astro/position/Makefile
blob: 6f37a9e013a1cd5c11241496a12d29d1972660e6 (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
# New ports collection makefile for:    position
# Date created:         21 Oct 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   position
PORTVERSION=    0.3
PORTREVISION=   1
CATEGORIES= astro gnustep
MASTER_SITES=   http://www.gnustep.it/enrico/position/

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    GPS and Moving-Map Applikation

BUILD_DEPENDS=  ${LOCALBASE}/lib/libproj.a:${PORTSDIR}/${PROJ4_PORT}
RUN_DEPENDS=    ${LOCALBASE}/lib/libproj.a:${PORTSDIR}/${PROJ4_PORT}

USE_GNUSTEP=    yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes

WRKSRC=     ${WRKDIR}/Position/Position
ADDITIONAL_OBJCFLAGS+=  -I${LOCALBASE}/include
ADDITIONAL_LDFLAGS+=    -L${LOCALBASE}/lib
MAKE_ENV+=  GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

PROJ4_PORT?=    misc/proj4

.include <bsd.port.mk>