aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-gd2/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-09 23:49:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-09 23:49:32 +0000
commitc0cba95d1a6eb6970c2af8da744435ec152df886 (patch)
tree58b3bbff3f9401ff9d0cf38ab13b14e8e9b7fb20 /graphics/rubygem-gd2/Makefile
parentba42225b2fbbc0ce91273c8de1a93b28ca91cb3a (diff)
downloadports-c0cba95d1a6eb6970c2af8da744435ec152df886.tar.gz
ports-c0cba95d1a6eb6970c2af8da744435ec152df886.zip
Notes
Diffstat (limited to 'graphics/rubygem-gd2/Makefile')
-rw-r--r--graphics/rubygem-gd2/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/rubygem-gd2/Makefile b/graphics/rubygem-gd2/Makefile
new file mode 100644
index 000000000000..5b3762e67784
--- /dev/null
+++ b/graphics/rubygem-gd2/Makefile
@@ -0,0 +1,25 @@
+# Ports collection makefile for: rubygem-gd2
+# Date created: 07 June 2007
+# Whom: Alexander Logvinov <ports@logvinov.com>
+#
+# $FreeBSD$
+
+PORTNAME= gd2
+PORTVERSION= 1.1.1
+CATEGORIES= graphics rubygems
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@logvinov.com
+COMMENT= Ruby binding for Thomas Boutell's gd 2.x graphics library
+
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
+
+REINPLACE_ARGS= -i ""
+
+post-install:
+ @${REINPLACE_CMD} 's|so.2|so.4|' ${PREFIX}/${GEM_LIB_DIR}/lib/gd2.rb
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>