aboutsummaryrefslogtreecommitdiff
path: root/textproc/odt2txt
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-06-01 08:22:53 +0000
committerWen Heping <wen@FreeBSD.org>2011-06-01 08:22:53 +0000
commitb57fa0c7cc127a328897288fffc730eaa0d81222 (patch)
treec7b6c8010853476f565ce7795f0bdeee0b84617e /textproc/odt2txt
parentdb06958a8ebfd589d6433842bfb341f296da71e6 (diff)
downloadports-b57fa0c7cc127a328897288fffc730eaa0d81222.tar.gz
ports-b57fa0c7cc127a328897288fffc730eaa0d81222.zip
- Add odt2txt.1 to port
- Minor cleanups - Pass maintainership to submitter PR: ports/157270 Submitted by: "Alexey V. Degtyarev" <alexey@renatasystems.org>
Notes
Notes: svn path=/head/; revision=274914
Diffstat (limited to 'textproc/odt2txt')
-rw-r--r--textproc/odt2txt/Makefile18
-rw-r--r--textproc/odt2txt/pkg-descr2
2 files changed, 15 insertions, 5 deletions
diff --git a/textproc/odt2txt/Makefile b/textproc/odt2txt/Makefile
index 46b0686a180d..d173f04d3973 100644
--- a/textproc/odt2txt/Makefile
+++ b/textproc/odt2txt/Makefile
@@ -7,11 +7,15 @@
PORTNAME= odt2txt
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://stosberg.net/odt2txt/
+MASTER_SITES= http://stosberg.net/odt2txt/ \
+ ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A simple (and stupid) converter from OpenDocument Text to plain text
+MAINTAINER= alexey@renatasystems.org
+COMMENT= A simple converter from OpenDocument Text to plain text
+
+LICENSE= GPLv2
USE_GMAKE= yes
USE_ICONV= yes
@@ -20,7 +24,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/odt2txt
+MAN1= odt2txt.1
+
+post-patch:
+ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${PREFIX}/bin/odt2txt
+ ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${MANPREFIX}/man/man1/odt2txt.1
.include <bsd.port.mk>
diff --git a/textproc/odt2txt/pkg-descr b/textproc/odt2txt/pkg-descr
index eb40c01d2d4a..5e768153fd08 100644
--- a/textproc/odt2txt/pkg-descr
+++ b/textproc/odt2txt/pkg-descr
@@ -1,4 +1,4 @@
-A simple (and stupid) converter from OpenDocument Text to plain text
+A simple converter from OpenDocument Text to plain text
* small (size of binary is 25 KB on Linux/i386)
* fast (no xml parser involved)