openbsd-ports/net/neon/Makefile
2002-04-28 15:52:07 +00:00

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2002/04/28 15:52:07 lebel Exp $
COMMENT= "HTTP and WebDAV client library, with C interface"
VERSION= 0.19.4
DISTNAME= neon-${VERSION}
CATEGORIES= net www devel
NEED_VERSION= 1.513
HOMEPAGE= http://www.webdav.org/neon/
MAINTAINER= David Lebel <lebel@openbsd.org>
LIB_DEPENDS= xml2.6:libxml->=2.4.8:textproc/libxml
MODULES= iconv
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.webdav.org/neon/
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --with-ssl --with-xml2
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/neon/macros
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/neon
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3
.for i in README NEWS BUGS TODO THANKS
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/neon
.endfor
cd ${WRKSRC}/macros && \
tar cf - . | (cd ${PREFIX}/share/neon/macros; tar xf -)
cd ${WRKSRC}/doc && \
tar cf - html | (cd ${PREFIX}/share/doc/neon; tar xf -)
.include <bsd.port.mk>