aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-gd/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-11-19 20:35:04 +0800
committerdinoex <dinoex@FreeBSD.org>2011-11-19 20:35:04 +0800
commit7a31ab9e7d3a8d72b821274abe09ca7bb2bf5794 (patch)
treed82144ab7f0781cbfe34cc02ea32ef7c6314903b /graphics/ruby-gd/Makefile
parentbd2aba6af834ae225dad25cae74439a20dd9da32 (diff)
downloadfreebsd-ports-gnome-7a31ab9e7d3a8d72b821274abe09ca7bb2bf5794.tar.gz
freebsd-ports-gnome-7a31ab9e7d3a8d72b821274abe09ca7bb2bf5794.tar.zst
freebsd-ports-gnome-7a31ab9e7d3a8d72b821274abe09ca7bb2bf5794.zip
- update to 0.8.0
- fix build with ruby19 - drop obsolte option WITH_GD1 - add homepages Feature safe: yes Obtained from: Mark Somerville
Diffstat (limited to 'graphics/ruby-gd/Makefile')
-rw-r--r--graphics/ruby-gd/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index ca5428f111fc..7dc206527271 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -5,14 +5,13 @@
# $FreeBSD$
#
-PORTNAME= GD
-PORTVERSION= 0.7.4
-PORTREVISION= 9
+PORTNAME= gd
+PORTVERSION= 0.8.0
CATEGORIES= graphics ruby
MASTER_SITES= http://www.daifukuya.com/archive/kagemai/lib/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
PKGNAMESUFFIX= ${PKGNAMESUFFIX_XPM}
-DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DISTNAME= ruby-GD-0.7.4
DIST_SUBDIR= ruby
MAINTAINER= dinoex@FreeBSD.org
@@ -36,10 +35,6 @@ LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
.include <bsd.port.pre.mk>
-.if ${RUBY_VER} == 1.9
-BROKEN= does not work with ruby 1.9
-.endif
-
# Hmm, GREP and TRUE seem to be defined in the bsd.port.post.mk stage.
.if exists(${LOCALBASE}/bin/gd2topng)
WITH_X11_CHECK!= ldd ${LOCALBASE}/bin/gd2topng | grep -w 'libX11\.so' || true
@@ -68,11 +63,7 @@ DOCS_JA= readme.ja \
post-patch:
${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${LOCALBASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb
-.if defined(WITH_GD1)
- ${RUBY} -i -pe 'sub %r:%%GD%%:, "gd1"' ${WRKSRC}/extconf.rb
-.else
${RUBY} -i -pe 'sub %r:%%GD%%:, "gd"' ${WRKSRC}/extconf.rb
-.endif
post-install:
.if !defined(NOPORTEXAMPLES)