freebsd-ports/comms/sredird/Makefile

34 lines
685 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= sredird
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/serial
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 2217 compliant serial port redirector
LICENSE= GPLv2
PLIST_FILES= libexec/sredird
PORTDOCS= README
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
do-build:
${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>