e2e3eed4de
- Bump PORTREVISION Reported by: kevlo@
30 lines
633 B
Makefile
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>
|