svn commit: r332123 - head/textproc/catdoc
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 30 14:58:59 UTC 2013
Author: amdmi3
Date: Wed Oct 30 14:58:58 2013
New Revision: 332123
URL: http://svnweb.freebsd.org/changeset/ports/332123
Log:
- Support staging
Modified:
head/textproc/catdoc/Makefile
head/textproc/catdoc/pkg-plist
Modified: head/textproc/catdoc/Makefile
==============================================================================
--- head/textproc/catdoc/Makefile Wed Oct 30 14:57:19 2013 (r332122)
+++ head/textproc/catdoc/Makefile Wed Oct 30 14:58:58 2013 (r332123)
@@ -6,7 +6,7 @@ PORTVERSION= 0.94.2
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|} \
+ LOCAL/amdmi3 \
ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \
ftp://ftp.demos.ru/pub/sunfreeware/SOURCES/
@@ -14,34 +14,33 @@ MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= MS Word/Excel converter to plain ASCII or TeX. TK viewer included
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-MAN1= catdoc.1 xls2csv.1 catppt.1
+CONFIGURE_ARGS= --with-install-root="${STAGEDIR}"
+USES= gmake
+
+PORTDATA= *
OPTIONS_DEFINE= WORDVIEW
+OPTIONS_DEFAULT=WORDVIEW
+OPTIONS_SUB= yes
+
WORDVIEW_DESC= Build Tcl/Tk document viewer
-OPTIONS_DEFAULT= WORDVIEW
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
# Remove the below line to get Cyrillic code page support instead
CFLAGS+= -DLATIN1=1
.endif
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
-
-.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWORDVIEW}
USE_TK= 84+
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
CONFIGURE_ARGS+= --with-wish=${WISH}
-PLIST_SUB+= WORDVIEW=""
-MAN1+= wordview.1
.else
CONFIGURE_ARGS+= --disable-wordview
-PLIST_SUB+= WORDVIEW="@comment "
.endif
-.include <bsd.port.post.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
+
+.include <bsd.port.mk>
Modified: head/textproc/catdoc/pkg-plist
==============================================================================
--- head/textproc/catdoc/pkg-plist Wed Oct 30 14:57:19 2013 (r332122)
+++ head/textproc/catdoc/pkg-plist Wed Oct 30 14:58:58 2013 (r332123)
@@ -2,54 +2,7 @@ bin/catdoc
bin/catppt
%%WORDVIEW%%bin/wordview
bin/xls2csv
-%%DATADIR%%/8859-1.txt
-%%DATADIR%%/8859-10.txt
-%%DATADIR%%/8859-11.txt
-%%DATADIR%%/8859-13.txt
-%%DATADIR%%/8859-14.txt
-%%DATADIR%%/8859-15.txt
-%%DATADIR%%/8859-2.txt
-%%DATADIR%%/8859-3.txt
-%%DATADIR%%/8859-4.txt
-%%DATADIR%%/8859-5.txt
-%%DATADIR%%/8859-6.txt
-%%DATADIR%%/8859-7.txt
-%%DATADIR%%/8859-8.txt
-%%DATADIR%%/8859-9.txt
-%%DATADIR%%/ascii.replchars
-%%DATADIR%%/ascii.specchars
-%%DATADIR%%/cp1250.txt
-%%DATADIR%%/cp1251.txt
-%%DATADIR%%/cp1252.txt
-%%DATADIR%%/cp1253.txt
-%%DATADIR%%/cp1254.txt
-%%DATADIR%%/cp1255.txt
-%%DATADIR%%/cp1256.txt
-%%DATADIR%%/cp1257.txt
-%%DATADIR%%/cp1258.txt
-%%DATADIR%%/cp437.txt
-%%DATADIR%%/cp850.txt
-%%DATADIR%%/cp852.txt
-%%DATADIR%%/cp855.txt
-%%DATADIR%%/cp857.txt
-%%DATADIR%%/cp860.txt
-%%DATADIR%%/cp861.txt
-%%DATADIR%%/cp862.txt
-%%DATADIR%%/cp863.txt
-%%DATADIR%%/cp864.txt
-%%DATADIR%%/cp865.txt
-%%DATADIR%%/cp866.txt
-%%DATADIR%%/cp869.txt
-%%DATADIR%%/cp874.txt
-%%DATADIR%%/koi8-r.txt
-%%DATADIR%%/koi8-u.txt
-%%DATADIR%%/mac-arabic.txt
-%%DATADIR%%/mac-centeuro.txt
-%%DATADIR%%/mac-cyrillic.txt
-%%DATADIR%%/mac-greek.txt
-%%DATADIR%%/mac-hebrew.txt
-%%DATADIR%%/mac-roman.txt
-%%DATADIR%%/tex.replchars
-%%DATADIR%%/tex.specchars
-%%DATADIR%%/us-ascii.txt
- at dirrm %%DATADIR%%
+man/man1/catdoc.1.gz
+man/man1/catppt.1.gz
+%%WORDVIEW%%man/man1/wordview.1.gz
+man/man1/xls2csv.1.gz
More information about the svn-ports-all
mailing list