aboutsummaryrefslogtreecommitdiff
path: root/www/libwww/Makefile
blob: db8aaf7acc1f8819e1d15f2d4ab439dad5239711 (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
PORTNAME=	libwww
PORTVERSION=	5.4.2
CATEGORIES=	www devel
MASTER_SITES=	https://www.w3.org/Library/Distribution/ \
		https://www.w3.org/Library/Distribution/old/
DISTNAME=	w3c-${PORTNAME}-${PORTVERSION}

MAINTAINER=	dbaio@FreeBSD.org
COMMENT=	W3C Reference Library
WWW=		https://www.w3.org/Library/

LICENSE=	W3C
LICENSE_NAME=	W3C IPR SOFTWARE NOTICE
LICENSE_FILE=	${WRKSRC}/LICENSE.html
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS=	libexpat.so:textproc/expat2

USES=		cpe gmake libtool localbase perl5 ssl tar:tgz
USE_PERL5=	build
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared --with-zlib --with-ssl=${OPENSSLBASE}
CPE_VENDOR=	w3c

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
.endif

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so

.include <bsd.port.mk>