summaryrefslogtreecommitdiff
path: root/textproc/catdoc/Makefile
blob: 8bbc295fb1cbe45454478b311f4ae189ab24a9dd (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
# New ports collection makefile for:   catdoc
# Version required:    0.90.1
# Date created:        11 November 1997
# Whom:                Brion Moss <brion@queeg.com>
#
# $FreeBSD$
#

DISTNAME=	catdoc-0.90.3
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_TEX_CTAN} \
		ftp://ftp.ice.ru/pub/vitus/
MASTER_SITE_SUBDIR=	support/catdoc

MAINTAINER=	brion@queeg.com

GNU_CONFIGURE=	yes
MAN1=		catdoc.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>