opnsense-ports/net/libdnet/Makefile
Franco Fichtner 3147c3e91e net/libdnet: sync with upstream
Taken from: FreeBSD
2016-09-16 14:39:18 +02:00

31 lines
616 B
Makefile

# Created by: Dominic Marks <dominic.marks@btinternet.com>
# $FreeBSD$
PORTNAME= libdnet
PORTVERSION= 1.12
PORTREVISION= 1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES?= net
MAINTAINER?= onatan@gmail.com
COMMENT= Simple interface to low level networking routines
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= dugsong
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_dnet_bsd_bpf=yes
USES+= libtool
.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>