aboutsummaryrefslogtreecommitdiff
path: root/print/ruby-pdflib/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-05 18:38:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-05 18:38:32 +0000
commit96092fc0b1d2c662b0184d80947d59612a64be8b (patch)
tree0dac4db447be8d93394b74d9e7c765fa4cf7e716 /print/ruby-pdflib/Makefile
parent45b7b3fa271caa882612a02d03be632a651f07fa (diff)
downloadports-96092fc0b1d2c662b0184d80947d59612a64be8b.tar.gz
ports-96092fc0b1d2c662b0184d80947d59612a64be8b.zip
Notes
Diffstat (limited to 'print/ruby-pdflib/Makefile')
-rw-r--r--print/ruby-pdflib/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/print/ruby-pdflib/Makefile b/print/ruby-pdflib/Makefile
index efaaf21328b5..1e23511507cf 100644
--- a/print/ruby-pdflib/Makefile
+++ b/print/ruby-pdflib/Makefile
@@ -6,20 +6,23 @@
#
PORTNAME= pdflib
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.71
CATEGORIES= print ruby
-MASTER_SITES= http://www-nh.scphys.kyoto-u.ac.jp/~thitoshi/ruby/
+MASTER_SITES= http://www-nh.scphys.kyoto-u.ac.jp/~thitoshi/ruby/pdflib/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-LIB_DEPENDS= pdf.3:${PORTSDIR}/print/pdflib3 \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
+.if defined(WITH_PDFLIB4)
+LIB_DEPENDS+= pdf.4:${PORTSDIR}/print/pdflib
+.else
+LIB_DEPENDS+= pdf.3:${PORTSDIR}/print/pdflib3
+.endif
USE_RUBY= yes
USE_RUBY_EXTCONF= yes