aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/csvdiff/Makefile
blob: dc0f436b4cb6b790ef54299730ebe5022774677f (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
30
31
32
33
34
35
36
37
38
39
40
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

PORTNAME=   csvdiff
PORTVERSION=    1.7
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
#DISTNAME=  ${PORTNAME}_${PORTVERSION:S,.,-,g}
DISTNAME=   ${PORTNAME}17

MAINTAINER= ports@FreeBSD.org
COMMENT=    Compare/diff two (comma) separated files with each other

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       perl5 shebangfix tar:tgz
SHEBANG_FILES=  csvdiff.pl
NO_BUILD=   yes
NO_ARCH=    yes

WRKSRC=     ${WRKDIR}

PORTDOCS=   CHANGES README TODO
PLIST_FILES=    bin/csvdiff

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>