aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-15 10:30:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-15 10:30:00 +0000
commita51be810ca9b5a73a6202439aca2cfff9c931955 (patch)
tree631b9b70bde7b25bbd81770807724fd897419de8 /textproc
parent2559c20546823104234ee4e2befbe023684c489c (diff)
downloadports-a51be810ca9b5a73a6202439aca2cfff9c931955.tar.gz
ports-a51be810ca9b5a73a6202439aca2cfff9c931955.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-SAX-Expat/Makefile14
-rw-r--r--textproc/p5-XML-SAX-Expat/pkg-deinstall4
-rw-r--r--textproc/p5-XML-SAX-Expat/pkg-install2
3 files changed, 5 insertions, 15 deletions
diff --git a/textproc/p5-XML-SAX-Expat/Makefile b/textproc/p5-XML-SAX-Expat/Makefile
index b41592cdbe07..2ac803adb7c9 100644
--- a/textproc/p5-XML-SAX-Expat/Makefile
+++ b/textproc/p5-XML-SAX-Expat/Makefile
@@ -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>
diff --git a/textproc/p5-XML-SAX-Expat/pkg-deinstall b/textproc/p5-XML-SAX-Expat/pkg-deinstall
index 3c1d9b9028bb..1fa978acb9ba 100644
--- a/textproc/p5-XML-SAX-Expat/pkg-deinstall
+++ b/textproc/p5-XML-SAX-Expat/pkg-deinstall
@@ -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
diff --git a/textproc/p5-XML-SAX-Expat/pkg-install b/textproc/p5-XML-SAX-Expat/pkg-install
index 7db177a0f411..f9ecbb1c1dad 100644
--- a/textproc/p5-XML-SAX-Expat/pkg-install
+++ b/textproc/p5-XML-SAX-Expat/pkg-install
@@ -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();'
;;