aboutsummaryrefslogtreecommitdiffstats
path: root/comms/sredird/Makefile
blob: 9d04859b856ad9d936a10b39605aa8466749cde5 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   sredird
PORTVERSION=    2.2.2
PORTREVISION=   1
CATEGORIES= comms
MASTER_SITES=   SUNSITE/system/serial

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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

OPTIONS_DEFINE= DOCS

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${STAGEDIR}${PREFIX}/libexec

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>