aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-gd2
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-05-27 16:21:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-05-27 16:21:49 +0000
commit31705dc4b0f261891e6fc835fd33499a5e5d3386 (patch)
treef057d93de754698dfddee15a62415b54249387af /graphics/rubygem-gd2
parentc15f9a59d3d37a8c4a43180e015ce7c0089e27f9 (diff)
downloadports-31705dc4b0f261891e6fc835fd33499a5e5d3386.tar.gz
ports-31705dc4b0f261891e6fc835fd33499a5e5d3386.zip
- Add LICENSE
- Update COMMENT - Patch source file in post-patch: and match graphics/gd shlib version - Remove REINPLACE_ARGS - Update WWW - Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=387627
Diffstat (limited to 'graphics/rubygem-gd2')
-rw-r--r--graphics/rubygem-gd2/Makefile12
-rw-r--r--graphics/rubygem-gd2/pkg-descr2
2 files changed, 7 insertions, 7 deletions
diff --git a/graphics/rubygem-gd2/Makefile b/graphics/rubygem-gd2/Makefile
index 2dd732b67c9b..619846a64883 100644
--- a/graphics/rubygem-gd2/Makefile
+++ b/graphics/rubygem-gd2/Makefile
@@ -3,22 +3,22 @@
PORTNAME= gd2
PORTVERSION= 1.1.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
-COMMENT= Ruby binding for Thomas Boutell's gd 2.x graphics library #'
+COMMENT= Ruby interface to gd 2 library
-LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+LICENSE= GPLv2
-REINPLACE_ARGS= -i ""
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-post-install:
- @${REINPLACE_CMD} 's|so.2|so.4|' ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/gd2.rb
+post-patch:
+ @${REINPLACE_CMD} 's|libgd.so.2|libgd.so.5|' ${WRKSRC}/lib/gd2.rb
.include <bsd.port.mk>
diff --git a/graphics/rubygem-gd2/pkg-descr b/graphics/rubygem-gd2/pkg-descr
index ec10e777bb06..21315766503f 100644
--- a/graphics/rubygem-gd2/pkg-descr
+++ b/graphics/rubygem-gd2/pkg-descr
@@ -1,3 +1,3 @@
Ruby binding for Thomas Boutell's gd 2.x graphics library
-WWW: http://rubygems.org/gems/gd2/
+WWW: http://gd2.rubyforge.org/