aboutsummaryrefslogtreecommitdiff
path: root/textproc/freexl/Makefile
blob: 5170a0beb093056de199896341e0c3e7ff999be0 (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
# New ports collection makefile for:	freexl
# Date created:				19 May 2012
# Whom:					lbartoletti <coder@tuxfamily.org>
#
# $FreeBSD$
#

PORTNAME=	freexl
DISTVERSION=	1.0.0c
CATEGORIES=	textproc
MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/

MAINTAINER=	coder@tuxfamily.org
COMMENT=	Library to extract valid data from within an Excel (.xls) spreadsheet

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_ICONV=	yes

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -liconv
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in
.include <bsd.port.mk>