aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-sqlite3/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-02-08 09:53:42 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-02-08 09:53:42 +0000
commit3169b10ff732e2ecd3f3f9c85ed17d29e9840a39 (patch)
tree4c51cc6c23e95ce2c9aea972833bdec836005d80 /databases/rubygem-sqlite3/Makefile
parentb74722429593a10049aad43ec2530ecb51793cdc (diff)
Notes
Diffstat (limited to 'databases/rubygem-sqlite3/Makefile')
-rw-r--r--databases/rubygem-sqlite3/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile
index 4176a611117a..8cb1c21c60cf 100644
--- a/databases/rubygem-sqlite3/Makefile
+++ b/databases/rubygem-sqlite3/Makefile
@@ -6,13 +6,11 @@
#
PORTNAME= sqlite3
-PORTVERSION= 1.1.0
-CATEGORIES= databases ruby
+PORTVERSION= 1.2.1
+CATEGORIES= databases rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= sqlite-ruby
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
-DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= Ruby interface to the SQLite DB engine version 3
@@ -20,20 +18,8 @@ COMMENT= Ruby interface to the SQLite DB engine version 3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-USE_BZIP2= yes
-USE_RUBY= yes
-USE_RUBY_SETUP= yes
+GEM_NAME= ${DISTNAME}
-CONFIGURE_ARGS= -- --with-sqlite3-dir="${LOCALBASE}"
-
-DOCS= ChangeLog LICENSE README api/* doc/*
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>