aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rubygem-sqlite3/Makefile
blob: e15082239aa751b039444bf591252249689abdcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    sqlite-ruby
# Date created:     26 June 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   sqlite
PORTVERSION=    1.0
CATEGORIES= databases ruby
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-ruby
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    Ruby interface to the SQLite DB engine

LIB_DEPENDS=    sqlite.2:${.CURDIR}/../sqlite

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>