2000-08-12 22:09:41 +02:00
|
|
|
# New ports collection makefile for: ruby-postgres
|
|
|
|
# Date created: 19 April 1999
|
|
|
|
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
1999-09-06 16:02:24 +02:00
|
|
|
#
|
1999-09-06 16:12:27 +02:00
|
|
|
# $FreeBSD$
|
1999-09-06 16:02:24 +02:00
|
|
|
#
|
|
|
|
|
2000-08-09 21:43:48 +02:00
|
|
|
PORTNAME= postgres
|
2003-01-06 08:23:03 +01:00
|
|
|
PORTVERSION= 0.7.1
|
2005-01-31 01:35:55 +01:00
|
|
|
PORTREVISION= 2
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= databases ruby
|
2006-07-24 19:14:47 +02:00
|
|
|
MASTER_SITES= http://ruby.scripting.ca/postgres/archive/
|
2000-09-07 09:29:07 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-02-07 08:34:05 +01:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2000-08-08 18:08:31 +02:00
|
|
|
DIST_SUBDIR= ruby
|
1999-09-06 16:02:24 +02:00
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:37:40 +01:00
|
|
|
COMMENT= Ruby interface to PostgreSQL library
|
1999-09-06 16:02:24 +02:00
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= yes
|
2000-09-07 09:29:07 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2002-02-19 11:01:14 +01:00
|
|
|
CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
|
2000-09-07 09:29:07 +02:00
|
|
|
INSTALL_TARGET= site-install
|
1999-09-06 16:02:24 +02:00
|
|
|
|
2000-08-09 21:43:48 +02:00
|
|
|
DOCS_EN= ChangeLog README doc/postgres.html
|
2002-10-15 21:11:42 +02:00
|
|
|
DOCS_JA= README.ja doc/postgres.jp.html
|
2000-08-09 21:43:48 +02:00
|
|
|
|
1999-09-06 16:02:24 +02:00
|
|
|
post-install:
|
2000-08-12 22:09:41 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2000-08-09 21:43:48 +02:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-08-09 21:43:48 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
2000-08-09 21:43:48 +02:00
|
|
|
.endfor
|
1999-09-06 16:02:24 +02:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 10:02:17 +02:00
|
|
|
.include <bsd.port.mk>
|