1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Build and install srtm2sdf

PR:		ports/97871
Submitted by:	Jack Twilley <jmt@twilley.org>
Approved by:	Diane Bruce <db@db.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-05-25 21:52:38 +00:00
parent 1290dd0694
commit cbc0ea9a1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163427

View File

@ -7,6 +7,7 @@
PORTNAME= splat
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/ham
@ -15,7 +16,7 @@ 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/fontdata
PLIST_FILES= bin/splat bin/citydecoder bin/usgs2sdf bin/srtm2sdf bin/fontdata
MAN1= splat.1
do-build:
@ -24,10 +25,11 @@ do-build:
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/fontdata
.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