Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 1997 00:39:15 -0800 (PST)
From:      dburr@POBoxes.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4985: NEW PORT: www/htmlpp htmlpp-3.9, a WWW authoring tool
Message-ID:  <199711090839.AAA15336@DonaldBurr.dyn.ml.org>
Resent-Message-ID: <199711090840.AAA24126@hub.freebsd.org>

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

>Number:         4985
>Category:       ports
>Synopsis:       NEW PORT: www/htmlpp htmlpp-3.9, a WWW authoring tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  9 00:40:00 PST 1997
>Last-Modified:
>Originator:     Donald Burr
>Organization:
Starfleet Command
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

Should run on any fairly modern FreeBSD.
Requires perl[45] to build and run.

>Description:

htmlpp - a Perl script to allow easy creation of HTML from template files

htmlpp is a Perl[45] script that allows easy maintaining of Web sites of
any size, by allowing you to create "template" HTML files using a form of
page description language.  It will even turn plain-text files into
quick-n-dirty, yet nicely formatted HTML using the "GURU mode" feature.
Documentation is included in HTML format
(stored in /usr/local/share/doc/htmlpp), and since the documentation was
produced using htmlpp itself, you can take a look at the source file (also
installed) to see an example of how to use htmlpp.

[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]

>How-To-Repeat:
>Fix:

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1.4).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1997-11-09 00:31 PST by <dburr@DonaldBurr.dyn.ml.org>.
# Source directory was `/usr/ports/www'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     52 -rw-r--r-- htmlpp/files/md5
#    587 -rw-r--r-- htmlpp/pkg/PLIST
#     74 -rw-r--r-- htmlpp/pkg/COMMENT
#    667 -rw-r--r-- htmlpp/pkg/DESCR
#   1690 -rw-r--r-- htmlpp/Makefile
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
# ============= htmlpp/files/md5 ==============
if test ! -d 'htmlpp'; then
  echo 'x - creating directory htmlpp'
  mkdir 'htmlpp'
fi
if test ! -d 'htmlpp/files'; then
  echo 'x - creating directory htmlpp/files'
  mkdir 'htmlpp/files'
fi
if test -f 'htmlpp/files/md5' && test X"$1" != X"-c"; then
  echo 'x - skipping htmlpp/files/md5 (file already exists)'
else
  echo 'x - extracting htmlpp/files/md5 (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'htmlpp/files/md5' &&
MD5 (htmlpp.zip) = 5e30107964d7e79ae03f67c912b7d60f
SHAR_EOF
  $shar_touch -am 1108235297 'htmlpp/files/md5' &&
  chmod 0644 'htmlpp/files/md5' ||
  echo 'restore of htmlpp/files/md5 failed'
  shar_count="`wc -c < 'htmlpp/files/md5'`"
  test 52 -eq "$shar_count" ||
    echo "htmlpp/files/md5: original size 52, current size $shar_count"
fi
# ============= htmlpp/pkg/PLIST ==============
if test ! -d 'htmlpp/pkg'; then
  echo 'x - creating directory htmlpp/pkg'
  mkdir 'htmlpp/pkg'
fi
if test -f 'htmlpp/pkg/PLIST' && test X"$1" != X"-c"; then
  echo 'x - skipping htmlpp/pkg/PLIST (file already exists)'
else
  echo 'x - extracting htmlpp/pkg/PLIST (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'htmlpp/pkg/PLIST' &&
bin/htmlpp
bin/contents.def
bin/filetype.def
bin/guru.def
bin/guru.fmt
bin/htmlpp.l
bin/macros.def
bin/prelude.def
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/gurutst.txt
share/doc/htmlpp/htmlpp.txt
share/doc/htmlpp/htmlpp1.gif
share/doc/htmlpp/im0096c.gif
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
share/doc/htmlpp/newstone.gif
SHAR_EOF
  $shar_touch -am 1109002897 'htmlpp/pkg/PLIST' &&
  chmod 0644 'htmlpp/pkg/PLIST' ||
  echo 'restore of htmlpp/pkg/PLIST failed'
  shar_count="`wc -c < 'htmlpp/pkg/PLIST'`"
  test 587 -eq "$shar_count" ||
    echo "htmlpp/pkg/PLIST: original size 587, current size $shar_count"
fi
# ============= htmlpp/pkg/COMMENT ==============
if test -f 'htmlpp/pkg/COMMENT' && test X"$1" != X"-c"; then
  echo 'x - skipping htmlpp/pkg/COMMENT (file already exists)'
else
  echo 'x - extracting htmlpp/pkg/COMMENT (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'htmlpp/pkg/COMMENT' &&
