aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gpredict/Makefile
blob: 1c5ac6a2b3bede096376a493e099300919600a48 (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 intltool

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

.include <bsd.port.mk>