freebsd-ports/databases/rubygem-pg/Makefile
2020-09-27 19:33:57 +00:00

24 lines
550 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pg
PORTVERSION= 1.2.3
CATEGORIES= databases rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby interface to PostgreSQL library
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE
USES= gem pgsql
USE_RUBY= yes
CONFIGURE_ARGS= --with-pgsql-include-dir=`${PG_CONFIG} --includedir` \
--with-pgsql-lib-dir=`${PG_CONFIG} --libdir`
PG_CONFIG= ${LOCALBASE}/bin/pg_config
.include <bsd.port.mk>