aboutsummaryrefslogtreecommitdiffstats
path: root/net/ntalk/Makefile
blob: dc22a03e6b99290592d8bce7bcdf3c4cc3959a21 (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
# New ports collection makefile for:    ntalk
# Date created:         26 August 2001
# Whom:             Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
#
# $FreeBSD$
#

PORTNAME=   ntalk
PORTVERSION=    0.6.3
CATEGORIES= net
MASTER_SITES=   http://network.terramail.pl/

MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT=    A console chat application written with ncurse

do-build:
    cd ${WRKSRC}; \
    ${CXX} ${CXXFLAGS} -o ntalk ntalk.cpp -lncurses ${PTHREAD_LIBS}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in AUTHORS COPYING ChangeLog INSTALL README
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>