From owner-svn-ports-all@FreeBSD.ORG Fri Mar 15 10:30:01 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6E8B8759; Fri, 15 Mar 2013 10:30:01 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4918215F; Fri, 15 Mar 2013 10:30:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2FAU1cA071413; Fri, 15 Mar 2013 10:30:01 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2FAU0XM071397; Fri, 15 Mar 2013 10:30:00 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201303151030.r2FAU0XM071397@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 15 Mar 2013 10:30:00 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 10:30:01 -0000 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 -# +# Created by: Sergey Skvortsov # $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 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();' ;;