openbsd-ports/net/neon/Makefile
espie 50232f1030 fix build:
- explicitly choose the xml library you want.
- give enough details so that libintl is found, *even if xml2 is not used*.

No package change.
2007-10-20 13:05:35 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2007/10/20 13:05:35 espie Exp $
COMMENT= HTTP and WebDAV client library, with C interface
DISTNAME= neon-0.26.2
SHARED_LIBS= neon 26.2
CATEGORIES= net www devel
HOMEPAGE= http://www.webdav.org/neon/
LIB_DEPENDS= xml2.>=6:libxml->=2.4.8:textproc/libxml
MODULES= converters/libiconv
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= crypto m ssl z
MASTER_SITES= ${HOMEPAGE}
MODULES= devel/gettext
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-ssl --enable-nls \
--with-xml2 --without-expat
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/neon/macros
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/neon
.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 -)
.include <bsd.port.mk>