2010-01-26 19:38:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.81 2010/01/26 18:38:26 drochner Exp $
|
1998-07-14 18:51:20 +02:00
|
|
|
|
2002-11-19 21:54:11 +01:00
|
|
|
DISTNAME= w3c-libwww-5.4.0
|
|
|
|
PKGNAME= libwww-5.4.0
|
2010-01-26 19:38:26 +01:00
|
|
|
PKGREVISION= 9
|
2000-06-21 04:58:23 +02:00
|
|
|
CATEGORIES= www devel
|
2007-04-21 08:03:44 +02:00
|
|
|
MASTER_SITES= http://www.w3.org/Library/Distribution/
|
2002-11-19 21:54:11 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2007-04-21 13:17:47 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} libwww-configure-5.4.0nb2.gz
|
1998-07-14 18:51:20 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-06-21 04:58:23 +02:00
|
|
|
HOMEPAGE= http://www.w3.org/Library/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= The W3C Reference Library
|
1998-07-14 18:56:50 +02:00
|
|
|
|
2004-05-31 18:47:47 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-05 18:31:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-05-31 18:47:47 +02:00
|
|
|
|
2004-02-12 22:15:07 +01:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2007-04-21 13:17:47 +02:00
|
|
|
SITES.libwww-configure-5.4.0nb2.gz= ${MASTER_SITE_LOCAL}
|
2004-02-12 22:15:07 +01:00
|
|
|
|
2006-10-10 02:24:54 +02:00
|
|
|
USE_TOOLS+= automake14 gmake gzcat perl
|
2001-08-27 16:35:04 +02:00
|
|
|
USE_LIBTOOL= YES
|
2002-10-02 20:41:44 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2006-01-29 17:57:31 +01:00
|
|
|
CONFIGURE_ARGS+= --with-zlib --without-x
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
|
2000-06-21 04:58:23 +02:00
|
|
|
|
2005-12-02 18:05:04 +01:00
|
|
|
.include "options.mk"
|
2004-03-21 08:41:57 +01:00
|
|
|
|
2006-10-05 12:05:41 +02:00
|
|
|
post-extract:
|
2007-04-21 13:17:47 +02:00
|
|
|
gzcat ${DISTDIR}/libwww-configure-5.4.0nb2.gz > ${WRKSRC}/configure
|
2006-10-05 12:05:41 +02:00
|
|
|
|
|
|
|
pre-configure:
|
2006-10-04 21:45:58 +02:00
|
|
|
chmod a+x ${WRKSRC}/configure
|
2004-02-12 21:31:35 +01:00
|
|
|
.for f in aclocal.m4 configure stamp-h.in
|
2006-10-04 21:45:58 +02:00
|
|
|
touch ${WRKSRC}/${f}
|
2004-02-12 21:31:35 +01:00
|
|
|
.endfor
|
2006-10-10 02:24:54 +02:00
|
|
|
cd ${WRKSRC} && automake
|
2000-08-06 03:11:38 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-03-11 19:47:40 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
|
2006-01-29 17:57:31 +01:00
|
|
|
# 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
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= md5
|
2002-10-26 20:11:20 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2008-04-13 00:42:57 +02:00
|
|
|
# Solaris has a /usr/lib/libmd5 which seems to be enough, and
|
2002-10-26 20:11:20 +02:00
|
|
|
# /usr/local/lib/libmd5 breaks /usr/lib/librt
|
2008-04-13 00:42:57 +02:00
|
|
|
CONFIGURE_ARGS+= --without-md5
|
2002-10-26 20:11:20 +02:00
|
|
|
.else
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.md5= yes
|
2003-04-03 20:05:33 +02:00
|
|
|
. if !exists(/usr/include/md5.h)
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-md5=${SSLBASE:Q}
|
2003-04-03 20:05:33 +02:00
|
|
|
. endif
|
2002-10-26 20:11:20 +02:00
|
|
|
.endif
|
|
|
|
|
2004-02-12 22:22:35 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
1998-07-14 18:56:50 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|