aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xlreader/Makefile
blob: c944f33b7db9ce1d31c9c83040342d56eab58f4f (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   xlreader
PORTVERSION=    0.9.0
CATEGORIES= textproc
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Convert .xls spread sheets to tab delimited CSV or SQL inserts

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} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>