aboutsummaryrefslogtreecommitdiffstats
path: root/astro/gpstk/Makefile
blob: 4e2623abb17d94517bae14916ba2500acb0ff081 (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
# New ports collection makefile for:    gpstk
# Date created:             12 May 2004
# Whom:                 bms@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=       gpstk
PORTVERSION=        1.3
CATEGORIES=     astro devel
MASTER_SITES=       SF
DISTNAME=       ${PORTNAME}${PORTVERSION}.src

MAINTAINER=     bms@FreeBSD.org
COMMENT=        Toolkit for developing GPS applications

BUILD_DEPENDS=      ${LOCALBASE}/bin/jam:${PORTSDIR}/devel/jam

USE_LDCONFIG=       yes

WRKSRC=         ${WRKDIR}/${PORTNAME}
JAM=            ${LOCALBASE}/bin/jam
JAM_ENV=        BINDIR=${PREFIX}/bin \
            INCDIR=${PREFIX}/include/$(PORTNAME) \
            LIBDIR=${PREFIX}/lib \
            CC=${CC} C++=${CXX}

do-build:
    cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM}

do-install:
    ${MKDIR} ${PREFIX}/include/${PORTNAME}
    cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM} install

.include <bsd.port.mk>