summaryrefslogtreecommitdiff
path: root/sysutils/cotty/Makefile
blob: 27bd28898ac03249b40c606b3ce35171c6fe5e71 (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:	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=	ports@FreeBSD.org
COMMENT=	Simple command-line pseudo terminal manager

NO_WRKSUBDIR=	yes
PLIST_FILES=	bin/cotty
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>