1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/textproc/catdoc/Makefile
Stefan Eßer 0eaf38034e textproc/catdoc: Add CPE information
Approved by:	portmgr (blanket)
2021-10-14 13:02:06 +02:00

44 lines
1015 B
Makefile

# Created by: Brion Moss <brion@queeg.com>
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
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>