[Midnightbsd-cvs] mports: mports/textproc: add for validator

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 10 14:37:30 EDT 2008


Log Message:
-----------
add for validator

Modified Files:
--------------
    mports/textproc:
        Makefile (r1.106 -> r1.107)

Added Files:
-----------
    mports/textproc/p5-SGML-Parser-OpenSP:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/textproc/p5-SGML-Parser-OpenSP/files:
        patch-Makefile.PL (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/textproc/Makefile,v
retrieving revision 1.106
retrieving revision 1.107
diff -L textproc/Makefile -L textproc/Makefile -u -r1.106 -r1.107
--- textproc/Makefile
+++ textproc/Makefile
@@ -75,6 +75,7 @@
     SUBDIR += p5-Pod-POM
     SUBDIR += p5-Pod-Parser
     SUBDIR += p5-Pod-Simple
+    SUBDIR += p5-SGML-Parser-OpenSP
     SUBDIR += p5-SGMLSpm
     SUBDIR += p5-String-Format
     SUBDIR += p5-Text-Autoformat
--- /dev/null
+++ textproc/p5-SGML-Parser-OpenSP/pkg-descr
@@ -0,0 +1,5 @@
+SGML::Parser::OpenSP is an interface to the OpenSP parser.  It allows for
+Perl scripts to parse an SGML document (including HTML) using the OpenSP
+parser.
+
+WWW: http://search.cpan.org/dist/SGML-Parser-OpenSP/
--- /dev/null
+++ textproc/p5-SGML-Parser-OpenSP/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/Parser/OpenSP/OpenSP.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/Parser/OpenSP/OpenSP.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/SGML/Parser/OpenSP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SGML/Parser/OpenSP/Tools.pm
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/Parser/OpenSP
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/Parser
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/SGML/Parser/OpenSP
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/SGML/Parser
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/SGML
--- /dev/null
+++ textproc/p5-SGML-Parser-OpenSP/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for:	p5-SGML-Parser-OpenSP
+# Date created:				27 August 2007
+# Whom:					Naram Qashat <cyberbotx at cyberbotx.com>
+#
+# $MidnightBSD: mports/textproc/p5-SGML-Parser-OpenSP/Makefile,v 1.1 2008/10/10 18:37:28 laffer1 Exp $
+# $FreeBSD: ports/textproc/p5-SGML-Parser-OpenSP/Makefile,v 1.5 2008/07/04 02:18:55 beech Exp $
+#
+
+PORTNAME=	SGML-Parser-OpenSP
+PORTVERSION=	0.994
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Parse SGML documents using OpenSP
+LICENSE=	perl
+
+BUILD_DEPENDS=	onsgmls:${PORTSDIR}/textproc/opensp \
+		p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp \
+		p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
+RUN_DEPENDS=	${BUILD_DEPENDS}
+
+USE_DOS2UNIX=	yes
+PERL_CONFIGURE=	yes
+CC=		${CXX}
+CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include -I${LOCALBASE}/lib"
+
+MAN3=		SGML::Parser::OpenSP.3 SGML::Parser::OpenSP::Tools.3
+
+.include <bsd.port.mk>
--- /dev/null
+++ textproc/p5-SGML-Parser-OpenSP/distinfo
@@ -0,0 +1,3 @@
+MD5 (SGML-Parser-OpenSP-0.994.tar.gz) = b1ee0244e9daa4d37f28cf32c4753691
+SHA256 (SGML-Parser-OpenSP-0.994.tar.gz) = a7eb7ef74a9853d45296813cff608349e6a00c0fa8fe9c8f6ac3be58d636b3fe
+SIZE (SGML-Parser-OpenSP-0.994.tar.gz) = 35686
--- /dev/null
+++ textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig	2007-07-29 03:05:27.000000000 +0800
++++ Makefile.PL	2007-07-29 03:06:38.000000000 +0800
+@@ -26,6 +26,10 @@
+       Test::Exception => 0,
+       File::Temp      => 0,
+     },
++    PM		      => {
++      'lib/SGML/Parser/OpenSP.pm' => '$(INST_LIB)/SGML/Parser/OpenSP.pm',
++      'lib/SGML/Parser/OpenSP/Tools.pm' => '$(INST_LIB)/SGML/Parser/OpenSP/Tools.pm'
++    },
+     ($] >= 5.005 ?
+       (ABSTRACT_FROM  => 'lib/SGML/Parser/OpenSP.pm',
+        AUTHOR         => 'Bjoern Hoehrmann <bjoern at hoehrmann.de>') : ()),


More information about the Midnightbsd-cvs mailing list