aboutsummaryrefslogtreecommitdiffstats
path: root/www/libwww/Makefile
blob: eea0f329a07dae3921ac076fe008ed48d85b1f2b (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
# New ports collection makefile for:    libwww
# Date created:     18 Feb 1996
# Whom:         torstenb
#
# $FreeBSD$
#

PORTNAME=   libwww
PORTVERSION=    5.4.0
PORTREVISION=   4
CATEGORIES= www devel
MASTER_SITES=   http://www.w3.org/Library/Distribution/
DISTNAME=   w3c-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    The W3C Reference Library

USE_AUTOTOOLS=  libtool:15
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --enable-shared --enable-static --with-zlib --with-ssl=${OPENSSLBASE}
USE_PERL5_BUILD=yes
USE_LDCONFIG=   yes
USE_OPENSSL=    yes

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
        ${WRKSRC}/configure

post-install:
    ${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
        ${PREFIX}/include/w3c-libwww/

.include <bsd.port.mk>