1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/net/libtnl/Makefile
Mikhail Teterin dfaad2246c Add patches to unbreak -- work with gcc above version 3. Also allow
building on amd64 and note, that support for other platforms is easy
too, as long as one has a system to test on.

Redirect a few functions directly to the standard implementations using
defines, instead of using function-wrappers.

This port ought to use a port-installed libtomcrypt instead of building its
own version of same. Unfortunately, our security/libtomcrypt does not
(yet?) install a shared version.
2008-08-18 01:48:41 +00:00

40 lines
1.1 KiB
Makefile

# 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= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= opentnl
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>