aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/