opnsense-ports/net/libtnl/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

35 lines
954 B
Makefile

# Created by: 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= Robust, secure, easy to use cross-platform C++ networking API
USES= uidfix
USE_GCC= any
WRKSRC= ${WRKDIR}/tnl/tnl
USE_LDCONFIG= yes
MAKEFILE= ${FILESDIR}/Makefile.bsd
# 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-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/tnl
.include <bsd.port.mk>