svn commit: r387627 - head/graphics/rubygem-gd2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed May 27 16:21:50 UTC 2015


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 at 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/


More information about the svn-ports-all mailing list