pkgsrc/net/libfetch/Makefile
joerg a627d8f327 libfetch-2.16:
- only include openssl if the openssl option is present
- include arpa/inet.h to get ntohl and friends on older platforms like
  Interix
- use new netdb.h compat code from libnbcompat
- include inttypes.h only when present
- don't name local variables err, Interix has a symbol like that in
  default namespace
- allow fetch_read to do short read and do more intelligent buffering
  for header processing; effectively don't do a system call for each
  byte read
2008-10-06 12:58:29 +00:00

32 lines
601 B
Makefile

# $NetBSD: Makefile,v 1.19 2008/10/06 12:58:29 joerg Exp $
#
DISTNAME= libfetch-2.16
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
NO_CHECKSUM= yes
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.FreeBSD.org/
COMMENT= Library to access HTTP/FTP server
#LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
USE_FEATURES= nbcompat
USE_BSD_MAKEFILE= yes
INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3
BUILD_TARGET= depend all
INSTALL_TARGET= install includes
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
.include "options.mk"
.include "../../mk/bsd.pkg.mk"