Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 01:30:44 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11232: Unbreak www/htmlpp and upgrade to 4.2a
Message-ID:  <199904200630.BAA37368@emerson.gelemna.ft-wayne.in.us>

next in thread | raw e-mail | index | archive | help

>Number:         11232
>Category:       ports
>Synopsis:       Unbreak www/htmlpp and upgrade to 4.2a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 23:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Don Croyle
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:
Life after perl 5.005's release.
	

>Description:
The port puts several files where perl 5.004 could find them but perl
5.005 doesn't.  Also update to the current version and use the .tgz
distfile (eliminating the build dependency on unzip).  Don't munge the
filenames of the HTML docs, it breaks internal links.  Don't install
the libero source.  Add the homepage to pkg/DESCR.

I pinged the maintainer about an update a couple of months ago, but
never got a response.
	

>How-To-Repeat:

	

>Fix:
Apply this patch:	
	
diff -ruN htmlpp.old/Makefile htmlpp/Makefile
--- htmlpp.old/Makefile	Wed Feb  3 06:11:59 1999
+++ htmlpp/Makefile	Sat Apr 17 23:13:47 1999
@@ -1,25 +1,19 @@
 # New ports collection makefile for:    htmlpp
-# Version required:     3.9d
+# Version required:     4.2a
 # Date created:         9 Nov 1997
 # Whom:                 Donald Burr <dburr@FreeBSD.ORG>
 #
 # $Id: Makefile,v 1.4 1999/02/03 11:11:59 asami Exp $
 #
 
-DISTNAME=	htmlpp
-PKGNAME=	htmlpp-3.9d
+DISTNAME=	htmlp42a
+PKGNAME=	htmlpp-4.2a
 CATEGORIES=	www
 MASTER_SITES=	http://www.imatix.com/pub/tools/
-EXTRACT_SUFX=	.zip
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	dburr@FreeBSD.ORG
 
-BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
-
-EXTRACT_CMD=	unzip
-EXTRACT_BEFORE_ARGS=	-qa
-EXTRACT_AFTER_ARGS=	# empty
-
 USE_PERL5=	YES
 
 NO_WRKSUBDIR=	yes
@@ -31,14 +25,13 @@
 	${MV} ${WRKDIR}/htmlpp.temp ${WRKDIR}/htmlpp
 
 do-install:
-	${MKDIR} ${PREFIX}/lib/perl5/site_perl
+	${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
 	${INSTALL_SCRIPT} ${WRKDIR}/htmlpp ${PREFIX}/bin/htmlpp
-	${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/htmlpp.d
-	(cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/lib/perl5/site_perl/$${FILE}; done)
+	${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/htmlpp.d
+	(cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/$${FILE}; done)
 	(cd ${WRKDIR}; for FILE in *.def; do ${INSTALL_DATA} $${FILE} ${PREFIX}/bin/$${FILE}; done)
 	${INSTALL_DATA} ${WRKDIR}/guru_opt.fmt ${PREFIX}/bin/guru.fmt
-	${INSTALL_DATA} ${WRKDIR}/htmlpp.l ${PREFIX}/bin/htmlpp.l
-	(cd ${WRKDIR}; ${MKDIR} ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}l; done)
+	(cd ${WRKDIR}; ${MKDIR} ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
 	(cd ${WRKDIR}; for FILE in *.gif; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
 	(cd ${WRKDIR}; for FILE in *.txt; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
 
diff -ruN htmlpp.old/files/md5 htmlpp/files/md5
--- htmlpp.old/files/md5	Mon Jul 20 18:20:23 1998
+++ htmlpp/files/md5	Sat Apr 17 22:55:55 1999
@@ -1 +1 @@
-MD5 (htmlpp.zip) = 66451d3900084b2331823420506d71d9
+MD5 (htmlp42a.tgz) = 95fd34f0f94d4cb4dde418ed3bfdc056
diff -ruN htmlpp.old/pkg/DESCR htmlpp/pkg/DESCR
--- htmlpp.old/pkg/DESCR	Mon Jul 20 18:20:24 1998
+++ htmlpp/pkg/DESCR	Sat Apr 17 22:52:01 1999
@@ -7,4 +7,6 @@
 produced using htmlpp itself, you can take a look at the source file (also
 installed) to see an example of how to use htmlpp.
 
+Homepage: http://www.imatix.com/html/htmlpp/index.htm
+
 [ This port is maintained by Donald Burr <dburr@FreeBSD.ORG>. ]
diff -ruN htmlpp.old/pkg/PLIST htmlpp/pkg/PLIST
--- htmlpp.old/pkg/PLIST	Mon Jul 20 18:20:24 1998
+++ htmlpp/pkg/PLIST	Sat Apr 17 23:15:10 1999
@@ -5,18 +5,18 @@
 bin/macros.def
 bin/prelude.def
 bin/guru.fmt
-bin/htmlpp.l
-lib/perl5/site_perl/htmlpp.d
-lib/perl5/site_perl/findfile.pl
-lib/perl5/site_perl/sflcvdp.pl
-lib/perl5/site_perl/sfldate.pl
-lib/perl5/site_perl/shellwd.pl
-share/doc/htmlpp/index.html
-share/doc/htmlpp/index1.html
-share/doc/htmlpp/index2.html
-share/doc/htmlpp/index3.html
-share/doc/htmlpp/index4.html
-share/doc/htmlpp/index5.html
+lib/perl5/site_perl/%%PERL_VER%%/htmlpp.d
+lib/perl5/site_perl/%%PERL_VER%%/findfile.pl
+lib/perl5/site_perl/%%PERL_VER%%/sflcvdp.pl
+lib/perl5/site_perl/%%PERL_VER%%/sfldate.pl
+lib/perl5/site_perl/%%PERL_VER%%/shellwd.pl
+lib/perl5/site_perl/%%PERL_VER%%/textdb.pl
+share/doc/htmlpp/index.htm
+share/doc/htmlpp/index1.htm
+share/doc/htmlpp/index2.htm
+share/doc/htmlpp/index3.htm
+share/doc/htmlpp/index4.htm
+share/doc/htmlpp/index5.htm
 share/doc/htmlpp/htmlpp1.gif
 share/doc/htmlpp/im0096c.gif
 share/doc/htmlpp/newstone.gif

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904200630.BAA37368>