aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xlreader/Makefile
blob: 7cb1b5259f081060a100d37c083c8473f7bde41a (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
29
# 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>