pkgsrc/www/libwww/Makefile

66 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.70 2006/10/05 10:05:41 rillig Exp $
DISTNAME= w3c-libwww-5.4.0
PKGNAME= libwww-5.4.0
PKGREVISION= 5
2000-06-21 04:58:23 +02:00
CATEGORIES= www devel
2000-08-06 18:51:15 +02:00
MASTER_SITES= http://www.w3.org/Library/Distribution/ \
ftp://ftp.uni-hannover.de/pub/mirror/info-systems/WWW/libwww/
EXTRACT_SUFX= .tgz
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} libwww-configure-5.4.0nb1.gz
MAINTAINER= pkgsrc-users@NetBSD.org
2000-06-21 04:58:23 +02:00
HOMEPAGE= http://www.w3.org/Library/
COMMENT= The W3C Reference Library
PKG_INSTALLATION_TYPES= overwrite pkgviews
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
SITES.libwww-configure-5.4.0nb1.gz= ${MASTER_SITE_LOCAL}
2006-10-04 21:45:58 +02:00
USE_TOOLS+= gmake gzcat perl
USE_LIBTOOL= YES
2002-10-02 20:41:44 +02:00
GNU_CONFIGURE= YES
2006-01-29 17:57:31 +01:00
CONFIGURE_ARGS+= --with-zlib --without-x
CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
2000-06-21 04:58:23 +02:00
2004-03-21 08:41:57 +01:00
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
.include "options.mk"
2004-03-21 08:41:57 +01:00
post-extract:
2006-10-04 21:45:58 +02:00
gzcat ${DISTDIR}/libwww-configure-5.4.0nb1.gz > ${WRKSRC}/configure
pre-configure:
2006-10-04 21:45:58 +02:00
chmod a+x ${WRKSRC}/configure
.for f in aclocal.m4 configure stamp-h.in
2006-10-04 21:45:58 +02:00
touch ${WRKSRC}/${f}
.endfor
2006-10-04 21:45:58 +02:00
touch `${FIND} ${WRKSRC} -name Makefile.in -print`
.include "../../mk/bsd.prefs.mk"
2006-01-29 17:57:31 +01:00
.if empty(LOWER_OPSYS:Mirix5*)
# IRIX 5 does not have libregex
2006-10-04 21:45:58 +02:00
CONFIGURE_ARGS+= --with-regex
2006-01-29 17:57:31 +01:00
.endif
.if ${OPSYS} == "SunOS"
# Solaris has a /usr/lib/libmd5 which seems to be enouth, and
# /usr/local/lib/libmd5 breaks /usr/lib/librt
CONFIGURE_ARGS+= --without-md5
PLIST_SUBST+= MD5LIB="@comment "
.else
. if !exists(/usr/include/md5.h)
CONFIGURE_ARGS+= --with-md5=${SSLBASE:Q}
. endif
PLIST_SUBST+= MD5LIB=""
.endif
2004-02-12 22:22:35 +01:00
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"