2011-05-01 16:38:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2011/05/01 20:38:18 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
|
|
|
|
2009-08-30 14:37:55 -04:00
|
|
|
DISTNAME= neon-0.28.6
|
2010-10-03 09:02:19 -04:00
|
|
|
REVISION= 0
|
2008-11-13 08:14:05 -05:00
|
|
|
SHARED_LIBS= neon 27.0 # .28.3
|
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
|
|
|
MODULES= devel/gettext
|
2002-03-18 21:56:40 -05:00
|
|
|
|
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
|
|
|
|
|
|
|
WANTLIB= asn1 crypto expat gssapi krb5 ssl 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
|
|
|
|
2005-12-30 16:48:20 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2010-11-19 17:31:32 -05:00
|
|
|
USE_GROFF = Yes
|
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" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
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 \
|
|
|
|
--enable-nls
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${INSTALL} -m 555 ${FILESDIR}/krb5-config ${WRKDIR}/bin
|
2002-03-18 21:56:40 -05:00
|
|
|
|
2011-05-01 16:38:18 -04:00
|
|
|
# Prevent this from ending up in PLIST
|
|
|
|
pre-configure:
|
|
|
|
rm ${WRKSRC}/macros/neon.m4.orig
|
|
|
|
|
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>
|