aboutsummaryrefslogtreecommitdiffstats
path: root/misc/termatrix/Makefile
blob: 1c130b855f1144d51e8afbab45ed02476ec64195 (plain) (blame)
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
# Ports collection makefile for:  termatrix
# Date created:                   2007/07/30
# Whom:                           chinsan
#
# $FreeBSD$
#

PORTNAME=   termatrix
PORTVERSION=    0.2
CATEGORIES= misc
MASTER_SITES=   LOCAL/chinsan \
        http://lightless.org/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emulates Matrix terminal's "green tears" effect

PLIST_FILES=    bin/termatrix
PORTDOCS=   README

do-build:
    ${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/termatrix \
        ${WRKSRC}/termatrix.c ${LDFLAGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/termatrix ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>