freebsd-ports/comms/predict/Makefile
John Marino df251950ef comms/predict: document ncurses requirement (USES+=ncurses)
approved by:	infrastructure blanket
2016-02-06 23:54:21 +00:00

25 lines
738 B
Makefile

# Created by: db
# $FreeBSD$
PORTNAME= predict
PORTVERSION= 2.2.3
CATEGORIES= comms astro hamradio
MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \
LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Satellite tracking program for amateur radio satellites
LICENSE= GPLv2
USES= ncurses
INSTALL_TARGET= install install.man
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/predict.h > ${WRKSRC}/predict.h
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/vocalizer.h > ${WRKSRC}/vocalizer/vocalizer.h
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%STAGEDIR%%|${STAGEDIR}|g' \
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
.include <bsd.port.mk>