aboutsummaryrefslogtreecommitdiffstats
path: root/comms/geoid/Makefile
blob: ba5bf7a530167fbb4e665857c7c6295201c0572b (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
# New ports collection makefile for:    geoid
# Date created:             March 20 2007
# Whom:                 Diane Bruce <db@db.net>
#
# $FreeBSD$
#

PORTNAME=   geoid
PORTVERSION=    1.0
PORTREVISION=   6
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= db@FreeBSD.org
COMMENT=    Geodetic computer for amateur radio use

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

USE_GMAKE=  yes
MAKEFILE=   makefile

PLIST_FILES=    bin/geoid ${DATADIR_REL}/country.pos share/pixmaps/geoid.png
PLIST_DIRS= ${DATADIR_REL}

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

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

.include <bsd.port.mk>