aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-05-28 00:21:49 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-05-28 00:21:49 +0800
commit287296b2d88b69c9be08ff5e56f1f6c4dd24f495 (patch)
treef057d93de754698dfddee15a62415b54249387af /graphics
parent69343b41980a336b99578d0c715056a62b4de148 (diff)
downloadfreebsd-ports-gnome-287296b2d88b69c9be08ff5e56f1f6c4dd24f495.tar.gz
freebsd-ports-gnome-287296b2d88b69c9be08ff5e56f1f6c4dd24f495.tar.zst
freebsd-ports-gnome-287296b2d88b69c9be08ff5e56f1f6c4dd24f495.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
Diffstat (limited to 'graphics')
-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/