aboutsummaryrefslogtreecommitdiffstats
path: root/www/libwww/Makefile
blob: 01cc14459db31711e5e3875724a7918357bcc654 (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
# New ports collection makefile for:    libwww
# Version required: 5.2.6
# Date created:     18 Feb 1996
# Whom:         torstenb
#
# $Id: Makefile,v 1.16 1999/03/08 00:15:40 jseger Exp $
#

PKGNAME=    libwww-5.2.6
DISTNAME=   w3c-${PKGNAME}
CATEGORIES= www devel
MASTER_SITES=   http://www.w3.org/Library/Distribution/

MAINTAINER= jseger@FreeBSD.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --enable-shared --enable-static
DOCDIR=     ${PREFIX}/share/doc/libwww
MAKE_ENV=   objformat=${PORTOBJFORMAT}

post-install:
    ${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
        ${PREFIX}/include/w3c-libwww/
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCDIR}/User
    ${CP} -R ${WRKSRC}/Library/User/* ${DOCDIR}/User
    @${MKDIR} ${DOCDIR}/src
    ${CP} ${WRKSRC}/Library/src/*.html ${DOCDIR}/src
.endif

.include <bsd.port.mk>