1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/comms/geoid/Makefile
2014-03-13 08:18:38 +00:00

33 lines
770 B
Makefile

# $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= 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>