summaryrefslogtreecommitdiff
path: root/comms/splat
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2010-05-03 11:34:39 +0000
committerDiane Bruce <db@FreeBSD.org>2010-05-03 11:34:39 +0000
commit1fb3df2370081f69bd1921264e07a8dcdf64eb87 (patch)
tree1ee7e8008db4206f8adcd3a307b4ade8b6b18563 /comms/splat
parentAdd SHLIB_MAJOR. (diff)
- Update to 1.3.0
- Include small diff as given in news on projects website. Submitted by
Notes
Notes: svn path=/head/; revision=253605
Diffstat (limited to 'comms/splat')
-rw-r--r--comms/splat/Makefile19
-rw-r--r--comms/splat/distinfo6
2 files changed, 16 insertions, 9 deletions
diff --git a/comms/splat/Makefile b/comms/splat/Makefile
index 99032179141e..c73053826d8a 100644
--- a/comms/splat/Makefile
+++ b/comms/splat/Makefile
@@ -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}
diff --git a/comms/splat/distinfo b/comms/splat/distinfo
index 7491a67ba358..fd9ae8e341e9 100644
--- a/comms/splat/distinfo
+++ b/comms/splat/distinfo
@@ -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