freebsd-ports/www/libwww/Makefile
Justin M. Seger 0fcb7c4aca 1) Pass OBJFORMAT in MAKE_ENV
2) No longer do LDCONFIG in post-install, libwww does it already
3) Install xmlparse.h which is required by HTXML.h

Submitted by:	asami
1999-04-06 22:31:05 +00:00

33 lines
807 B
Makefile

# 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>