# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD: tags/RELEASE_11_0_0/textproc/csvdiff/Makefile 375192 2014-12-21 21:20:23Z antoine $

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

NO_BUILD=	yes
USES=		perl5 shebangfix tar:tgz
SHEBANG_FILES=	csvdiff.pl
PLIST_FILES=	bin/csvdiff
WRKSRC=		${WRKDIR}
PORTDOCS=	CHANGES README TODO

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
