046c8498cd
Omega is an indexing and CGI search application built on top of the Xapian search engine. Reworked from an original submission from Daniel Dickman
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/07/23 15:16:45 ajacoutot Exp $
|
|
|
|
COMMENT= web search application
|
|
|
|
V= 1.0.14
|
|
DISTNAME= xapian-omega-${V}
|
|
|
|
CATEGORIES= www textproc
|
|
|
|
HOMEPAGE= http://xapian.org/
|
|
|
|
# GPLv2
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
WANTLIB += c m stdc++ z
|
|
|
|
MASTER_SITES= http://oligarchy.co.uk/xapian/${V}/
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIB_DEPENDS= xapian::databases/xapian-core
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/xapian-omega \
|
|
pkglibbindir=${PREFIX}/libexec/xapian-omega/cgi-bin
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/godmode ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/opensearch ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/query ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/topterms ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/xml ${PREFIX}/share/omega/templates
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/omega/templates/inc
|
|
${INSTALL_DATA} ${WRKBUILD}/templates/inc/* ${PREFIX}/share/omega/templates/inc
|
|
|
|
.include <bsd.port.mk>
|