Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 16:21:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387627 - head/graphics/rubygem-gd2
Message-ID:  <201505271621.t4RGLnes083255@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed May 27 16:21:49 2015
New Revision: 387627
URL: https://svnweb.freebsd.org/changeset/ports/387627

Log:
  - 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

Modified:
  head/graphics/rubygem-gd2/Makefile
  head/graphics/rubygem-gd2/pkg-descr

Modified: head/graphics/rubygem-gd2/Makefile
==============================================================================
--- head/graphics/rubygem-gd2/Makefile	Wed May 27 16:21:45 2015	(r387626)
+++ head/graphics/rubygem-gd2/Makefile	Wed May 27 16:21:49 2015	(r387627)
@@ -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>

Modified: head/graphics/rubygem-gd2/pkg-descr
==============================================================================
--- head/graphics/rubygem-gd2/pkg-descr	Wed May 27 16:21:45 2015	(r387626)
+++ head/graphics/rubygem-gd2/pkg-descr	Wed May 27 16:21:49 2015	(r387627)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505271621.t4RGLnes083255>