1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 1.3.0

- Include small diff as given in news on projects website.

Submitted by
This commit is contained in:
Diane Bruce 2010-05-03 11:34:39 +00:00
parent 35ecf908bd
commit 1fb3df2370
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253605
2 changed files with 16 additions and 9 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= splat
PORTVERSION= 1.1.1
PORTREVISION= 1
PORTVERSION= 1.3.0
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/ham
@ -15,24 +14,32 @@ MASTER_SITE_SUBDIR= apps/ham
MAINTAINER= db@FreeBSD.org
COMMENT= Used in calculating path losses, useful to ham radio and others
USE_BZIP2= yes
PORTDOCS= README README2 CHANGES
PLIST_FILES= bin/splat bin/citydecoder bin/usgs2sdf bin/srtm2sdf bin/fontdata
PLIST_FILES= bin/splat bin/citydecoder bin/usgs2sdf bin/srtm2sdf \
bin/fontdata bin/bearing
MAN1= splat.1
do-build:
@echo "#define MAXPAGES 9" >> ${WRKSRC}/std-parms.h
@echo "#define HD_MODE 0" >> ${WRKSRC}/std-parms.h
@cp ${WRKSRC}/std-parms.h ${WRKSRC}/splat.h
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
${CC} ${CFLAGS} -lz -o fontdata fontdata.c && \
${CC} ${CFLAGS} -lz -lm -o bearing bearing.c
do-install:
.for f in splat utils/citydecoder utils/usgs2sdf utils/srtm2sdf utils/fontdata
.for f in splat utils/citydecoder utils/usgs2sdf utils/srtm2sdf \
utils/fontdata utils/bearing
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/docs/man/splat.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/english/man/splat.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}

View File

@ -1,3 +1,3 @@
MD5 (splat-1.1.1.tar.gz) = e4097453a505883d2b90419543c98ddb
SHA256 (splat-1.1.1.tar.gz) = f78023f8cab938552178adf42fa458d6cf6cddcc5427776440d36a8a52a2f884
SIZE (splat-1.1.1.tar.gz) = 155642
MD5 (splat-1.3.0.tar.bz2) = 0b45c9d8fbb1a7c87fbc013d332e1bc7
SHA256 (splat-1.3.0.tar.bz2) = 5075ced59c23155242332cceb6d04dce45bc092cc590f9ebfa47dce72900bd60
SIZE (splat-1.3.0.tar.bz2) = 328074