freebsd-ports/textproc/skribe/Makefile
Edwin Groothuis c7ec907e8b New port: textproc/skribe (a highly programmable document processing system)
Skribe is a text processor.  Even if it is a general purpose
	tool, it best suits the writing of technical documents such
	as web pages or technical reports, API documentations, etc.
	At first glance, Skribe looks like a mark-up language ala
	HTML.  So, there is no need to be provided with computer
	programming skills in order to use Skribe.

	A second look reveals that Skribe is actually a true
	programming language, provided with high level features
	(such as objects, higher order functions, regular and
	syntactic parsing, etc.).  Skribe is based on the Scheme
	programming language.

	WWW: http://www-sop.inria.fr/mimosa/fp/Skribe/

PR:		ports/60485
Submitted by:	Kimura Fuyuki <fuyuki@nigredo.org>
2003-12-30 09:03:05 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: Skribe
# Date created: 19 December 2003
# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
#
# $FreeBSD$
#
PORTNAME= skribe
PORTVERSION= 1.0a
CATEGORIES= textproc
MASTER_SITES= ftp://ftp-sop.inria.fr/mimosa/fp/Skribe/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= fuyuki@nigredo.org
COMMENT= A highly programmable document processing system
BUILD_DEPENDS= bigloo:${PORTSDIR}/lang/bigloo
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-bigloo --prefix=${PREFIX} --docdir=${DOCSDIR}
USE_GMAKE= yes
PLIST_SUB= VERSION="${PORTVERSION}"
post-patch:
${REINPLACE_CMD} -e 's|^function ||' ${WRKSRC}/etc/skribe-config.in
${REINPLACE_CMD} -e 's|$$prefix/doc/skribe-$$release|${DOCSDIR}|' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|.*prcs.*|beta=|' ${WRKSRC}/etc/bigloo/configure
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's/= doc/=/' ${WRKSRC}/Makefile
.endif
post-build:
${CHMOD} a+r ${WRKSRC}/doc/html/img/*.gif
post-install:
${TOUCH} ${DATADIR}/extensions/.keep_me
.include <bsd.port.mk>