From 7af7cad96337fb6e83a5d1deb0dfae626db63aaa Mon Sep 17 00:00:00 2001 From: brad Date: Mon, 2 Oct 2000 05:06:48 +0000 Subject: [PATCH] add p5-HTML-Base port; mostly based on what naddy@ posted -- HTML::Base is an expansion module for Perl 5 which provides an object-oriented way to build pages of HTML. Its purpose is to create HTML tags at the lowest level of functionality, that is to say, it creates HTML and doesn't do much else. Specifically, it does not provide any CGI-like services (see the CGI modules for that!). Currently, the module supports all of the HTML 2.0 tags, plus some selected tags from HTML 3.0, and some Netscape-isms. --- www/p5-HTML-Base/Makefile | 28 ++++++++++++++++++++++++++++ www/p5-HTML-Base/files/md5 | 3 +++ www/p5-HTML-Base/pkg/COMMENT | 1 + www/p5-HTML-Base/pkg/DESCR | 9 +++++++++ www/p5-HTML-Base/pkg/PLIST | 3 +++ 5 files changed, 44 insertions(+) create mode 100644 www/p5-HTML-Base/Makefile create mode 100644 www/p5-HTML-Base/files/md5 create mode 100644 www/p5-HTML-Base/pkg/COMMENT create mode 100644 www/p5-HTML-Base/pkg/DESCR create mode 100644 www/p5-HTML-Base/pkg/PLIST diff --git a/www/p5-HTML-Base/Makefile b/www/p5-HTML-Base/Makefile new file mode 100644 index 00000000000..19d1c2f608a --- /dev/null +++ b/www/p5-HTML-Base/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/10/02 05:06:48 brad Exp $ + +DISTNAME= HTML-0.6 +PKGNAME= p5-HTML-Base-0.6 +CATEGORIES= www perl5 +NEED_VERSION= 1.336 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML + +MAINTAINER= ports@openbsd.org + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WRKDIST= ${WRKDIR} + +do-build: + cd ${WRKSRC} && pod2man html_base.pod HTML::Base.3p + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/libdata/perl5/site_perl/${ARCH}-openbsd/HTML + ${INSTALL_DATA} ${WRKSRC}/HTML/Base.pm \ + ${PREFIX}/libdata/perl5/site_perl/${ARCH}-openbsd/HTML + ${INSTALL_MAN} ${WRKSRC}/HTML::Base.3p ${PREFIX}/man/man3 + +.include diff --git a/www/p5-HTML-Base/files/md5 b/www/p5-HTML-Base/files/md5 new file mode 100644 index 00000000000..8de86c8d496 --- /dev/null +++ b/www/p5-HTML-Base/files/md5 @@ -0,0 +1,3 @@ +MD5 (HTML-0.6.tar.gz) = 1804aa19b3f6bb355b82812543309425 +RMD160 (HTML-0.6.tar.gz) = a9c63894739c6cd9aa69563c4ac42966398184e3 +SHA1 (HTML-0.6.tar.gz) = 4d05f921e589c7e4d4cb9ae128689680ce96011f diff --git a/www/p5-HTML-Base/pkg/COMMENT b/www/p5-HTML-Base/pkg/COMMENT new file mode 100644 index 00000000000..cbe081cb294 --- /dev/null +++ b/www/p5-HTML-Base/pkg/COMMENT @@ -0,0 +1 @@ +base HTML library diff --git a/www/p5-HTML-Base/pkg/DESCR b/www/p5-HTML-Base/pkg/DESCR new file mode 100644 index 00000000000..142ccd88eb1 --- /dev/null +++ b/www/p5-HTML-Base/pkg/DESCR @@ -0,0 +1,9 @@ +HTML::Base is an expansion module for Perl 5 which provides +an object-oriented way to build pages of HTML. Its purpose +is to create HTML tags at the lowest level of functionality, +that is to say, it creates HTML and doesn't do much else. +Specifically, it does not provide any CGI-like services +(see the CGI modules for that!). + +Currently, the module supports all of the HTML 2.0 tags, +plus some selected tags from HTML 3.0, and some Netscape-isms. diff --git a/www/p5-HTML-Base/pkg/PLIST b/www/p5-HTML-Base/pkg/PLIST new file mode 100644 index 00000000000..c12b40dd921 --- /dev/null +++ b/www/p5-HTML-Base/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/10/02 05:06:48 brad Exp $ +libdata/perl5/site_perl/${ARCH}-openbsd/HTML/Base.pm +man/man3/HTML::Base.3p