htmlpp - a Perl script to allow easy creation of HTML from template files
SHAR_EOF
  $shar_touch -am 1109002997 'htmlpp/pkg/COMMENT' &&
  chmod 0644 'htmlpp/pkg/COMMENT' ||
  echo 'restore of htmlpp/pkg/COMMENT failed'
  shar_count="`wc -c < 'htmlpp/pkg/COMMENT'`"
  test 74 -eq "$shar_count" ||
    echo "htmlpp/pkg/COMMENT: original size 74, current size $shar_count"
fi
# ============= htmlpp/pkg/DESCR ==============
if test -f 'htmlpp/pkg/DESCR' && test X"$1" != X"-c"; then
  echo 'x - skipping htmlpp/pkg/DESCR (file already exists)'
else
  echo 'x - extracting htmlpp/pkg/DESCR (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'htmlpp/pkg/DESCR' &&
htmlpp - a Perl script to allow easy creation of HTML from template files
X
htmlpp is a Perl[45] script that allows easy maintaining of Web sites of
any size, by allowing you to create "template" HTML files using a form of
page description language.  It will even turn plain-text files into
quick-n-dirty, yet nicely formatted HTML using the "GURU mode" feature.
Documentation is included in HTML format
(stored in /usr/local/share/doc/htmlpp), and since the documentation was
produced using htmlpp itself, you can take a look at the source file (also
installed) to see an example of how to use htmlpp.
X
[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]
SHAR_EOF
  $shar_touch -am 1109003197 'htmlpp/pkg/DESCR' &&
  chmod 0644 'htmlpp/pkg/DESCR' ||
  echo 'restore of htmlpp/pkg/DESCR failed'
  shar_count="`wc -c < 'htmlpp/pkg/DESCR'`"
  test 667 -eq "$shar_count" ||
    echo "htmlpp/pkg/DESCR: original size 667, current size $shar_count"
fi
# ============= htmlpp/Makefile ==============
if test -f 'htmlpp/Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping htmlpp/Makefile (file already exists)'
else
  echo 'x - extracting htmlpp/Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'htmlpp/Makefile' &&
# New ports collection makefile for:    htmlpp
# Version required:     3.9
# Date created:         9 Nov 1997
# Whom:                 Donald Burr <dburr@POBoxes.com>
#
# $Id$
#
X
DISTNAME=	htmlpp
PKGNAME=	htmlpp-3.9
EXTRACT_SUFX=	.zip
BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
EXTRACT_CMD=	unzip
EXTRACT_ARGS=	-qa
CATEGORIES=	www
NO_WRKSUBDIR=	yes
# NO_BUILD=	yes
MASTER_SITES=	http://www.imatix.com/pub/tools/
MAINTAINER=	dburr@POBoxes.com
BUILD_DEPENDS=  perl5.003:${PORTSDIR}/lang/perl5
RUN_DEPENDS=    perl5.003:${PORTSDIR}/lang/perl5
X
do-build:
X	(cd ${WRKDIR}; sed -e 's/^#! \/usr\/bin\/perl/#! \/usr\/local\/bin\/perl/' < htmlpp > htmlpp.temp; mv -f htmlpp.temp htmlpp; chmod 755 htmlpp)
X
do-install:
X	install -c -m 755 -o bin -g bin ${WRKDIR}/htmlpp ${PREFIX}/bin/htmlpp
X	install -c -m 644 -o bin -g bin ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/htmlpp.d
X	(cd ${WRKDIR}; for FILE in *.pl; do install -c -m 644 -o bin -g bin $${FILE} ${PREFIX}/lib/perl5/site_perl/$${FILE}; done)
X	(cd ${WRKDIR}; for FILE in *.def; do install -c -m 644 -o bin -g bin $${FILE} ${PREFIX}/bin/$${FILE}; done)
X	install -c -m 644 -o bin -g bin ${WRKDIR}/guru_opt.fmt ${PREFIX}/bin/guru.fmt
X	install -c -m 644 -o bin -g bin ${WRKDIR}/htmlpp.l ${PREFIX}/bin/htmlpp.l
X	(cd ${WRKDIR}; mkdir -p ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do install -c -m 644 -o bin -g bin $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}l; done)
X	(cd ${WRKDIR}; for FILE in *.gif; do install -c -m 644 -o bin -g bin $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
X	(cd ${WRKDIR}; for FILE in *.txt; do install -c -m 644 -o bin -g bin $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 1109002297 'htmlpp/Makefile' &&
  chmod 0644 'htmlpp/Makefile' ||
  echo 'restore of htmlpp/Makefile failed'
  shar_count="`wc -c < 'htmlpp/Makefile'`"
  test 1690 -eq "$shar_count" ||
    echo "htmlpp/Makefile: original size 1690, current size $shar_count"
fi
exit 0
>Audit-Trail:
>Unformatted:



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