aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sgmlformat/Makefile
blob: 87785e234fecff40df7477eb7cc3a9106b8a62c0 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    sgmlformat
# Date created:     July 16, 1997
# Whom:         jfieber
#
# $FreeBSD$
#

PORTNAME=   sgmlformat
PORTVERSION=    1.7
PORTREVISION=   2
CATEGORIES= textproc print
MASTER_SITES=   http://fallout.campusview.indiana.edu/ports/distfiles/

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Generates groff and HTML from linuxdoc and docbook SGML documents

# 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.

.include <bsd.port.pre.mk>

.if ${MACHINE_ARCH} != "i386"
WITH_OPENJADE=  yes
.endif

.if ${OSVERSION} < 220000
RUN_DEPENDS=    nsgmls:${PORTSDIR}/textproc/sp
.elif defined(WITH_OPENJADE)
RUN_DEPENDS=    onsgmls:${PORTSDIR}/textproc/openjade
.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_REINPLACE=  yes
USE_PERL5_RUN=  yes

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

.if defined(WITH_OPENJADE)
post-patch:
    @${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
    @${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
it/x11-wm/Makefile?h=mate-1.16&id=721c21e23320ba131782cade3baf4608d6961fbf'>2012-11-28 editors/glimmer: Depends on the expired gtkglarea through py-gtkbapt2012-11-281-1/+0 * 2012-11-05 textproc/xerces-c: No more supported upstream, consider using xerc...bapt2012-11-051-3/+0 * Resurrect e16utils, public distfiles has been fixed during the deprecationbapt2012-10-261-0/+1 * 2012-10-20 x11-wm/wmcp: No more public distfilesbapt2012-10-261-9/+0 * Remove some expired ports:rene2012-08-261-4/+0 * Remove expired ports:ak2012-07-281-4/+0 * E17 module itask-ng has been renamed to engage.makc2012-07-071-1/+1 * - Update E17 ports:makc2012-06-271-0/+6 * Vicious is a modular widget library for the "awesome" window manager,delphij2012-05-091-0/+1 * - scrotwm has been renamed to spectrwmeadler2012-03-061-1/+1 * Remove expired port:rene2012-02-031-1/+0 * Remove according to deprecation schedule: Abandonware: no more upstream,linimon2011-12-101-1/+0 * audio/mp3butler Depends on audio/p5-MusicBrainz-Client which is DEPRECATEDdougb2011-11-011-2/+0 * Fvwm2-devel is no longer supported by fvwm.org, expiry date has passed.cy2011-10-261-1/+0 * As previously advertised, remove ports that previously had beendougb2011-09-301-1/+0 * 2011-09-01 x11-wm/epiwm: Abandonwarebapt2011-09-071-1/+0 * - Sort SUBDIRssunpoet2011-08-011-1/+1 * Remove `x11-wm/boxtools' port and provide an OPTION to install tools only.danfe2011-07-081-1/+0 * Reconnect the following ports which were brought back out of the Attic:linimon2011-07-011-0/+1 * This is the MS Windows like taskbar module for Enlightenment.miwi2011-06-251-0/+1 * Control MPRIS supporting music player like Amarok, Audacious, xmms2miwi2011-06-251-0/+1 * Module to display information feeds like Rss (and soon Atom)miwi2011-06-251-0/+1 * Winlist NG module for Enlightenment 17.miwi2011-06-251-0/+1 * Removed unmaintained expired ports from x11-wmbapt2011-05-011-3/+0 * Add fvwm24 (previously repocopieed fvwm2).cy2011-04-17