1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/anet: Install missing files and relocate static library

Natacha noticed that some of the source files were not being installed.
I tested the fix using PREFIX/lib/gnat/anet.gpr and then discovered it
was expecting libanet.a to be installed at PREFIX/lib rather than
PREFIX/lib/anet, so I modified the pkg-plist for that as well.

PR:		191406
Submitted by:	Natacha Porte
Patch by:	maintainer (marino)
This commit is contained in:
John Marino 2014-07-12 13:58:57 +00:00
parent f6fb4c99b2
commit 38d1e1f3a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361616
2 changed files with 14 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= anet
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.codelabs.ch/download/
DISTNAME= libanet-${PORTVERSION}
@ -55,9 +56,11 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
${STAGEDIR}${PREFIX}/lib/anet \
${STAGEDIR}${PREFIX}/include/anet
${INSTALL_DATA} ${WRKSRC}/src/*.ad[bs] \
${INSTALL_DATA} ${WRKSRC}/src/*.ad[bs] ${WRKSRC}/src/bsd/*.ad[bs] \
${STAGEDIR}${PREFIX}/include/anet
${INSTALL_DATA} ${WRKSRC}/lib/static/* ${STAGEDIR}${PREFIX}/lib/anet
${INSTALL_DATA} ${WRKSRC}/lib/static/*.ali \
${STAGEDIR}${PREFIX}/lib/anet
${INSTALL_DATA} ${WRKSRC}/lib/static/*.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/gnat/anet.gpr ${STAGEDIR}${PREFIX}/lib/gnat
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -7,18 +7,26 @@ include/anet/anet-net_ifaces.adb
include/anet/anet-net_ifaces.ads
include/anet/anet-os.adb
include/anet/anet-os.ads
include/anet/anet-os_constants.ads
include/anet/anet-receivers-datagram.adb
include/anet/anet-receivers-datagram.ads
include/anet/anet-receivers-stream.adb
include/anet/anet-receivers-stream.ads
include/anet/anet-receivers.adb
include/anet/anet-receivers.ads
include/anet/anet-socket_families.ads
include/anet/anet-sockets-filters.adb
include/anet/anet-sockets-filters.ads
include/anet/anet-sockets-inet-iface.adb
include/anet/anet-sockets-inet-iface.ads
include/anet/anet-sockets-inet.adb
include/anet/anet-sockets-inet.ads
include/anet/anet-sockets-thin-inet.adb
include/anet/anet-sockets-thin-inet.ads
include/anet/anet-sockets-thin-netdev-requests.ads
include/anet/anet-sockets-thin-netdev.ads
include/anet/anet-sockets-thin-sockaddr.ads
include/anet/anet-sockets-thin-unix.ads
include/anet/anet-sockets-thin.ads
include/anet/anet-sockets-unix.adb
include/anet/anet-sockets-unix.ads
@ -60,8 +68,8 @@ lib/anet/anet-types.ali
lib/anet/anet-udp.ali
lib/anet/anet-util.ali
lib/anet/anet.ali
lib/anet/libanet.a
lib/gnat/anet.gpr
lib/libanet.a
%%PORTDOCS%%%%DOCSDIR%%/html/asciidoc.css
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html