aboutsummaryrefslogtreecommitdiffstats
path: root/comms/geoid/Makefile
blob: 7a656c0a128eb25c117c40559d0e16ed10968c79 (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
# $FreeBSD$

PORTNAME=   geoid
PORTVERSION=    1.0
PORTREVISION=   7
DISTVERSIONSUFFIX=  .src
CATEGORIES= comms hamradio
MASTER_SITES=   http://www.w1hkj.com/LinuxApps/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
DISTNAME=   fl_geoid
EXTRACT_SUFX=   .src.tar.gz

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    Geodetic computer for amateur radio use

LIB_DEPENDS=    libfltk.so:${PORTSDIR}/x11-toolkits/fltk

USES=       gmake
MAKEFILE=   makefile

post-patch:
    @${REINPLACE_CMD} -e \
        's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/geoid.cxx

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/geoid ${STAGEDIR}${PREFIX}/bin
    @${INSTALL_DATA} ${WRKSRC}/geoid.png ${STAGEDIR}${PREFIX}/share/pixmaps
    @${MKDIR} ${STAGEDIR}${DATADIR}
    @${INSTALL_DATA}    ${WRKSRC}/country.pos ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>