svn commit: r302860 - head/textproc/p5-XML-SAX-ExpatXS
Chris Rees
crees at FreeBSD.org
Tue Aug 21 12:55:19 UTC 2012
Author: crees
Date: Tue Aug 21 12:55:18 2012
New Revision: 302860
URL: http://svn.freebsd.org/changeset/ports/302860
Log:
Fix with pkgng-- !sh scripts are forbidden as $PKG(DE)?INSTALL
If you are using pkgng and can't deinstall this package, reinstall using:
make -DFORCE_PKG_REGISTER -C /usr/ports/textproc/p5-XML-SAX-ExpatXS install
Fix by: swills
Modified:
head/textproc/p5-XML-SAX-ExpatXS/Makefile
head/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall
head/textproc/p5-XML-SAX-ExpatXS/pkg-install
Modified: head/textproc/p5-XML-SAX-ExpatXS/Makefile
==============================================================================
--- head/textproc/p5-XML-SAX-ExpatXS/Makefile Tue Aug 21 12:51:04 2012 (r302859)
+++ head/textproc/p5-XML-SAX-ExpatXS/Makefile Tue Aug 21 12:55:18 2012 (r302860)
@@ -7,6 +7,7 @@
PORTNAME= XML-SAX-ExpatXS
PORTVERSION= 1.32
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
Modified: head/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall
==============================================================================
--- head/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall Tue Aug 21 12:51:04 2012 (r302859)
+++ head/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall Tue Aug 21 12:55:18 2012 (r302860)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl
-if('DEINSTALL' eq $ARGV[1]) {
- eval "use XML::SAX;";
- die $@ if $@;
- XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers();
-}
+#!/bin/sh
+
+case $1 in
+ POST-DEINSTALL)
+ perl -MXML::SAX -e 'XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers();'
+ ;;
+esac
Modified: head/textproc/p5-XML-SAX-ExpatXS/pkg-install
==============================================================================
--- head/textproc/p5-XML-SAX-ExpatXS/pkg-install Tue Aug 21 12:51:04 2012 (r302859)
+++ head/textproc/p5-XML-SAX-ExpatXS/pkg-install Tue Aug 21 12:55:18 2012 (r302860)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl
-if('POST-INSTALL' eq $ARGV[1]) {
- eval "use XML::SAX;";
- die $@ if $@;
- XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers();
-}
+#!/bin/sh
+
+case $1 in
+ POST-INSTALL)
+ perl -MXML::SAX -e 'XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers();'
+ ;;
+esac
More information about the svn-ports-all
mailing list