1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/libdnet/Makefile
2016-09-14 17:52:05 +00:00

32 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>