Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.40 2017/04/10 11:46:32 sthen Exp $
  2. COMMENT= HTTP and WebDAV client library, with C interface
  3. DISTNAME= neon-0.30.1
  4. SHARED_LIBS += neon 29.0 # 30.1
  5. CATEGORIES= net www devel
  6. HOMEPAGE= http://www.webdav.org/neon/
  7. # LGPLv2+
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB += crypto expat m proxy pthread ssl ${LIBCXX} z
  10. MASTER_SITES= ${HOMEPAGE}
  11. MODULES= devel/gettext
  12. LIB_DEPENDS = net/libproxy
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
  15. LDFLAGS="-L${LOCALBASE}/lib" \
  16. ac_cv_path_CERTUTIL="" \
  17. ac_cv_path_PK12UTIL=""
  18. FAKE_FLAGS= docdir=${PREFIX}/share/doc/neon/
  19. CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem \
  20. --with-ssl=openssl \
  21. --with-expat \
  22. --without-pakchois \
  23. --enable-nls
  24. post-install:
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/neon/macros
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/neon
  27. .for i in README NEWS BUGS TODO THANKS
  28. ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/neon
  29. .endfor
  30. cd ${WRKSRC}/macros && \
  31. tar cf - . | (cd ${PREFIX}/share/neon/macros; tar xf -)
  32. .include <bsd.port.mk>