blob: 7d01aac19e27b8a2a0ef34af1d87a07b6959802c (
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
32
33
34
35
36
37
38
39
40
|
# ports collection makefile for: nasawash
# Date created: 4 July 2004
# Whom: 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@db.net
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 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
@${ECHO} ""
@${ECHO} "nasawash docs installed in ${DOCSDIR}"
@${ECHO} ""
.endif
.include <bsd.port.mk>
|