Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 22:51:56 +0400 (MSD)
From:      Nosov Artem <chip@kaluga.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52402: New port: www/webcpp (converts code to highlighted HTML)
Message-ID:  <20030518185156.07B51255@void.su>
Resent-Message-ID: <200305181850.h4IIoG9d003041@freefall.freebsd.org>

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

>Number:         52402
>Category:       ports
>Synopsis:       New port: www/webcpp (converts code to highlighted HTML)
>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:   Sun May 18 11:50:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nosov Artem
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:

	Any FreeBSD with gcc-3.x

>Description:

Webcpp converts source code to syntax highlighted HTML, supports multiple
languages and colour schemes.

>How-To-Repeat:
>Fix:

# 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:
#
#	webcpp
#	webcpp/Makefile
#	webcpp/pkg-plist
#	webcpp/pkg-descr
#	webcpp/distinfo
#
echo c - webcpp
mkdir -p webcpp > /dev/null 2>&1
echo x - webcpp/Makefile
sed 's/^X//' >webcpp/Makefile << 'END-of-webcpp/Makefile'
X# New ports collection makefile for:	webcpp
X# Date created:		12 May 2003
X# Whom:			Nosov Artem <chip-set@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	webcpp
XPORTVERSION=	0.8.2
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=	chip-set@mail.ru
XCOMMENT=	Convert you source code to syntax highlighted HTML
X
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
XUSE_REINPLACE=	yes
X
X.if defined(WANT_FINAL)
XCONFIGURE_ARGS+=	--enable-final
XUSE_GMAKE=	yes
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} <= 500000
XBUILD_DEPENDS+=	stdc++.4:${PORTSDIR}/lang/gcc32
X.endif
X
Xpre-patch:
X	find ${WRKSRC} -name '*.h' | xargs ${REINPLACE_CMD} \
X		's|IO->close()|if(IO) IO->close()|g'
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in AUTHORS COPYING README TODO docs.html
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-webcpp/Makefile
echo x - webcpp/pkg-plist
sed 's/^X//' >webcpp/pkg-plist << 'END-of-webcpp/pkg-plist'
Xbin/scs2scs2.pl
Xbin/webc++
Xbin/webcpp
X%%PORTDOCS%%share/doc/webcpp/AUTHORS
X%%PORTDOCS%%share/doc/webcpp/COPYING
X%%PORTDOCS%%share/doc/webcpp/README
X%%PORTDOCS%%share/doc/webcpp/TODO
X%%PORTDOCS%%share/doc/webcpp/docs.html
Xshare/webcpp/aqua.Scs2
Xshare/webcpp/berries-dark.Scs2
Xshare/webcpp/berries-light.Scs2
Xshare/webcpp/bipolar.Scs2
Xshare/webcpp/blacknblue.Scs2
Xshare/webcpp/blind.Scs2
Xshare/webcpp/blue.Scs2
Xshare/webcpp/bright.Scs2
Xshare/webcpp/bright2.Scs2
Xshare/webcpp/bright3.Scs2
Xshare/webcpp/bruised.Scs2
Xshare/webcpp/bubblegum.Scs2
Xshare/webcpp/contrast.Scs2
Xshare/webcpp/darkness.Scs2
Xshare/webcpp/decent.Scs2
Xshare/webcpp/desert.Scs2
Xshare/webcpp/docs.html
Xshare/webcpp/dream.Scs2
Xshare/webcpp/dull.Scs2
Xshare/webcpp/easter.Scs2
Xshare/webcpp/fluke.Scs2
Xshare/webcpp/golden.Scs2
Xshare/webcpp/greenlcd.Scs2
Xshare/webcpp/greyish.Scs2
Xshare/webcpp/ide-anjuta.Scs2
Xshare/webcpp/ide-devcpp.Scs2
Xshare/webcpp/ide-jbuilder4.Scs2
Xshare/webcpp/ide-jcreator2.Scs2
Xshare/webcpp/ide-kdev.Scs2
Xshare/webcpp/ide-msvcpp.Scs2
Xshare/webcpp/ide-synedit.Scs2
Xshare/webcpp/imperial.Scs2
Xshare/webcpp/jungle.Scs2
Xshare/webcpp/lines.bmp
Xshare/webcpp/looseleaf.bmp
Xshare/webcpp/looseleaf2.bmp
Xshare/webcpp/looseleaf2low.bmp
Xshare/webcpp/looseleaf3.bmp
Xshare/webcpp/looseleaf3low.bmp
Xshare/webcpp/mint.Scs2
Xshare/webcpp/navy.Scs2
Xshare/webcpp/neon.Scs2
Xshare/webcpp/neon2.Scs2
Xshare/webcpp/night.Scs2
Xshare/webcpp/nightvision.Scs2
Xshare/webcpp/peachy.Scs2
Xshare/webcpp/rand01.Scs2
Xshare/webcpp/rand02.Scs2
Xshare/webcpp/slime.Scs2
Xshare/webcpp/smoke.Scs2
Xshare/webcpp/smokescreen.Scs2
Xshare/webcpp/typical.Scs2
Xshare/webcpp/untitled.Scs2
Xshare/webcpp/untypical.Scs2
Xshare/webcpp/usable.Scs2
Xshare/webcpp/vampire.Scs2
Xshare/webcpp/void.Scs2
Xshare/webcpp/webcpp.bmp
Xshare/webcpp/website.Scs2
Xshare/webcpp/website2-blue.Scs2
Xshare/webcpp/website2.Scs2
Xshare/webcpp/website3-blue.Scs2
Xshare/webcpp/website3.Scs2
Xshare/webcpp/whatis.Scs2
Xshare/webcpp/whitenblue.Scs2
Xshare/webcpp/whitengrey.Scs2
Xshare/webcpp/winter.Scs2
X%%PORTDOCS%%@dirrm share/doc/webcpp
X@dirrm share/webcpp
END-of-webcpp/pkg-plist
echo x - webcpp/pkg-descr
sed 's/^X//' >webcpp/pkg-descr << 'END-of-webcpp/pkg-descr'
XWebcpp converts source code to syntax highlighted HTML, and supports multiple 
Xlanguages and also colour schemes.
XFeatures:
X - Specific support for over 30 programming, scripting, and shading languages
X - An 11-element syntax highlighting engine
X - Dynamic colour schemes using embedded Stylesheets, or external Stylesheets
X - Batch conversions
X - Automatic filetype detection for higlighting
X - Filetype forcing for syntax highlighting
X - Automatic #include file hyperlinking and file generation
X - Piping the input or output to or from STDIN/STDOUT to collaborate with 
Xother programs
X - The ability of allowing custom HTML tags to be added
X - Generic support for unknown text based files
X - Available on various operating systems
X
XWWW: http://webcpp.sourceforge.net/
X
X- ChiP
Xchip-set@mail.ru
END-of-webcpp/pkg-descr
echo x - webcpp/distinfo
sed 's/^X//' >webcpp/distinfo << 'END-of-webcpp/distinfo'
XMD5 (webcpp-0.8.2-src.tar.gz) = 35049f4a006c2046240e07887361afb8
END-of-webcpp/distinfo
exit


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



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