freebsd-ports/databases/rubygem-postgres/Makefile
Cheng-Lung Sung 76114083a5 - This updates ruby-postgres to the latest version: 0.7.1.2006.04.06.
This offers greatly improved performance and compatibility.

The Makefile has been revamped to use RubyGems instead of a plain tarball.
The RubyGem packaging is the preferred method of distribution, and simplifies
the Makefile.

PR:		ports/114048
Submitted by:	Roderick van Domburg <r dot s dot a dot vandomburg_AT_nedforce dot nl>
2007-08-03 07:18:21 +00:00

25 lines
667 B
Makefile

# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
PORTNAME= ruby-postgres
PORTVERSION= 0.7.1.2006.04.06
CATEGORIES= databases rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Ruby interface to PostgreSQL library
USE_PGSQL= yes
PG_CONFIG= ${LOCALBASE}/bin/pg_config
CONFIGURE_ARGS= --with-pgsql-include-dir=`${PG_CONFIG} --includedir` \
--with-pgsql-lib-dir=`${PG_CONFIG} --libdir`
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>