aboutsummaryrefslogtreecommitdiffstats
path: root/www/libwww/Makefile
blob: 5aef15031cd79c82400ab399f9e1df31de03eeff (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
#
# $FreeBSD$
#

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>