Tweak math/rocs version 4.14.3_7
[dports.git] / net / libdnet / Makefile
1 # Created by: Dominic Marks <dominic.marks@btinternet.com>
2 # $FreeBSD$
3
4 PORTNAME=       libdnet
5 PORTVERSION=    1.12
6 PORTREVISION=   1
7 DISTVERSIONPREFIX=      ${PORTNAME}-
8 CATEGORIES?=    net
9
10 MAINTAINER?=    onatan@gmail.com
11 COMMENT=        Simple interface to low level networking routines
12
13 LICENSE=        BSD3CLAUSE
14 LICENSE_FILE=   ${WRKSRC}/LICENSE
15
16 USE_GITHUB=     yes
17 GH_ACCOUNT=     dugsong
18
19 GNU_CONFIGURE=  yes
20 CONFIGURE_ENV=  ac_cv_dnet_bsd_bpf=yes
21 USES+=          libtool
22
23 .if !defined(LIBDNET_SLAVE)
24 CONFIGURE_ARGS+=        --without-python
25 USE_LDCONFIG=   yes
26 .endif
27
28 post-patch:
29         @${REINPLACE_CMD} 's|shrext|shrext_cmds|g' ${WRKSRC}/configure
30
31 .include <bsd.port.mk>