diff options
Diffstat (limited to 'textproc/catdoc/Makefile')
| -rw-r--r-- | textproc/catdoc/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile index a195f7d43c73..649557062f40 100644 --- a/textproc/catdoc/Makefile +++ b/textproc/catdoc/Makefile @@ -7,6 +7,7 @@ PORTNAME= catdoc PORTVERSION= 0.91.4 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ice.ru/pub/vitus/ @@ -14,22 +15,21 @@ 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> +.include <bsd.port.pre.mk> + +.for i in 0 1 2 3 +.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> |
