aboutsummaryrefslogtreecommitdiff
path: root/comms/nasawash/Makefile
blob: 63a1bc63ddd3f3b7eafe7c170d029ef3153a768c (plain) (blame)
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
29
30
31
# Created by: db
# $FreeBSD$

PORTNAME=	nasawash
PORTVERSION=	0.50
CATEGORIES=	comms hamradio
MASTER_SITES=	ftp://ftp.amsat.org/amsat/software/Linux/
DISTNAME=	nasawash
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	db@FreeBSD.org
COMMENT=	Amateur Radio keplerian file cleanup program

WRKSRC=		${WRKDIR}/${DISTNAME}-${PORTVERSION}

PLIST_FILES=	bin/nasawash
PORTDOCS=	nasawash.txt nasawash.upd

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}
.for i in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>