1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/textproc/p5-XML-LibXML/pkg-install
Philip M. Gollucci 23393d29fb - Convert package scripts to sh
PR:             ports/157207
Submitted by:   bapt
Approved by:    maintainer timeout (skv ; 263 days)
Changes:        http://search.cpan.org/dist/XML-LibXML/Changes
2012-02-08 19:51:08 +00:00

8 lines
255 B
Bash

#!/bin/sh
if [ "$2" = "XPOST-INSTALL" ]; then
perl -MXML::SAX -e "XML::SAX->add_parser('XML::LibXML::SAX'.\$_)->save_parsers()"
elif [ "X$2" = "XDEINSTALL" ]; then
perl -MXML::SAX -e "XML::SAX->remove_parser('XML::LibXML::SAX'.\$_)->save_parsers()"
fi