freebsd-ports/databases/ludia/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

51 lines
1.5 KiB
Makefile

# New ports collection makefile for: Ludia
# Date created: January 5, 2008
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ludia
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ludia/28482
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= PostgreSQL extension for full-text search indexing
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
RUN_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
senna-cfg:${PORTSDIR}/textproc/senna
BUILD_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
senna-cfg:${PORTSDIR}/textproc/senna
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
.include <bsd.port.pre.mk>
# let configure find postgres stuff in non-standard places
CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
--with-pgbindir=${LOCALBASE}/bin \
--with-pgincludedir=${LOCALBASE}/include \
--with-pgincludeserverdir=${LOCALBASE}/include/postgresql/server \
--with-pglibdir=${LOCALBASE}/lib \
--with-pgpkglibdir=${LOCALBASE}/lib/postgresql \
--with-pgsharedir=${LOCALBASE}/share/postgresql
DEFAULT_PGSQL_VER?=82
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/postmaster)
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
${SED} -En 's/.*PostgreSQL[^0-9]*([0-9]+)\.([0-9]+)\..*/\1\2/p'
.elif exists(${LOCALBASE}/bin/pg_config)
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \
${SED} -En 's/PostgreSQL[^0-9]*([0-9]*)\.([0-9]+)\..*/\1\2/p'
.else
PGSQL_VER= ${DEFAULT_PGSQL_VER}
.endif
.include <bsd.port.post.mk>