summaryrefslogtreecommitdiff
path: root/sysutils/cotty/Makefile
blob: ed86f1252b08d9778123c3f70a91859c16af3d36 (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
# Created by: 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

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

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

.include <bsd.port.mk>