aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/csvdiff/Makefile
blob: eaa6d762567f6410bb23e78b5c1931f5a2dc75cf (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
# New ports collection makefile for:    csvdiff
# Date created:             2006/07/12
# Whom:                 chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   csvdiff
PORTVERSION=    1.3
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION:S,.,-,g}

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

NO_BUILD=   yes
USE_PERL5=  yes
PLIST_FILES=    bin/csvdiff
WRKSRC=     ${WRKDIR}
.if !defined(NOPORTDOCS)
PORTDOCS=   CHANGES README TODO
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>