1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/mail/svnmailer/Makefile
Pawel Pekala baa2d05ac3 - Add staging support
- Convert to USES=tar:bzip2
2014-06-06 17:03:48 +00:00

34 lines
838 B
Makefile

# Created by: Andrej Zverev <az@inec.ru>
# $FreeBSD$
PORTNAME= svnmailer
DISTVERSION= 1.1.0-dev-r1373
PORTREVISION= 5
CATEGORIES= mail python
MASTER_SITES= http://storage.perlig.de/${PORTNAME}/
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to post subversion repository commit information
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}subversion>0:${PORTSDIR}/devel/py-subversion
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= tar:bzip2
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= ${DISTVERSION}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
-e "1s|^.*|#!${PYTHON_CMD}|" \
-e 's,distutils\.command import install ,setuptools\.command import install ,' \
${WRKSRC}/setup.py
@${REINPLACE_CMD} -e "1s|^.*|#!${PYTHON_CMD}|" ${WRKSRC}/src/svn-mailer
.include <bsd.port.mk>