aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Sablotron
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-04-29 18:59:47 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-04-29 18:59:47 +0000
commitf1528cf42491f334f27c16f795de260a538444e3 (patch)
tree606ae5f6b411f03b74c87100c882e0ace2150986 /textproc/p5-XML-Sablotron
parent18234f37a8184d0dfd1fc7ec681861e34a353385 (diff)
downloadports-f1528cf42491f334f27c16f795de260a538444e3.tar.gz
ports-f1528cf42491f334f27c16f795de260a538444e3.zip
Notes
Diffstat (limited to 'textproc/p5-XML-Sablotron')
-rw-r--r--textproc/p5-XML-Sablotron/Makefile7
-rw-r--r--textproc/p5-XML-Sablotron/distinfo2
-rw-r--r--textproc/p5-XML-Sablotron/files/patch-Makefile.PL41
3 files changed, 28 insertions, 22 deletions
diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile
index bdca850eec7d..0f4ea7544da1 100644
--- a/textproc/p5-XML-Sablotron/Makefile
+++ b/textproc/p5-XML-Sablotron/Makefile
@@ -6,16 +6,19 @@
#
PORTNAME= XML-Sablotron
-PORTVERSION= 0.51
+PORTVERSION= 0.52
CATEGORIES= textproc perl5
MASTER_SITES= http://download.gingerall.cz/sablot/
PKGNAMEPREFIX= p5-
MAINTAINER= skv@protey.ru
-LIB_DEPENDS= sablot.51:${PORTSDIR}/textproc/sablotron
+LIB_DEPENDS= sablot.52:${PORTSDIR}/textproc/sablotron \
+ iconv.2:${PORTSDIR}/converters/iconv
PERL_CONFIGURE= yes
+CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
+ INC='-I${LOCALBASE}/include'
MAN3= XML::Sablotron.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/textproc/p5-XML-Sablotron/distinfo b/textproc/p5-XML-Sablotron/distinfo
index b312e4d50a54..1fffe0ad85f5 100644
--- a/textproc/p5-XML-Sablotron/distinfo
+++ b/textproc/p5-XML-Sablotron/distinfo
@@ -1 +1 @@
-MD5 (XML-Sablotron-0.51.tar.gz) = 98b75826c41bc35346b4585ae2d133f5
+MD5 (XML-Sablotron-0.52.tar.gz) = c5ae053e61b6b61908d2f67dd7759923
diff --git a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL
index 8aaf1b18fe1e..2d4d06a6f324 100644
--- a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL
+++ b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL
@@ -1,19 +1,22 @@
---- Makefile.PL.orig Tue Jan 30 22:55:23 2001
-+++ Makefile.PL Fri Feb 23 10:50:59 2001
-@@ -61,6 +61,7 @@
- $config{LIBS} .= ' -lexpat';
- }
-
-+=item
- have_library('expat', 'main', '') || die <<DEATH;
- You do not appear to have libexpat in the library search path.
- Either install expat from http://expat.sourceforge.net/ or
-@@ -76,7 +77,7 @@
- \$ $^X Makefile.PL LIBS='-L/path/to/sablot/lib -lexpat -lsablot'
-
- DEATH
--
-+=cut
-
- WriteMakefile(
- NAME => 'XML::Sablotron',
+*** Makefile.PL.orig Sun Apr 29 14:54:12 2001
+--- Makefile.PL Sun Apr 29 14:55:07 2001
+***************
+*** 45,50 ****
+--- 45,51 ----
+
+ my $DEBUG = delete $config{DEBUG};
+
++ =item
+ if (delete $config{CHARLIE}) {
+ $config{LIBS} = "-L$ENV{CHARLIE_HOME}/lib -lsablot -lexpat";
+ $config{INC} = '-I$(CHARLIE_HOME)/include';
+***************
+*** 96,101 ****
+--- 97,103 ----
+ \$ $^X Makefile.PL LIBS='-L/path/to/sablot/lib -lexpat -lsablot'
+
+ DEATH
++ =cut
+
+ WriteMakefile(
+ NAME => 'XML::Sablotron',