mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
1e7bdc538a
Approved by: portmgr (blanket)
29 lines
818 B
Makefile
29 lines
818 B
Makefile
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>
|