aboutsummaryrefslogtreecommitdiff
path: root/textproc/csvdiff/Makefile
blob: 25836f5dee6df5a87efe1487d2f3de9b00f75f5c (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
# 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=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME=	${PORTNAME}_${PORTVERSION:S,.,-,g}

MAINTAINER=	ports@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>