aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cotty/Makefile
blob: 41f169d5cbfada815fdf363ef5e0e4c251f2ff7c (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
# New ports collection makefile for:    cotty
# Date created:     26 January 2001
# Whom:         Oliver Breuninger <ob@breuninger.org>
#
# $FreeBSD$
#

PORTNAME=   cotty
PORTVERSION=    0.4c
CATEGORIES= sysutils
MASTER_SITES=   http://www.breuninger.org/files/distfiles/
EXTRACT_SUFX=   .c.gz

MAINTAINER= ob@breuninger.org
COMMENT=    Simple command-line pseudo terminal manager

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${GZCAT}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= > ${WRKSRC}/${DISTNAME}.c

do-build:
    ${CC} ${CFLAGS} -o ${WRKSRC}/cotty ${WRKSRC}/${DISTNAME}.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/cotty ${PREFIX}/bin

.include <bsd.port.mk>