2010-12-11 22:09:43 +01:00
|
|
|
# $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
|
|
|
|
|
2013-09-21 01:05:58 +02:00
|
|
|
NO_STAGE= yes
|
2010-12-11 22:09:43 +01:00
|
|
|
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>
|