aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-Driver-HTML/Makefile5
-rw-r--r--textproc/p5-XML-Driver-HTML/pkg-plist9
2 files changed, 9 insertions, 5 deletions
diff --git a/textproc/p5-XML-Driver-HTML/Makefile b/textproc/p5-XML-Driver-HTML/Makefile
index f2555e4c606f..4e3e9d8f1a90 100644
--- a/textproc/p5-XML-Driver-HTML/Makefile
+++ b/textproc/p5-XML-Driver-HTML/Makefile
@@ -21,11 +21,6 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-PLIST_FILES= bin/html2xhtml \
- ${SITE_PERL_REL}/XML/Driver/HTML.pm \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/XML/Driver/HTML/.packlist
-PLIST_DIRS+= ${SITE_PERL_REL}/XML/Driver \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/XML/Driver/HTML
MAN1= html2xhtml.1
MAN3= XML::Driver::HTML.3
diff --git a/textproc/p5-XML-Driver-HTML/pkg-plist b/textproc/p5-XML-Driver-HTML/pkg-plist
new file mode 100644
index 000000000000..f43da6cc1ddf
--- /dev/null
+++ b/textproc/p5-XML-Driver-HTML/pkg-plist
@@ -0,0 +1,9 @@
+bin/html2xhtml
+%%SITE_PERL%%/XML/Driver/HTML.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Driver/HTML/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Driver/HTML
+@unexec rmdir %D/%%SITE_PERL%%/XML/Driver 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Driver/HTML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Driver 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true