aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DBMS
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-DBMS')
-rw-r--r--textproc/p5-XML-DBMS/Makefile12
-rw-r--r--textproc/p5-XML-DBMS/pkg-plist10
2 files changed, 10 insertions, 12 deletions
diff --git a/textproc/p5-XML-DBMS/Makefile b/textproc/p5-XML-DBMS/Makefile
index 564c3fd7e862..5c1a474f44c4 100644
--- a/textproc/p5-XML-DBMS/Makefile
+++ b/textproc/p5-XML-DBMS/Makefile
@@ -16,20 +16,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= skv@FreeBSD.org
COMMENT= Perl port of Java package XML-DBMS v1.0
-BROKEN= "Does not compile"
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Parser/PerlSAX.pm:${PORTSDIR}/textproc/p5-libxml \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+BUILD_DEPENDS= ${SITE_PERL}/XML/Parser/PerlSAX.pm:${PORTSDIR}/textproc/p5-libxml \
+ ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
-PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
WRKSRC= ${WRKDIR}/${PORTNAME}
PERL_CONFIGURE= yes
post-extract:
@${FIND} ${WRKSRC} -type f | \
- xargs ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
+ ${XARGS} ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
post-install:
.ifndef(NOPORTDOCS)
diff --git a/textproc/p5-XML-DBMS/pkg-plist b/textproc/p5-XML-DBMS/pkg-plist
index ec14ed1add84..7211b99d2c91 100644
--- a/textproc/p5-XML-DBMS/pkg-plist
+++ b/textproc/p5-XML-DBMS/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/XML/XMLtoDBMS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS/.packlist
+%%SITE_PERL%%/XML/XMLtoDBMS.pm
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.map
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.sql
@@ -7,6 +7,6 @@ lib/perl5/site_perl/%%PERL_VER%%/XML/XMLtoDBMS.pm
%%PORTDOCS%%%%EXAMPLESDIR%%/sales1.map
%%PORTDOCS%%%%EXAMPLESDIR%%/sales2.map
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true