freebsd-ports/databases/ruby-postgres/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

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
PORTNAME= postgres
PORTVERSION= 0.7.9.2008.01.28
PORTREVISION= 1
CATEGORIES= databases ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ruby-pg
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Ruby interface to PostgreSQL library
USE_PGSQL= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/ext
CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/postgres.html
DOCS_JA= README.ja doc/postgres.jp.html
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../sample/*.rb ${RUBY_MODEXAMPLESDIR}/
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>