mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
f979315702
of losing normal distfile name and having to set WRKSRC; contents remain the same (and so does the checksum) - Define LICENSE (GPLv2); install README file as part of documentation - Unmute building and installation commands while here - Fix one warning revealed by Clang (missing bzero(3) prototype), yet two others remain) - Transfer maintainership to the submitter PR: 199322 Submitted by: Chris Hutchinson
33 lines
726 B
Makefile
33 lines
726 B
Makefile
# Created by: Devon H. O'Dell <devon.odell@coyotepoint.com>
|
|
# $FreeBSD$
|
|
|
|
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>
|