aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cotty/Makefile
blob: 8058df660c92537e694b7796f18564861a5ab9d6 (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=	ob@breuninger.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>