| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/catdoc/ |
Upload File : |
PORTNAME= catdoc
PORTVERSION= 0.95
CATEGORIES= textproc
MASTER_SITES= http://ftp.wagner.pp.ru/pub/catdoc/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= MS Word/Excel converter to plain ASCII or TeX. TK viewer included
WWW= https://www.wagner.pp.ru/~vitus/software/catdoc/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-install-root="${STAGEDIR}"
USES= cpe gmake
CPE_VENDOR= fossies
PORTDATA= *
OPTIONS_DEFINE= WORDVIEW
OPTIONS_DEFAULT=WORDVIEW
OPTIONS_SUB= yes
WORDVIEW_DESC= Build Tcl/Tk document viewer
WORDVIEW_USES= tk
WORDVIEW_CONFIGURE_ON= --with-wish=${WISH}
WORDVIEW_CONFIGURE_OFF= --disable-wordview
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
# Remove the below line to get Cyrillic code page support instead
CFLAGS+= -DLATIN1=1
.endif
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
post-install:
cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} catdoc catppt xls2csv
.include <bsd.port.mk>