aboutsummaryrefslogtreecommitdiff
path: root/textproc/rtfx/Makefile
blob: b8e18814eda818306d5a352f7dac18acc32ef9b3 (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
# New ports collection makefile for:	rtfx
# Date created:		2004-07-29
# Whom:			Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#

PORTNAME=	rtfx
PORTVERSION=	0.9.3
CATEGORIES=	textproc
MASTER_SITES=	http://memberwebs.com/nielsen/software/rtfx/

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	An RTF to XML converter

LIB_DEPENDS=	sablot.70:${PORTSDIR}/textproc/sablotron

HAS_CONFIGURE=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes

MAN1=		rtfx.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 500035
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src::domhelpers.h-gcc295
post-patch:
	@${REINPLACE_CMD} -e "s/
//g" ${WRKSRC}/src/xmlcomposer.cpp
.endif

.include <bsd.port.post.mk>