Makefile 807 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.23 2017/04/10 11:45:25 sthen Exp $
  2. COMMENT= search engine library
  3. V= 1.2.15
  4. PORTROACH= limitw:1,even
  5. DISTNAME= xapian-core-${V}
  6. REVISION= 1
  7. SHARED_LIBS += xapian 3.1 # .28.2
  8. CATEGORIES= databases textproc
  9. HOMEPAGE= http://xapian.org/
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += c m ${LIBCXX} z uuid
  13. MASTER_SITES= http://oligarchy.co.uk/xapian/${V}/
  14. LIB_DEPENDS= sysutils/e2fsprogs>=1.42.7
  15. CONFIGURE_STYLE= autoconf
  16. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  17. CXXFLAGS="${CXXFLAGS} -Wno-redundant-decls" \
  18. LDFLAGS="-L${LOCALBASE}/lib"
  19. CONFIGURE_ARGS= LIBxapian_VERSION=${LIBxapian_VERSION}
  20. AUTOCONF_VERSION= 2.68
  21. .include <bsd.port.arch.mk>
  22. # amd64-capable CPUs all have SSE
  23. .if !${ARCH:Mamd64}
  24. CONFIGURE_ARGS+= --disable-sse
  25. .endif
  26. .include <bsd.port.mk>