Date: Fri, 15 Mar 2013 10:30:00 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314288 - head/textproc/p5-XML-SAX-Expat Message-ID: <201303151030.r2FAU0XM071397@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Mar 15 10:30:00 2013 New Revision: 314288 URL: http://svnweb.freebsd.org/changeset/ports/314288 Log: Remove useless pre-install/post-install targets (upstream sources does it already) Fix pkg-install/pkg-deinstall scripts Modified: head/textproc/p5-XML-SAX-Expat/Makefile head/textproc/p5-XML-SAX-Expat/pkg-deinstall head/textproc/p5-XML-SAX-Expat/pkg-install Modified: head/textproc/p5-XML-SAX-Expat/Makefile ============================================================================== --- head/textproc/p5-XML-SAX-Expat/Makefile Fri Mar 15 09:56:16 2013 (r314287) +++ head/textproc/p5-XML-SAX-Expat/Makefile Fri Mar 15 10:30:00 2013 (r314288) @@ -1,13 +1,9 @@ -# New ports collection makefile for: XML::SAX::Expat -# Date created: 19 Nov 2001 -# Whom: Sergey Skvortsov <skv@protey.ru> -# +# Created by: Sergey Skvortsov <skv@protey.ru> # $FreeBSD$ -# PORTNAME= XML-SAX-Expat PORTVERSION= 0.40 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -27,10 +23,4 @@ MAN3= XML::SAX::Expat.3 post-patch: @${PERL} -pi -e "s/(?<=XML::SAX::Base => ')1\.00(?=')/0.25/;" ${WRKSRC}/Makefile.PL -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${PERL} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -post-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${PERL} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - .include <bsd.port.mk> Modified: head/textproc/p5-XML-SAX-Expat/pkg-deinstall ============================================================================== --- head/textproc/p5-XML-SAX-Expat/pkg-deinstall Fri Mar 15 09:56:16 2013 (r314287) +++ head/textproc/p5-XML-SAX-Expat/pkg-deinstall Fri Mar 15 10:30:00 2013 (r314288) @@ -1,7 +1,7 @@ #!/bin/sh -case $1 in - POST-DEINSTALL) +case $2 in + DEINSTALL) perl -MXML::SAX -e 'XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers();' ;; esac Modified: head/textproc/p5-XML-SAX-Expat/pkg-install ============================================================================== --- head/textproc/p5-XML-SAX-Expat/pkg-install Fri Mar 15 09:56:16 2013 (r314287) +++ head/textproc/p5-XML-SAX-Expat/pkg-install Fri Mar 15 10:30:00 2013 (r314288) @@ -1,6 +1,6 @@ #!/bin/sh -case $1 in +case $2 in POST-INSTALL) perl -MXML::SAX -e 'XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers();' ;;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303151030.r2FAU0XM071397>