aboutsummaryrefslogtreecommitdiffstats
path: root/net/adasockets/Makefile
blob: 912c66b9badf407510d7e440cb38c1cfe18fea55 (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
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$

PORTNAME=   adasockets
PORTVERSION=    1.8.11
CATEGORIES= net
MASTER_SITES=   http://www.rfc1149.net/download/adasockets/

MAINTAINER= marino@FreeBSD.org
COMMENT=    IPv4 socket library for Ada (TCP, UDP, and multicast)

LICENSE=    GPLv2 GMGPL
LICENSE_COMB=   multi

USES=       ada gmake
HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=--disable-doc --disable-shared

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/adasockets \
        ${STAGEDIR}${PREFIX}/lib/gnat
    ${MV} ${STAGEDIR}${PREFIX}/lib/libadasockets.* \
        ${STAGEDIR}${PREFIX}/lib/adasockets/
    ${MV} ${STAGEDIR}${PREFIX}/lib/adasockets/*.ad[bs] \
        ${STAGEDIR}${PREFIX}/include/adasockets/
    ${INSTALL_DATA} ${FILESDIR}/adasockets.gpr \
        ${STAGEDIR}${PREFIX}/lib/gnat/

.include <bsd.port.mk>