e1bfdfbe56
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
34 lines
780 B
Makefile
34 lines
780 B
Makefile
# Created by: db
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nasawash
|
|
PORTVERSION= 0.50
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \
|
|
LOCAL/db
|
|
DISTNAME= nasawash
|
|
|
|
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}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|