aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sgmlformat/Makefile
blob: 4278f83db8b6d213c2f4eb8367f0c50bd260c7ca (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
# New ports collection makefile for:    sgmlformat
# Version required: 1.7
# Date created:     July 16, 1997
# Whom:         jfieber
#
# $Id: Makefile,v 1.10 1998/09/15 21:18:06 jfieber Exp $
#

DISTNAME=   sgmlformat-1.7
CATEGORIES= textproc print
MASTER_SITES=   ftp://fallout.campusview.indiana.edu/pub/sgml/

MAINTAINER= jfieber@FreeBSD.ORG

# There are two ports that satisfy the nsgmls requirement.
# Jade is preferred, but it currently doesn't compile on 2.1.x
# system, so use sp in that case.
OSVERSION!= sysctl -n kern.osreldate
.if ${OSVERSION} < 220000
RUN_DEPENDS=    nsgmls:${PORTSDIR}/textproc/sp
.else
RUN_DEPENDS=    nsgmls:${PORTSDIR}/textproc/jade
.endif

RUN_DEPENDS+=   ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \
        ${PREFIX}/share/sgml/docbook:${PORTSDIR}/textproc/docbook \

USE_PERL5=  yes

MAN1=       instant.1 sgmlfmt.1
MAN5=       transpec.5
MANCOMPRESSED=  yes

post-install:
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>