bentley 3e81b07c71 Replace distcache.freebsd.org/ports-distfiles/ with _MASTER_SITE_FREEBSD.
Some ports used _MASTER_SITE_FREEBSD already but others hardcoded the URL.

Switch _MASTER_SITE_FREEBSD and MASTER_SITE_FREEBSD_LOCAL to https.
2018-01-13 03:00:46 +00:00

34 lines
758 B
Makefile

# $OpenBSD: Makefile,v 1.12 2018/01/13 03:00:46 bentley Exp $
COMMENT= display the moon's phase
DISTNAME= luna19s
PKGNAME= luna-1.9
CATEGORIES= astro
EXTRACT_SUFX= .lzh
EXTRACT_CASES= *.lzh) lha xw=${WRKDIR}/${DISTNAME} ${FULLDISTDIR}/$$archive ;;
MAINTAINER= Nick Nauwelaerts <nick@nauwelaerts.net>
PERMIT_PACKAGE_CDROM= copyrighted
PERMIT_PACKAGE_FTP= copyrighted
PERMIT_DISTFILES_FTP= copyrighted
WANTLIB= c
MASTER_SITES= ${_MASTER_SITE_FREEBSD}
BUILD_DEPENDS= archivers/lha
MAKE_ENV= CC="${CC}"
MAKE_FILE= makefile
NO_TEST= Yes
post-extract:
.for f in famplan.c luna.c luna.h makefile pyramid.c pyramid.h iprintf/makefile
@cd ${WRKSRC} && sed -e \
's#[[:cntrl:]]$$##g' < ${f} > ${f}.new && mv -f ${f}.new ${f}
.endfor
.include <bsd.port.mk>