summaryrefslogtreecommitdiffstats
path: root/misc/cmatrix/Makefile
blob: bbfa950ee2275b7614225ea72fc91a534d3ed947 (plain)
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
# New ports collection makefile for:	cmatrix
# Date created:				1 May 1999
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	cmatrix
PORTVERSION=	1.0b
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/graphics/hacks/curses

MAINTAINER=	ports@FreeBSD.org

do-build:
	cd ${WRKSRC}; ${CC} ${CFLAGS} cmatrix.c -lncurses -o cmatrix

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/cmatrix
.for file in Changelog README TODO
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cmatrix
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud