summaryrefslogtreecommitdiff
path: root/www/libwww/Makefile
blob: 8aac8f92dd159633c462e3e5fc88595adaf2935f (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
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.101 2022/06/28 11:37:05 wiz Exp $

DISTNAME=	w3c-libwww-5.4.2
PKGNAME=	${DISTNAME:S/^w3c-//}
PKGREVISION=	6
CATEGORIES=	www devel
MASTER_SITES=	http://www.w3.org/Library/Distribution/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.w3.org/Library/
COMMENT=	The W3C Reference Library
LICENSE=	w3c

USE_LIBTOOL=		yes
USE_TOOLS+=		gmake gzcat perl
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-expat=${BUILDLINK_PREFIX.expat}
CONFIGURE_ARGS+=	--with-ssl #=${SSLBASE:Q}
CONFIGURE_ARGS+=	--with-zlib
CONFIGURE_ARGS+=	--without-x

.include "../../mk/bsd.prefs.mk"

.if !empty(MACHINE_PLATFORM:MIRIX-5*)
# IRIX 5 does not have libregex
CONFIGURE_ARGS+=	--with-regex
.endif

.if !exists(/usr/include/md5.h)
CONFIGURE_ARGS+=	--with-md5=${SSLBASE:Q}
.endif

.include "options.mk"

.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"