Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= catdoc |
8 |
PORTNAME= catdoc |
9 |
PORTVERSION= 0.94.2 |
9 |
PORTVERSION= 0.94.2 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= textproc |
11 |
CATEGORIES= textproc |
11 |
MASTER_SITES= http://www.amdmi3.ru/distfiles/ \ |
12 |
MASTER_SITES= http://www.amdmi3.ru/distfiles/ \ |
12 |
ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \ |
13 |
ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \ |
Lines 19-25
Link Here
|
19 |
|
20 |
|
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
22 |
MAN1= catdoc.1 wordview.1 xls2csv.1 catppt.1 |
23 |
MAN1= catdoc.1 xls2csv.1 catppt.1 |
|
|
24 |
|
25 |
OPTIONS= WORDVIEW "Build Tcl/Tk document viewer" On |
23 |
|
26 |
|
24 |
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R |
27 |
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R |
25 |
# Remove the below line to get Cyrillic code page support instead |
28 |
# Remove the below line to get Cyrillic code page support instead |
Lines 31-41
Link Here
|
31 |
|
34 |
|
32 |
.include <bsd.port.pre.mk> |
35 |
.include <bsd.port.pre.mk> |
33 |
|
36 |
|
34 |
.for i in 0 1 2 3 4 |
37 |
.if defined(WITH_WORDVIEW) |
35 |
.if exists(${LOCALBASE}/bin/wish8.${i}) |
38 |
USE_TK= 80+ |
36 |
CONFIGURE_ARGS= --with-wish=${LOCALBASE}/bin/wish8.${i} |
39 |
.include "${PORTSDIR}/Mk/bsd.tcl.mk" |
37 |
RUN_DEPENDS+= ${LOCALBASE}/bin/wish8.${i}:${PORTSDIR}/x11-toolkits/tk8${i} |
40 |
CONFIGURE_ARGS+= --with-wish=${WISH} |
|
|
41 |
PLIST_SUB+= WORDVIEW="" |
42 |
MAN1+= wordview.1 |
43 |
.else |
44 |
CONFIGURE_ARGS+= --disable-wordview |
45 |
PLIST_SUB+= WORDVIEW="@comment " |
38 |
.endif |
46 |
.endif |
39 |
.endfor |
|
|
40 |
|
47 |
|
41 |
.include <bsd.port.post.mk> |
48 |
.include <bsd.port.post.mk> |