aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gpredict/Makefile
blob: a9a88545fcae7d7d2225d5f364f131e58aee698d (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
# Created by: Matt Dawson <matt@mattsnetwork.co.uk>
# $FreeBSD$

PORTNAME=   gpredict
PORTVERSION=    1.2
PORTREVISION=   2
CATEGORIES= comms hamradio
MASTER_SITES=   SF/gpredict/Gpredict/${PORTVERSION}

MAINTAINER= matt@chronos.org.uk
COMMENT=    Amateur Radio satellite tracking and prediction

LIB_DEPENDS=    hamlib:${PORTSDIR}/comms/hamlib \
        goocanvas:${PORTSDIR}/graphics/goocanvas
BUILD_DEPENDS=  curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS=    curl:${PORTSDIR}/ftp/curl

USE_GNOME=  gtk20
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX} --localedir=${PREFIX}/share/locale
USE_GMAKE=  yes

MAN1=       gpredict.1

LICENSE=    GPLv2

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+=     NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+=     NLS="@comment "
.endif

DESKTOP_ENTRIES="GPREDICT" \
        "Predict satellite passage times" \
        "${PREFIX}/share/pixmaps/gpredict/icons/gpredict-icon.png" \
        "gpredict" \
        "" \
        true

.include <bsd.port.mk>