1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/databases/ruby-sybct/Makefile
Cheng-Lung Sung 4e967735b2 This module is the Sybase extensions to Ruby.
WWW: http://raa.ruby-lang.org/project/sybase-ctlib/

PR:		ports/127734
Submitted by:	Alexander Logvinov <ports at logvinov.com>
2008-09-30 03:09:33 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: ruby-sybct
# Date created: 10 September 2008
# Whom: Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#
PORTNAME= sybct
PORTVERSION= 0.2.11
CATEGORIES= databases ruby
MASTER_SITES= http://enjoy1.bb-east.ne.jp/~tetsu/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@logvinov.com
COMMENT= Ruby module for accessing Sybase databases
LIB_DEPENDS= tds.5:${PORTSDIR}/databases/freetds
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_ICONV= yes
post-install:
@${MKDIR} ${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/sy*.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/README-ja.txt ${RUBY_MODDOCDIR}/ja/
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${RUBY_MODDOCDIR}/ja/
.endif
.include <bsd.port.mk>