aboutsummaryrefslogtreecommitdiffstats
path: root/comms/remserial/Makefile
blob: 09a3a38995503e2b1705380a7f03308f259e1b26 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   remserial
PORTVERSION=    1.4
CATEGORIES= comms
MASTER_SITES=   http://lpccomp.bc.ca/remserial/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Bridge between a TCP/IP network port and a character-oriented device

USES=       dos2unix

PLIST_FILES=    bin/remserial
PORTDOCS=   README.txt

CFLAGS+=    -DOSVERSION=\"${OSVERSION}\"

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>