summaryrefslogtreecommitdiff
path: root/sysutils/py-stdiff/Makefile
blob: f26e1a2e117685d0257decb1190dfbde3d6501af (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
# New ports collection makefile for:	py-stdiff
# Date created:				11 Dec 2010
# Whom:					Marcelo Araujo <araujo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=		stdiff
PORTVERSION=		0.2.1
CATEGORIES=		sysutils python
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/

MAINTAINER=		araujo@FreeBSD.org
COMMENT=		Spot The Difference is a file integrity checker.

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	$(INSTALL_MAN) ${WRKSRC}/INSTALL.txt ${DOCSDIR}/
	$(INSTALL_MAN) ${WRKSRC}/LICENSE.txt ${DOCSDIR}/
	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs ${DOCSDIR}/)
.endif
	@if [ ! -f ${PREFIX}/etc/stdiff.conf ]; then \
		${CP} -p ${PREFIX}/etc/stdiff.conf.sample \
		${PREFIX}/etc/stdiff.conf; fi
.include <bsd.port.mk>