freebsd-ports/textproc/catdoc/Makefile
Edwin Groothuis 23ac2035b9 [MAINTAINER] update my email address in 76 ports + mirror some distfiles
I've got a brand new hosting, so change my email to the new
	one.  Also, now I can mirror some distfiles, so update
	MASTER_SITES for some ports.

PR:		ports/107038
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2006-12-21 20:41:33 +00:00

40 lines
1007 B
Makefile

# New ports collection makefile for: catdoc
# Date created: 11 November 1997
# Whom: Brion Moss <brion@queeg.com>
#
# $FreeBSD$
#
PORTNAME= catdoc
PORTVERSION= 0.94.2
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.45.free.net/pub/catdoc/ \
http://www.amdmi3.ru/distfiles/
# ${MASTER_SITE_TEX_CTAN:S/$/support\/catdoc\//}
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= MS Word/Excel converter to plain ASCII or TeX. TK viewer included
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= catdoc.1 wordview.1 xls2csv.1 catppt.1
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
# Remove the below line to get Cyrillic code page support instead
CFLAGS+= -DLATIN1=1
.endif
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
.include <bsd.port.pre.mk>
.for i in 0 1 2 3 4
.if exists(${LOCALBASE}/bin/wish8.${i})
CONFIGURE_ARGS= --with-wish=${LOCALBASE}/bin/wish8.${i}
RUN_DEPENDS+= ${LOCALBASE}/bin/wish8.${i}:${PORTSDIR}/x11-toolkits/tk8${i}
.endif
.endfor
.include <bsd.port.post.mk>