aboutsummaryrefslogtreecommitdiff
path: root/comms/predict/Makefile
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-29 00:01:51 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-29 00:01:51 +0000
commit9349b8e2308a0f14fe8e4d786f51a44f710e4920 (patch)
treeaef93173bbae4d21a712e59db4b1e0a4ba113e36 /comms/predict/Makefile
parent71891e35fe7b334f7b14e71c790e9481e26ac503 (diff)
downloadports-9349b8e2308a0f14fe8e4d786f51a44f710e4920.tar.gz
ports-9349b8e2308a0f14fe8e4d786f51a44f710e4920.zip
Notes
Diffstat (limited to 'comms/predict/Makefile')
-rw-r--r--comms/predict/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/comms/predict/Makefile b/comms/predict/Makefile
index b477d00650c5..86dc7810ef1f 100644
--- a/comms/predict/Makefile
+++ b/comms/predict/Makefile
@@ -4,20 +4,23 @@
PORTNAME= predict
PORTVERSION= 2.2.3
CATEGORIES= comms astro hamradio
-MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/
+MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Satellite tracking program for amateur radio satellites
+LICENSE= GPLv2
+
INSTALL_TARGET= install install.man
-MAN1= predict.1
MAKE_ENV= LIBS="${PTHREAD_LIBS}"
-NO_STAGE= yes
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}
+ @${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>