1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/comms/serialoverip/Makefile
2021-04-06 16:31:07 +02:00

32 lines
714 B
Makefile

# Created by: Devon H. O'Dell <devon.odell@coyotepoint.com>
PORTNAME= serialoverip
PORTVERSION= 1.0
CATEGORIES= comms net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}
DISTNAME= ${PORTNAME}
MAINTAINER= portmaster@BSDforge.com
COMMENT= Transport of serial interfaces over UDP/IP
LICENSE= GPLv2
USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= sbin/${PORTNAME}
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>