1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/svnmailer/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

33 lines
837 B
Makefile

# Created by: Andrej Zverev <az@inec.ru>
# $FreeBSD$
PORTNAME= svnmailer
DISTVERSION= 1.1.0-dev-r1373
PORTREVISION= 6
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:devel/py-subversion@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python:2.7 tar:bzip2
USE_PYTHON= distutils
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>