mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
32 lines
758 B
Makefile
32 lines
758 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
|
|
|
|
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>
|