1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/comms/splat/Makefile
Diane Bruce a568ef0024 Change my MAINTAINER: line in Makfile to db@FreeBSD.org
fix simple typo in xwota Makefile while at it.

Approved by:	ehaupt (mentor)
2007-01-19 18:14:20 +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@FreeBSD.org
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>