aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-gd
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-08-19 00:15:10 +0800
committernork <nork@FreeBSD.org>2003-08-19 00:15:10 +0800
commit3910103c542a314796c93844cf1fa04e6fea15bc (patch)
tree01df0dc64157e87fb107c31cc4d8212eda568daa /graphics/ruby-gd
parentd59d97ed0557f98d80920138b373a4b2a99f47eb (diff)
downloadfreebsd-ports-gnome-3910103c542a314796c93844cf1fa04e6fea15bc.tar.gz
freebsd-ports-gnome-3910103c542a314796c93844cf1fa04e6fea15bc.tar.zst
freebsd-ports-gnome-3910103c542a314796c93844cf1fa04e6fea15bc.zip
o Main modification
graphics/gd(based on 1.8.4) -> graphics/gd1 graphics/gd2(based on 2.0.15) -> graphics/gd graphics/p5-GD(based on 1.41) -> graphics/p5-GD1 graphics/p5-GD2(based on 2.07) -> graphics/p5-GD japanese/gd -> japanese/gd1 japanese/gd2 -> japanese/gd o Include some feature WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o Fix build error [1] PR: ports/54540 Submitted by: Ports Fury Approved by: maintainer (blanket) Reported by: bento via kris [1]
Diffstat (limited to 'graphics/ruby-gd')
-rw-r--r--graphics/ruby-gd/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 6201076116e2..ea791d55c59a 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= GD
PORTVERSION= 0.7.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics ruby
MASTER_SITES= http://www.acc.ne.jp/~tam/GD/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -30,13 +30,13 @@ CONFIGURE_ARGS= --with-gd-lib="${LOCALBASE}/lib" \
--with-freetype
INSTALL_TARGET= site-install
-.if defined(WITH_GD2)
+.if defined(WITH_GD1)
+CONFIGURE_ARGS+= --with-gd-include="${LOCALBASE}/include/gd"
+LIB_DEPENDS+= gd1.2:${PORTSDIR}/graphics/gd1
+.else
CONFIGURE_ARGS+= ----enable-gd2_0 \
- --with-gd-include="${LOCALBASE}/include"
+ --with-gd-include="${LOCALBASE}/include"
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
-.else
-CONFIGURE_ARGS+= --with-gd-include="${LOCALBASE}/include/gd"
-LIB_DEPENDS+= gd1.2:${PORTSDIR}/graphics/gd
.endif
.include <bsd.port.pre.mk>
@@ -70,10 +70,10 @@ DOCS_JA= readme.ja \
post-patch:
${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${X11BASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb
-.if defined(WITH_GD2)
- ${RUBY} -i -pe 'sub %r:%%GD%%:, "gd"' ${WRKSRC}/extconf.rb
-.else
+.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: