aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-SimpleObject
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-09-02 20:50:22 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-09-02 20:50:22 +0800
commit55de5dc598830bfa8fd3c249053200c81e168ef9 (patch)
tree5105f6dfeeeec5d6ec1b16dcf181f4ef240deef2 /textproc/p5-XML-SimpleObject
parentca4135768389401405216d127c39fcc47d07c8da (diff)
downloadfreebsd-ports-gnome-55de5dc598830bfa8fd3c249053200c81e168ef9.tar.gz
freebsd-ports-gnome-55de5dc598830bfa8fd3c249053200c81e168ef9.tar.zst
freebsd-ports-gnome-55de5dc598830bfa8fd3c249053200c81e168ef9.zip
PR: 56163
Submitted by: Lars Thegler <lars@thegler.dk> Fix bento build error (base on PR/56163), also add WWW and fix plist.
Diffstat (limited to 'textproc/p5-XML-SimpleObject')
-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