openbsd-ports/astro/luna/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

35 lines
821 B
Makefile

# $OpenBSD: Makefile,v 1.8 2010/11/15 00:22:46 espie 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_CDROM= copyrighted
PERMIT_DISTFILES_FTP= copyrighted
WANTLIB= c
MASTER_SITES= ftp://ftp.vector.co.jp/pack/dos/edu/science/space/
BUILD_DEPENDS= archivers/lha
MAKE_ENV= CC="${CC}"
MAKE_FILE= makefile
NO_REGRESS= 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>