blob: 198738463848c2dac33d96077e98331bd4846683 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= predict
PORTVERSION= 2.2.7
PORTREVISION= 1
CATEGORIES= comms astro hamradio
MASTER_SITES= https://www.qsl.net/kd2bd/ \
LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Satellite tracking program for amateur radio satellites
WWW= https://www.qsl.net/kd2bd/predict.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib
USES= ncurses
INSTALL_TARGET= install install.man
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" STAGEDIR="${STAGEDIR}"
CONFLICTS_INSTALL= liblinear # bin/predict
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
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
.include <bsd.port.mk>
|