# New ports collection makefile for:	texmacs
# Date created:		1 December 2001
# Whom:			Geoffrey Mainland <mainland@apeiron.net>
#
# $FreeBSD: ports/editors/texmacs/Makefile,v 1.1 2002/03/03 03:39:37 petef Exp $
#

PORTNAME=	texmacs
PORTVERSION=	0.3.5.8
CATEGORIES=	editors print
MASTER_SITES=	ftp://ftp.texmacs.org/pub/TeXmacs/targz/
DISTFILES=	TeXmacs-${PORTVERSION}-src.tar.gz \
		TeXmacs-600dpi-fonts.tar.gz

MAINTAINER=	mainland@apeiron.net

BUILD_DEPENDS=	guile:${PORTSDIR}/lang/guile \
		latex:${PORTSDIR}/print/latex
RUN_DEPENDS=	latex:${PORTSDIR}/print/latex

WRKSRC=	${WRKDIR}/TeXmacs-${PORTVERSION}-src

USE_XLIB=	yes
GNU_CONFIGURE=	yes

ALL_TARGET=

MAN1=		texmacs.1 fig2ps.1
MANCOMPRESSED=	yes

post-extract:
	@(cd ${WRKSRC}/TeXmacs-${PORTVERSION}; \
		${TAR} xzf ${DISTDIR}/TeXmacs-600dpi-fonts.tar.gz)

.include <bsd.port.mk>
