blob: f486476051ffc0c837550eb2d75a8f76ccf2ae2a (
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
|
# 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>
|