blob: f18dac99c4d109bb17aeea49ca6cb845ebebb9ef (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: odt2txt
# Date created: 2007/01/06
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= odt2txt
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://stosberg.net/odt2txt/ \
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
MAINTAINER= alexey@renatasystems.org
COMMENT= A simple converter from OpenDocument Text to plain text
LICENSE= GPLv2
USE_GMAKE= yes
USES= iconv
CPPFLAGS+= -I${LOCALBASE}/include
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}/odt2txt ${PREFIX}/bin/odt2txt
${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${MANPREFIX}/man/man1/odt2txt.1
.include <bsd.port.mk>
|