aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/odt2txt/Makefile
blob: e9d607f3b39b41f9346ec367d9c55969c6fa1f5f (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.2
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>