summaryrefslogtreecommitdiffstats
path: root/devel/libcidr/Makefile
blob: 2bed16b441bf5b29e50696a3d1d9f446c2c534ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libcidr
DISTVERSION=	1.2.3
CATEGORIES=	devel
MASTER_SITES=	http://www.over-yonder.net/~fullermd/projects/${PORTNAME}/ \
		http://distfiles.over-yonder.net/${PORTNAME}/

MAINTAINER=	fullermd@over-yonder.net
COMMENT=	Library to handle manipulating CIDR netblocks

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		tar:xz
USE_LDCONFIG=	yes
MAKE_ENV+=	CIDR_DOCDIR=${DOCSDIR} CIDR_EXDIR=${EXAMPLESDIR}

OPTIONS_DEFINE=	DOCS EXAMPLES

DOCS_MAKE_ENV_OFF=	NO_DOCS=yes
EXAMPLES_MAKE_ENV_OFF=	NO_EXAMPLES=yes

post-patch:
	@${REINPLACE_CMD} 's|-g -O2 -pipe||' ${WRKSRC}/src/Makefile.inc

.include <bsd.port.mk>
OpenPOWER on IntegriCloud