2012-06-27 08:10:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2012/06/27 12:10:19 jasper Exp $
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= HTTP and WebDAV client library, with C interface
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2012-05-14 02:26:19 -04:00
|
|
|
DISTNAME= neon-0.29.6
|
2012-06-27 08:10:19 -04:00
|
|
|
REVISION= 1
|
2012-05-14 02:26:19 -04:00
|
|
|
SHARED_LIBS= neon 28.0 # 29.6
|
2002-03-18 21:56:40 -05:00
|
|
|
CATEGORIES= net www devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.webdav.org/neon/
|
|
|
|
|
2008-05-02 04:14:53 -04:00
|
|
|
# LGPLv2+
|
2002-03-18 21:56:40 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-11-13 08:14:05 -05:00
|
|
|
|
2012-05-14 02:26:19 -04:00
|
|
|
WANTLIB += asn1 crypto expat gssapi krb5 m proxy ssl stdc++ z
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2004-04-16 09:08:54 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2012-05-14 02:26:19 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2005-12-30 16:48:20 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2012-05-14 02:26:19 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS = net/libproxy
|
|
|
|
|
2002-03-18 21:56:40 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-11-13 08:14:05 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2012-05-14 02:26:19 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv" \
|
2008-11-13 08:14:05 -05:00
|
|
|
ac_cv_path_CERTUTIL="" \
|
|
|
|
ac_cv_path_PK12UTIL=""
|
2007-10-20 09:05:35 -04:00
|
|
|
|
2011-05-01 16:38:18 -04:00
|
|
|
FAKE_FLAGS= docdir=${PREFIX}/share/doc/neon/
|
|
|
|
|
2007-10-20 09:05:35 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2008-11-13 08:14:05 -05:00
|
|
|
--with-ca-bundle=/etc/ssl/cert.pem \
|
|
|
|
--with-ssl=openssl \
|
|
|
|
--with-expat \
|
2012-05-14 02:26:19 -04:00
|
|
|
--with-libproxy \
|
|
|
|
--without-pakchois \
|
2008-11-13 08:14:05 -05:00
|
|
|
--enable-nls
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${INSTALL} -m 555 ${FILESDIR}/krb5-config ${WRKDIR}/bin
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2002-03-18 22:34:04 -05:00
|
|
|
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 -)
|
|
|
|
|
2002-03-18 21:56:40 -05:00
|
|
|
.include <bsd.port.mk>
|