mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
74f57da8f4
PR: ports/70443 Approved by: vanilla (co-mentor)
37 lines
813 B
Makefile
37 lines
813 B
Makefile
# 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
|
|
.if ${OSVERSION} >= 502124
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src::reference.h-gcc342 \
|
|
${FILESDIR}/extra-patch-src::sablo.h-gcc342
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|