aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Sablotron/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-Sablotron/Makefile')
-rw-r--r--textproc/p5-XML-Sablotron/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile
index ae4fbf68389..344b4514c9d 100644
--- a/textproc/p5-XML-Sablotron/Makefile
+++ b/textproc/p5-XML-Sablotron/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= XML-Sablotron
-PORTVERSION= 0.61
-PORTREVISION= 1
+PORTVERSION= 0.65
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
@@ -20,7 +19,12 @@ LIB_DEPENDS= sablot.65:${PORTSDIR}/textproc/sablotron \
PERL_CONFIGURE= yes
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
- INC='-I${LOCALBASE}/include'
+ INC='-I${LOCALBASE}/include' \
+ EXPATLIBPATH='${LOCALBASE}/lib' \
+ EXPATINCPATH='${LOCALBASE}/include' \
+ SABLOTLIBPATH='${LOCALBASE}/lib' \
+ SABLOTINCPATH='${LOCALBASE}/include'
+
post-patch:
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/Sablotron/Makefile.PL