aboutsummaryrefslogtreecommitdiff
path: root/devel/poco/Makefile
blob: 121f9e3ee9daf09d7e01806170430965d52830bc (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
# Created by: wes@FreeBSD.org
# $FreeBSD$

PORTNAME=	poco
PORTVERSION=	1.4.3
CATEGORIES=	devel net
MASTER_SITES=	SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}p1

MAINTAINER=	wes@FreeBSD.org
COMMENT=	C++ Portable Components library

CONFLICTS=	poco-ssl-[0-9]*

OPTIONS_DEFINE=	TEST SAMPLES
SAMPLES_DESC=	Build sample programs

CONFIGURE_ARGS= --config=FreeBSD
USES=		gmake

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MTEST}
CONFIGURE_ARGS+= --no-tests
.endif

.if ! ${PORT_OPTIONS:MSAMPLES}
CONFIGURE_ARGS+= --no-samples
.endif

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e "s/ =/ ?=/g" ${WRKSRC}/build/config/FreeBSD

.include <bsd.port.mk>