# New ports collection makefile for: rtfx # Date created: 2004-07-29 # Whom: Cheng-Lung Sung # # $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 .if ${OSVERSION} <= 500035 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src::domhelpers.h-gcc295 post-patch: @${REINPLACE_CMD} -e "s/ //g" ${WRKSRC}/src/xmlcomposer.cpp .endif .if ${OSVERSION} >= 502124 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src::reference.h-gcc342 \ ${FILESDIR}/extra-patch-src::sablo.h-gcc342 .endif .include