freebsd-ports/textproc/catdoc/Makefile
2001-02-05 16:35:26 +00:00

36 lines
808 B
Makefile

# New ports collection makefile for: catdoc
# Date created: 11 November 1997
# Whom: Brion Moss <brion@queeg.com>
#
# $FreeBSD$
#
PORTNAME= catdoc
PORTVERSION= 0.91.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ice.ru/pub/vitus/
MASTER_SITE_SUBDIR= support/catdoc
MAINTAINER= brion@queeg.com
WRKSRC= ${WRKDIR}/catdoc
GNU_CONFIGURE= yes
MAN1= catdoc.1 xls2csv.1
.if exists(${PREFIX}/bin/wish8.0)
CONFIGURE_ARGS+= --with-wish=${PREFIX}/bin/wish8.0
.elseif exists(${PREFIX}/bin/wish8.1)
CONFIGURE_ARGS+= --with-wish=${PREFIX}/bin/wish8.1
.else
CONFIGURE_ARGS+= --disable-wordview
.endif
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
# Remove the below line to get Cyrillic code page support instead
CFLAGS+= -DLATIN1=1
.endif
.include <bsd.port.mk>