mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
da9f7f9014
Read data from Excel spread sheets without Microsoft! Provides an API to allow any application to read Excel documents. The xlreader tool converts Excel data to tab delimited, CSV or SQL inserts. Written in C. Based on the the Java version by Andrew Khan. This project was designed out of frustration. WWW: http://www.giffin.org/xlreader.php PR: ports/82629 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
30 lines
657 B
Makefile
30 lines
657 B
Makefile
# New ports collection makefile for: xlreader
|
|
# Date created: 25 Jun 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xlreader
|
|
PORTVERSION= 0.9.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.giffin.org/download/ \
|
|
http://critical.ch/distfiles/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ehaupt@critical.ch
|
|
COMMENT= Convert .xls spread sheets to tab delimited CSV or SQL inserts
|
|
|
|
USE_REINPLACE= yes
|
|
PLIST_FILES= bin/xlreader
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-L/usr/local/lib||; s|^CFLAGS=.*||; s|gcc|${CC}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|