freebsd-ports/comms/geoid/Makefile

33 lines
772 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= geoid
PORTVERSION= 1.0
2012-06-01 07:26:28 +02:00
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
USE_GMAKE= yes
MAKEFILE= makefile
post-patch:
@${REINPLACE_CMD} -e \
2013-12-30 22:12:16 +01:00
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/geoid.cxx
do-install:
2013-12-30 22:12:16 +01:00
@${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>