aboutsummaryrefslogtreecommitdiff
path: root/textproc/odt2txt/Makefile
blob: 8d4fa50dad2a2d0f95ae0cd03381a79b96606e29 (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
# New ports collection makefile for:	odt2txt
# Date created:				2007/01/06
# Whom:					chinsan
#
# $FreeBSD$
#

PORTNAME=	odt2txt
PORTVERSION=	0.3
CATEGORIES=	textproc
MASTER_SITES=	http://stosberg.net/odt2txt/

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	A simple (and stupid) converter from OpenDocument Text to plain text

USE_GMAKE=	yes
USE_ICONV=	yes
CPPFLAGS+=	-DICONV_CHAR="const char" -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/odt2txt

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>