aboutsummaryrefslogtreecommitdiffstats
path: root/www/libwww/Makefile
blob: 41c1030e51b20614d05917a2a2ee2a031ed3b223 (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
# New ports collection makefile for:    libwww
# Version required: 5.1m1
# Date created:     18 Feb 1996
# Whom:         torstenb
#
# $Id: Makefile,v 1.12 1998/10/16 03:04:06 jseger Exp $
#

PKGNAME=    libwww-5.2
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

post-install:
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.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>