summaryrefslogtreecommitdiff
path: root/textproc/gmat/Makefile
blob: f8fc294abe935e6daf9d1ce9b0836dd508c1221a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ports collection makefile for:	gmat
# Date created:		31 December 2000
# Whom:			grog
#
# $FreeBSD$
#

PORTNAME=	gmat
PORTVERSION= 	0.2.4b
PORTREVISION=	1
WRKSRC=		${WRKDIR}/${PORTNAME}-0.2.4
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.ora.com/pub/gmat/

MAINTAINER=	grog

RUN_DEPENDS=	${LOCALBASE}/bin/nsgmls:${PORTSDIR}/textproc/sp		\
		${LOCALBASE}/bin/procmail:${PORTSDIR}/mail/procmail	\
		${LOCALBASE}/share/sgml/docbook/3.1/docbook.dtd:${PORTSDIR}/textproc/docbook-310 \
		ghostview:${PORTSDIR}/print/ghostview

post-install:
	(cd ${WRKSRC}; tar cf - test) | (cd ${LOCALBASE}/share/gmat; tar xvf -)
# Change the pathnames in CATALOG
	(cd ${WRKSRC}/test; \
		sed < CATALOG "s:/usr/local/prod/sgml/DocBook:${LOCALBASE}/share/sgml/docbook:g; \
		s:/usr/local/prod:${LOCALBASE}/share/gmat:g" \
		> ${LOCALBASE}/share/gmat/test/CATALOG )
		
.include <bsd.port.mk>