blob: c17c7ba1a4c82f9bad68a508be335d69db40cade (
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
|
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
WWW= https://www.sourceforge.net/projects/serialoverip/
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>
|