On 03/22/16 13:45, Stuart Henderson wrote:

>> $ portcheck
>> www/p5-HTML-Base
>>
>> portcheck fails to find this one... It could find problem by analysing
>> the PLIST
> 
>> I do have a fixed version of p5-HTML-Base. Replace ${P5ARCH} by
>> ${P5SITE} in the do-install:, recreate pkg/PLIST, and bump.
> 
> This one is odd, why is it using P5ARCH in the first place?
> Just a mistake or is there a particular reason?
> 
> 
It's old, 0.6 version is from 1995, it's for HTML 2.0, with some
possible tags for what might be in HTML 3.0. I see no other ports using
it. This has been moved from cpan to backcpan. Possible port to remove.

It could still be useful in generating HTML Pages. A book references
this.

http://www.webbasedprogramming.com/Perl-5-Unleashed/ch23.htm

Book is quite old also dates from 1997.

In metacpan says this....

As of today (6/8/95) HTML::Base is in preliminary development, and is
considered pre-Alpha code, presented solely for evaluation and
discussion by the Perl community. It is possible (even likely) that
radical changes will occur in the module before being released to the
larger PERL world.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/p5-HTML-Base/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	20 Mar 2016 19:57:17 -0000	1.17
+++ Makefile	20 Mar 2016 23:19:45 -0000
@@ -6,7 +6,7 @@ MODULES=	cpan
 PKG_ARCH=	*
 DISTNAME=	HTML-0.6
 PKGNAME=	p5-HTML-Base-0.6
-REVISION=	2
+REVISION=	3
 CATEGORIES=	www
 
 # GPL
@@ -22,9 +22,9 @@ do-build:
 	cd ${WRKSRC} && pod2man html_base.pod HTML::Base.3p
 
 do-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/${P5ARCH}/HTML
+	${INSTALL_DATA_DIR} ${PREFIX}/${P5SITE}/HTML
 	${INSTALL_DATA} ${WRKSRC}/HTML/Base.pm \
-		${PREFIX}/${P5ARCH}/HTML/
+		${PREFIX}/${P5SITE}/HTML/
 	${INSTALL_MAN_DIR} ${PREFIX}/man/man3p/
 	${INSTALL_MAN} ${WRKSRC}/HTML::Base.3p ${PREFIX}/man/man3p/
 
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/www/p5-HTML-Base/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST	15 Sep 2004 18:49:51 -0000	1.5
+++ pkg/PLIST	9 Sep 2015 15:34:54 -0000
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.5 2004/09/15 18:49:51 espie Exp $
-${P5ARCH}/
-${P5ARCH}/HTML/
-${P5ARCH}/HTML/Base.pm
+${P5SITE}/HTML/
+${P5SITE}/HTML/Base.pm
 @man man/man3p/HTML::Base.3p

Reply via email to