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

PORTNAME=   gpredict
PORTVERSION=    1.3
CATEGORIES= comms hamradio
MASTER_SITES=   SF/${PORTNAME}/Gpredict/${PORTVERSION}

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    Amateur Radio satellite tracking and prediction

LICENSE=    GPLv2 # (or later)

LIB_DEPENDS=    libhamlib.so:${PORTSDIR}/comms/hamlib \
        libcurl.so:${PORTSDIR}/ftp/curl \
        libgoocanvas.so:${PORTSDIR}/graphics/goocanvas

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
USES=       gettext gmake pkgconfig
USE_GNOME=  gtk20

post-patch:
    @${REINPLACE_CMD} -e \
        '/^Icon/s|=.*|=${PREFIX}/share/pixmaps/gpredict-icon.png|' \
        ${WRKSRC}/data/desktop/gpredict.desktop.in

.include <bsd.port.mk>