summaryrefslogtreecommitdiff
path: root/net/norm/Makefile
blob: 8ce575e929bfcab0bd9c6e2537b949bb5dd55167 (plain)
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=	norm
PORTVERSION=	1.5r6
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://downloads.pf.itd.nrl.navy.mil/norm/archive/:norm \
		https://waf.io/:waf
DISTNAME=	src-norm-${DISTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:norm \
		waf-2.0.19:waf
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	hd@oc.dk
COMMENT=	NACK-Oriented Reliable Multicast (NORM)

WRKSRC=		${WRKDIR}/norm-${DISTVERSION}

USES=		libtool tar:tgz waf
USE_LDCONFIG=	yes
PLIST_FILES=	include/normApi.h lib/libnorm.so lib/libnorm.so.1 \
		lib/libnorm.so.1.0.0

post-extract:
	${CP} ${DISTDIR}/waf-2.0.19 ${WRKSRC}/waf

post-install:
	${INSTALL_DATA} ${WRKSRC}/include/normApi.h ${STAGEDIR}${PREFIX}/include/
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnorm.so.1.0.0

.include <bsd.port.mk>