aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2013-03-27 21:56:59 +0800
committertota <tota@FreeBSD.org>2013-03-27 21:56:59 +0800
commit4e2e3080bfd33111cee46cc56320397439a2c877 (patch)
tree8c735dbea471ff194ce0db704b77e5ee03e23890 /www
parent2c794f54df0ba1b91ac73beb398e85b05d2678ca (diff)
downloadfreebsd-ports-gnome-4e2e3080bfd33111cee46cc56320397439a2c877.tar.gz
freebsd-ports-gnome-4e2e3080bfd33111cee46cc56320397439a2c877.tar.zst
freebsd-ports-gnome-4e2e3080bfd33111cee46cc56320397439a2c877.zip
- Fix version number in gem spec file generated from metadata.gz
to fix install error - Pet portlint(1) by moving LICENSE section earlier - Remove indefinite article from COMMENT - Trim Makefile header - Update WWW in pkg-descr Reported by: pointyhat (miwi) Approved by: miwi
Diffstat (limited to 'www')
-rw-r--r--www/rubygem-scrubyt/Makefile17
-rw-r--r--www/rubygem-scrubyt/pkg-descr2
2 files changed, 8 insertions, 11 deletions
diff --git a/www/rubygem-scrubyt/Makefile b/www/rubygem-scrubyt/Makefile
index 0428740a0d52..40f0bea1f01c 100644
--- a/www/rubygem-scrubyt/Makefile
+++ b/www/rubygem-scrubyt/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rubygem-scrubyt
-# Date created: 2007-03-13
-# Whom: TAKATSU Tomonari <tota@rtfm.jp>
-#
+# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
-#
PORTNAME= scrubyt
PORTVERSION= 0.4.11
@@ -11,17 +7,18 @@ CATEGORIES= www rubygems
MASTER_SITES= RF
MAINTAINER= tota@FreeBSD.org
-COMMENT= A powerful web scraping toolkit written in Ruby
-
-RUN_DEPENDS= rubygem-hpricot>=0.5:${PORTSDIR}/www/rubygem-hpricot \
- rubygem-mechanize>=0.6.3:${PORTSDIR}/www/rubygem-mechanize
+COMMENT= Powerful web scraping toolkit written in Ruby
LICENSE= GPLv2
-GEM_NAME= ${PORTNAME}-0.4.1
+RUN_DEPENDS= rubygem-hpricot>=0.5:${PORTSDIR}/www/rubygem-hpricot \
+ rubygem-mechanize>=0.6.3:${PORTSDIR}/www/rubygem-mechanize
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+post-patch:
+ ${REINPLACE_CMD} 's/0.4.1/${PORTVERSION}/' ${BUILD_WRKSRC}/${GEMFILES}spec
+
.include <bsd.port.mk>
diff --git a/www/rubygem-scrubyt/pkg-descr b/www/rubygem-scrubyt/pkg-descr
index 8d70ad58e109..7298ac4bafa8 100644
--- a/www/rubygem-scrubyt/pkg-descr
+++ b/www/rubygem-scrubyt/pkg-descr
@@ -1,4 +1,4 @@
scRUBYt! is a simple to learn and use,
yet powerful web scraping toolkit written in Ruby.
-WWW: http://www.scrubyt.org
+WWW: http://rubyforge.org/projects/scrubyt/