blob: a33677f153fdf99c37333157d60df81c5b7d61c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PORTNAME= docx2txt
PORTVERSION= 1.4
CATEGORIES= textproc perl5
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
PKGNAMEPREFIX= p5-
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Utility to convert Docx documents to equivalent Text documents
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 tar:tgz
NO_ARCH= yes
NO_BUILD= yes
pre-patch:
${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/docx2txt.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/docx2txt.pl ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/docx2txt.sh ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/docx2txt.config ${STAGEDIR}${PREFIX}/etc/docx2txt.config.sample
.include <bsd.port.mk>
|