aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gmat/Makefile
blob: 48ef13668716b9a647cc57d1c2db325fde90fa4d (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
31
32
33
34
35
36
37
# ports collection makefile for:    gmat
# Date created:     31 December 2000
# Whom:         grog
#
# $FreeBSD$
#

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

MAINTAINER= grog@FreeBSD.Org
COMMENT=    O'Reilly's SGML formatting package.

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 \
        gv:${PORTSDIR}/print/gv

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502102
BROKEN=     "Does not build"
.endif

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.post.mk>