Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2010 01:14:25 -0700
From:      Timothy Beyer <beyert@cs.ucr.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Timothy Beyer <beyert@cs.ucr.edu>
Subject:   ports/144896: new port: textproc/htmlc
Message-ID:  <874okbmmu6.wl@fastmail.fm>
Resent-Message-ID: <201003200820.o2K8K21t012762@freefall.freebsd.org>

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

>Number:         144896
>Category:       ports
>Synopsis:       new port: textproc/htmlc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 20 08:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Timothy Beyer
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Fri Jan 29 18:00:42 PST 2010     beyert@aeonserv.aeonnet:/usr/src/sys/i386/compile/CUSTOM  i386

>Description:
Htmlc is an HTML template files expander that produces regular HTML pages from
source files that contain text fragments that require some computation to be
written.

>How-To-Repeat:
    Extract the shar file
>Fix:
    The included shar file:

--- htmlc.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	htmlc
#	htmlc/Makefile
#	htmlc/distinfo
#	htmlc/pkg-descr
#
echo c - htmlc
mkdir -p htmlc > /dev/null 2>&1
echo x - htmlc/Makefile
sed 's/^X//' >htmlc/Makefile << '6034bc6ab773fc4ae9913cacb389cea3'
X# New ports collection makefile for:    htmlc
X# Date created:         14 Mar 2010
X# Whom:                 Timothy Beyer <beyert@cs.ucr.edu>
X#
X#
X# $FreeBSD: ports/textproc/htmlc/Makefile,v 1.00 2010/03/14 21:19:24 beyert Exp $
X#
X
XPORTNAME=	htmlc
XPORTVERSION=	2.21.0
XCATEGORIES=	textproc
XMASTER_SITES=	http://htmlc.inria.fr/ \
X	http://caml.inria.fr/distrib/bazar-ocaml/htmlc/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	beyert@cs.ucr.edu
XCOMMENT=	A text file generator
X
XBUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml
X
XMAN1=		htmlc.1
X
XPLIST_FILES=	bin/htmlc bin/htmlc.byt share/htmlc/env
XPLIST_DIRS=	share/htmlc
XPORTDOCS=	LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
X	copyright-fra.htm eng.htm fra.htm index.htm
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--prefix ${LOCALBASE}
XUSE_GMAKE=	yes
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	${RM} -f ${WRKSRC}/doc/Makefile
X	${TOUCH} ${WRKSRC}/doc/Makefile
X	${ECHO} "all:" > ${WRKSRC}/doc/Makefile
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc ${PREFIX}/bin
X	@${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc.byt ${PREFIX}/bin
X	@${MKDIR} ${DATADIR}
X	@${INSTALL_DATA} ${WRKSRC}/config/env ${DATADIR}
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_MAN} ${WRKSRC}/doc/htmlc.1 ${PREFIX}/man/man1
X	@${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/JoeCaml.gif ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/rocq.gif ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/copyright-eng.htm ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/copyright-fra.htm ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/eng.htm ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/fra.htm ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/index.htm ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
6034bc6ab773fc4ae9913cacb389cea3
echo x - htmlc/distinfo
sed 's/^X//' >htmlc/distinfo << 'aa6cc00f8e0c1b48a2cc67e48b8d6030'
XMD5 (htmlc-2.21.0.tgz) = bb1a1aa12e5958d1e3ffa04639968e00
XSHA256 (htmlc-2.21.0.tgz) = eb56d8fd4a47df1c7f915b31aff19f74f405e498012c663e64c6704cf5a4cf88
XSIZE (htmlc-2.21.0.tgz) = 118291
aa6cc00f8e0c1b48a2cc67e48b8d6030
echo x - htmlc/pkg-descr
sed 's/^X//' >htmlc/pkg-descr << '4c1c28e55a1846223521182ce2aa552f'
XHtmlc is an HTML template files expander that produces regular HTML pages from
Xsource files that contain text fragments that require some computation to be
Xwritten. Those fragments can be the output of an arbitrary Unix command, for
Xinstance the last modification date of a page, or parts of HTML pages to be
Xincluded in the page, or pieces of the page that are common to the entire WEB
Xsite (a presentation header or a footer section for each page). Providing the
Xautomatic inclusion of those text fragments into your HTML source pages, Htmlc
Xoffers a server independent way of defining templates to factorize out the
Xrepetitive parts of HTML pages. Htmlc also provides a variable expansion
Xfacility (using definitions in the template file or in simple environment files
Xusing a syntax a la objective Caml). In short, Htmlc ensures the static
Xverification and the static expansion of the Server Side Includes directives of
Xthe Web pages in the efficient and friendly way of a command-line compiler.
X
XWWW: http://htmlc.inria.fr/eng.htm
4c1c28e55a1846223521182ce2aa552f
exit

--- htmlc.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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