# 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:
#
#	htmlise
#	htmlise/Makefile
#	htmlise/pkg-descr
#	htmlise/distinfo
#
echo c - htmlise
mkdir -p htmlise > /dev/null 2>&1
echo x - htmlise/Makefile
sed 's/^X//' >htmlise/Makefile << 'END-of-htmlise/Makefile'
X# New ports collection makefile for:	htmlise
X# Date created:				2 Sep 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	htmlise
XPORTVERSION=	0.2
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.ex-parrot.com/~chris/stuff/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Formats plain text as HTML
X
XUSE_REINPLACE=	yes
X
XTABSIZE?=	8
X
XSRC=		htmlise tables markup inline
XPLIST_FILES=	bin/htmlise
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|\(TABSIZE\ \)[0-9]*|\1${TABSIZE}|' \
X		${WRKSRC}/${PORTNAME}.h
X
Xdo-build:
X.for f in ${SRC}
X	${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o
X.endfor
X	${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${SRC:C/(.*)/${WRKSRC}\/\1.o/}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-htmlise/Makefile
echo x - htmlise/pkg-descr
sed 's/^X//' >htmlise/pkg-descr << 'END-of-htmlise/pkg-descr'
XA command line utility that formats plain text from standard input to HTML.
X
XWWW: http://www.ex-parrot.com/~chris/software.html
X
X- ehaupt
Xehaupt@critical.ch
END-of-htmlise/pkg-descr
echo x - htmlise/distinfo
sed 's/^X//' >htmlise/distinfo << 'END-of-htmlise/distinfo'
XMD5 (htmlise-0.2.tar.gz) = b3c3a1f22d7b3f8a7cb0638c28af0623
XSIZE (htmlise-0.2.tar.gz) = 11334
END-of-htmlise/distinfo
exit