aboutsummaryrefslogtreecommitdiff
path: root/net/libtnl/Makefile
blob: c337b723dc7e0df1614912d10472abb2d5bc2d8c (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
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    libtnl
# Date created:         26 Jan 2006
# Whom:                 aaron@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	libtnl
PORTVERSION=	1.5.0
CATEGORIES=	net devel
MASTER_SITES=	SF/opentnl/TNL%20Source/${PORTVERSION}
DISTNAME=	tnl-${PORTVERSION}-source

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A robust, secure, easy to use cross-platform C++ networking API

WRKSRC=		${WRKDIR}/tnl/tnl
USE_LDCONFIG=	yes
MAKEFILE=	${FILESDIR}/Makefile.bsd
MAKE_ARGS=	-j`${SYSCTL} -n hw.ncpu`
# Other arches can be added easily, provided there is hardware to test:
ONLY_FOR_ARCHS=	i386 amd64
.if defined(NO_PROFILE) || defined(NOPROFILE)
PLIST_SUB+=	PROFILE='@comment '
.else
PLIST_SUB+=	PROFILE=''
.endif

# When security/libtomcrypt is fixed to provide a shared version, we'll
# stop extracting our own and will LIB_DEPEND on theirs instead:
#LIB_DEPENDS=	tomcrypt:${PORTSDIR}/security/libtomcrypt
#
#EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude tnl/libtomcrypt

pre-su-install:
	${MKDIR} ${PREFIX}/include/tnl

.include <bsd.port.mk>