1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/comms/splat/Makefile
Pav Lucistnik cbc0ea9a1a - Build and install srtm2sdf
PR:		ports/97871
Submitted by:	Jack Twilley <jmt@twilley.org>
Approved by:	Diane Bruce <db@db.net> (maintainer)
2006-05-25 21:52:38 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: splat
# Date created: 8 July 2005
# Whom: db
#
# $FreeBSD$
#
PORTNAME= splat
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/ham
MAINTAINER= db@db.net
COMMENT= Used in calculating path losses, useful to ham radio and others
PORTDOCS= README README2 CHANGES
PLIST_FILES= bin/splat bin/citydecoder bin/usgs2sdf bin/srtm2sdf bin/fontdata
MAN1= splat.1
do-build:
cd ${WRKSRC} && \
${CXX} ${CXXFLAGS} -lm -lbz2 -o splat itm.cpp splat.cpp
cd ${WRKSRC}/utils && \
${CC} ${CFLAGS} -o citydecoder citydecoder.c && \
${CC} ${CFLAGS} -o usgs2sdf usgs2sdf.c && \
${CC} ${CFLAGS} -lbz2 -o srtm2sdf srtm2sdf.c && \
${CC} ${CFLAGS} -lz -o fontdata fontdata.c
do-install:
.for f in splat utils/citydecoder utils/usgs2sdf utils/srtm2sdf utils/fontdata
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/docs/man/splat.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>