aboutsummaryrefslogtreecommitdiff
path: root/comms/nasawash
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2015-04-07 19:10:11 +0000
committerDiane Bruce <db@FreeBSD.org>2015-04-07 19:10:11 +0000
commit090cc0e268f1097ccaa4260d973b0aa758bce594 (patch)
tree7c1e10f80f25a2ee3c78f22cbbcc11f986e751ce /comms/nasawash
parent0a13a258516d423ce6fb97a7f53bd74d0b5c2784 (diff)
downloadports-090cc0e268f1097ccaa4260d973b0aa758bce594.tar.gz
ports-090cc0e268f1097ccaa4260d973b0aa758bce594.zip
- Fix nits found with portlint
- add backup distribution - fix bad distinfo
Notes
Notes: svn path=/head/; revision=383533
Diffstat (limited to 'comms/nasawash')
-rw-r--r--comms/nasawash/Makefile15
-rw-r--r--comms/nasawash/distinfo4
2 files changed, 9 insertions, 10 deletions
diff --git a/comms/nasawash/Makefile b/comms/nasawash/Makefile
index 71607cd36297..93294c66dcd4 100644
--- a/comms/nasawash/Makefile
+++ b/comms/nasawash/Makefile
@@ -4,30 +4,29 @@
PORTNAME= nasawash
PORTVERSION= 0.50
CATEGORIES= comms 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
DISTNAME= nasawash
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio keplerian file cleanup program
WRKSRC= ${WRKDIR}/${DISTNAME}-${PORTVERSION}
+USES= tar:tgz
PLIST_FILES= bin/nasawash
PORTDOCS= nasawash.txt nasawash.upd
-OPTIONS_DEFINE= DOCS
-
do-build:
${CC} ${CPPFLAGS} ${CFLAGS} -c -o ${WRKSRC}/nasawash.o ${WRKSRC}/nasawash.c
${CC} -o ${WRKSRC}/nasawash ${WRKSRC}/nasawash.o ${LIBS}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/nasawash ${STAGEDIR}${PREFIX}/bin
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/nasawash ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
diff --git a/comms/nasawash/distinfo b/comms/nasawash/distinfo
index 0b7b5f9f9495..a07d08ec8acb 100644
--- a/comms/nasawash/distinfo
+++ b/comms/nasawash/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nasawash/nasawash.tgz) = 0c24341be4f2fddcabd56477d527e6f0786224ecc5a71b199074db133045cf2a
-SIZE (nasawash/nasawash.tgz) = 6299
+SHA256 (nasawash.tgz) = 0c24341be4f2fddcabd56477d527e6f0786224ecc5a71b199074db133045cf2a
+SIZE (nasawash.tgz) = 6299