freebsd-ports/databases/ruby-postgres/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
1999-09-06 16:12:27 +02:00
# $FreeBSD$
#
PORTNAME= postgres
2003-01-06 08:23:03 +01:00
PORTVERSION= 0.7.1
PORTREVISION= 2
CATEGORIES= databases ruby
2002-01-10 21:41:10 +01:00
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
2001-02-07 08:34:05 +01:00
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
2003-02-18 05:37:40 +01:00
COMMENT= Ruby interface to PostgreSQL library
USE_PGSQL= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/postgres.html
2002-10-15 21:11:42 +02:00
DOCS_JA= README.ja doc/postgres.jp.html
post-install:
.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
.for f in ${DOCS_EN}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>