freebsd-ports/comms/nasawash/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

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>