freebsd-ports/devel/py-darcsver/Makefile
Wen Heping e2e3eed4de - Respect PORTDOCS and install doc into correct location
- Bump PORTREVISION

Reported by:	kevlo@
2012-03-08 12:43:02 +00:00

30 lines
633 B
Makefile

# New ports collection makefile for: darcsver
# Date created: 5th June, 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= darcsver
PORTVERSION= 1.7.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Generate a version number from darcs history
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
post-patch:
@${REINPLACE_CMD} -e 's#(doc_loc, data_fnames)##g' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${CP} README.rst ${DOCSDIR}/
.endif
.include <bsd.port.mk>