opnsense-ports/net/libdnet/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

28 lines
581 B
Makefile

# Created by: Dominic Marks <dominic.marks@btinternet.com>
# $FreeBSD$
PORTNAME= libdnet
PORTVERSION= 1.12
PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= GOOGLE_CODE
MAINTAINER?= onatan@gmail.com
COMMENT= Simple interface to low level networking routines
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_dnet_bsd_bpf=yes
USES+= libtool tar:tgz
.if !defined(LIBDNET_SLAVE)
CONFIGURE_ARGS+= --without-python
USE_LDCONFIG= yes
.endif
post-patch:
@${REINPLACE_CMD} 's|shrext|shrext_cmds|g' ${WRKSRC}/configure
.include <bsd.port.mk>