FreeXL is an open source library to extract valid data from within an Excel (.xls) spreadsheet. FreeXL design goals: to be simple and lightweight to be stable, robust and efficient to be easily and universally portable completely ignoring any GUI-related oddity Note that the final goal means that FreeXL ignores at all fonts, sizes and alignments, and most formats. It ignores Pivot Table, Charts, Formulas, Visual Basic macros and so on. FreeXL is structurally simple and quite light-weight (typically 40-80K of object code, stripped). - Fix PORTVERSION to be more standard (SET DISTVERSION, have PORTVERSION auto set) [2] - Fix Makefile and pkg-plist, pkhconfig must be in libdata/* not lib/* [2] - Fix category [2] PR: ports/168131 [1] Submitted by: lbartoletti <coder@tuxfamily.org> [1] Reviewed by: scheidell@ (me) [2]
29 lines
707 B
Makefile
29 lines
707 B
Makefile
# New ports collection makefile for: freexl
|
|
# Date created: 19 May 2012
|
|
# Whom: lbartoletti <coder@tuxfamily.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freexl
|
|
DISTVERSION= 1.0.0b
|
|
#PORTVERSION= 1.0.0b
|
|
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>
|