svn commit: r314288 - head/textproc/p5-XML-SAX-Expat
Baptiste Daroussin
bapt at FreeBSD.org
Fri Mar 15 10:30:01 UTC 2013
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 at protey.ru>
-#
+# Created by: Sergey Skvortsov <skv at 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();'
;;
More information about the svn-ports-head
mailing list