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

PORTNAME=   libwww
PORTVERSION=    5.4.0
PORTREVISION=   2
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

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --enable-shared --enable-static --with-zlib
USE_PERL5_BUILD=yes
MAKE_ENV=   objformat=${PORTOBJFORMAT}
INSTALLS_SHLIB= 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>