1998-02-12 17:30:29 +00:00
|
|
|
# New ports collection makefile for: catdoc
|
|
|
|
# Date created: 11 November 1997
|
|
|
|
# Whom: Brion Moss <brion@queeg.com>
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-02-12 17:30:29 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= catdoc
|
2000-09-28 21:07:00 +00:00
|
|
|
PORTVERSION= 0.91.4
|
1998-02-12 17:30:29 +00:00
|
|
|
CATEGORIES= textproc
|
1999-06-04 23:15:08 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
|
|
|
|
ftp://ftp.ice.ru/pub/vitus/
|
|
|
|
MASTER_SITE_SUBDIR= support/catdoc
|
1998-02-12 17:30:29 +00:00
|
|
|
|
|
|
|
MAINTAINER= brion@queeg.com
|
|
|
|
|
2000-09-28 21:07:00 +00:00
|
|
|
WRKSRC= ${WRKDIR}/catdoc
|
|
|
|
|
1998-12-22 03:03:32 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-09-28 21:07:00 +00:00
|
|
|
MAN1= catdoc.1 xls2csv.1
|
1998-02-12 17:30:29 +00:00
|
|
|
|
1999-06-04 23:15:08 +00:00
|
|
|
.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
|
|
|
|
|
1998-07-24 11:48:20 +00:00
|
|
|
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
|
1998-03-16 21:17:29 +00:00
|
|
|
# Remove the below line to get Cyrillic code page support instead
|
|
|
|
CFLAGS+= -DLATIN1=1
|
1998-07-24 11:48:20 +00:00
|
|
|
.endif
|
1998-03-16 21:17:29 +00:00
|
|
|
|
1998-02-12 17:30:29 +00:00
|
|
|
.include <bsd.port.mk>
|