openbsd-ports/databases/xapian-core/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

41 lines
860 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.9 2010/11/15 00:22:54 espie Exp $
COMMENT= search engine library
V= 1.2.3
DISTNAME= xapian-core-${V}
SHARED_LIBS += xapian 2.0 # .23.2
CATEGORIES= databases textproc
HOMEPAGE= http://xapian.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c m stdc++ z e2fs-uuid
MASTER_SITES= http://oligarchy.co.uk/xapian/${V}/
USE_LIBTOOL= Yes
USE_GROFF = Yes
# needs uuid_generate(3) which devel/uuid does not provide
LIB_DEPENDS= sysutils/e2fsprogs
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-sse
pre-configure:
perl -pi -e "s,for ac_lib in '' uuid,for ac_lib in '' e2fs-uuid," \
${WRKSRC}/configure
.include <bsd.port.mk>