1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/comms/librs232/Makefile
Li-Wen Hsu 73a03c9d07 - Update to 20171122
- Retain maintainer for Kevin

Submitted by:	kevlo
2018-05-25 09:25:59 +00:00

36 lines
691 B
Makefile

# $FreeBSD$
PORTNAME= librs232
PORTVERSION= 20171122
CATEGORIES= comms
DISTNAME= RS-232
MASTER_SITES= http://www.teuniz.net/RS-232/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Simple serial library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/gpl.txt
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
USES= uidfix
USE_LDCONFIG= yes
PORTEXAMPLES= demo_rx.c demo_tx.c
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>