aboutsummaryrefslogtreecommitdiffstats
path: root/comms/sredird/Makefile
blob: 53ca935610b60c8e234ce111676a540a3820e235 (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
30
31
32
# New ports collection makefile for:    sredird
# Date created:             19 Dec 1999
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sredird
PORTVERSION=    2.2.2
CATEGORIES= comms
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/serial

MAINTAINER= ports@FreeBSD.org
COMMENT=    RFC 2217 compliant serial port redirector

PLIST_FILES=    libexec/sredird
.if !defined(NOPORTDOCS)
PORTDOCS=   README COPYING
.endif

do-build:
    ${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/COPYING ${DOCSDIR}
.endif

.include <bsd.port.mk>