-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (25 loc) · 870 Bytes
/
Makefile
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
# $OpenBSD: Makefile,v 1.9 2011/05/16 13:25:49 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 <[email protected]>
PERMIT_PACKAGE_CDROM= copyrighted
PERMIT_PACKAGE_FTP= copyrighted
PERMIT_DISTFILES_CDROM= copyrighted
PERMIT_DISTFILES_FTP= copyrighted
WANTLIB= c
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ \
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>