aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-09-02 12:50:22 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-09-02 12:50:22 +0000
commit1e18f19e081f8dbaf5f02c9b1aab90229735b485 (patch)
treece5df3d7fbd51cbd256de75c3abdbcbce47939e7
parentff46f27efb67f9c9c5fd220b514bb0a7c8b72164 (diff)
downloadports-1e18f19e081f8dbaf5f02c9b1aab90229735b485.tar.gz
ports-1e18f19e081f8dbaf5f02c9b1aab90229735b485.zip
PR: 56163
Submitted by: Lars Thegler <lars@thegler.dk> Fix bento build error (base on PR/56163), also add WWW and fix plist.
Notes
Notes: svn path=/head/; revision=88341
-rw-r--r--textproc/p5-XML-SimpleObject/Makefile8
-rw-r--r--textproc/p5-XML-SimpleObject/pkg-descr2
-rw-r--r--textproc/p5-XML-SimpleObject/pkg-plist4
3 files changed, 10 insertions, 4 deletions
diff --git a/textproc/p5-XML-SimpleObject/Makefile b/textproc/p5-XML-SimpleObject/Makefile
index 849c49ef46d7..2b592142c1c9 100644
--- a/textproc/p5-XML-SimpleObject/Makefile
+++ b/textproc/p5-XML-SimpleObject/Makefile
@@ -7,19 +7,21 @@
PORTNAME= XML-SimpleObject
PORTVERSION= 0.53
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
-WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
-
MAINTAINER= ports@FreeBSD.org
COMMENT= API for accessing the structure of an XML document
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+WRKSRC?= ${WRKDIR}/${PORTNAME}${PORTVERSION}
PERL_CONFIGURE= YES
+CONFIGURE_ARGS+= DIR='Enhanced'
MAN3= XML::SimpleObject.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/textproc/p5-XML-SimpleObject/pkg-descr b/textproc/p5-XML-SimpleObject/pkg-descr
index f32e20d96463..e994aefde904 100644
--- a/textproc/p5-XML-SimpleObject/pkg-descr
+++ b/textproc/p5-XML-SimpleObject/pkg-descr
@@ -3,3 +3,5 @@ a tree, and gives simple methods for accessing the structure of an XML
document. It is very lightweight, but provides the simplest access to an XML
document possible. It does not subclass XML::Parser; rather, it is meant to
serve purely as an object struct for an outgoing tree.
+
+WWW: http://search.cpan.org/perldoc?XML::SimpleObject
diff --git a/textproc/p5-XML-SimpleObject/pkg-plist b/textproc/p5-XML-SimpleObject/pkg-plist
index f8905fdb4b8c..f48ca8526745 100644
--- a/textproc/p5-XML-SimpleObject/pkg-plist
+++ b/textproc/p5-XML-SimpleObject/pkg-plist
@@ -1,6 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SimpleObject/.packlist
%%SITE_PERL%%/XML/SimpleObject.pm
+%%SITE_PERL%%/XML/SimpleObject/Enhanced.pm
%%SITE_PERL%%/XML/ex.pl
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SimpleObject
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SimpleObject 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML/SimpleObject 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true