mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
comms/librs232: Fix build with llvm15
- Pet portclippy - Adopt port
This commit is contained in:
parent
fecc06b7b1
commit
d05a00a5b0
@ -4,28 +4,38 @@ CATEGORIES= comms
|
||||
DISTNAME= RS-232
|
||||
MASTER_SITES= http://www.teuniz.net/RS-232/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Simple serial library
|
||||
WWW= https://www.teuniz.net/RS-232/
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/gpl.txt
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
USES= uidfix
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
PORTEXAMPLES= demo_rx.c demo_tx.c
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
|
||||
PLIST_SUB+= PROFILE="@comment "
|
||||
.else
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc.txt ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for f in ${PORTEXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
@ -1,5 +1,5 @@
|
||||
include/rs232.h
|
||||
lib/librs232_p.a
|
||||
%%PROFILE%%lib/librs232_p.a
|
||||
lib/librs232.a
|
||||
lib/librs232.so
|
||||
lib/librs232.so.1
|
||||
|
Loading…
Reference in New Issue
Block a user