1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add staging support

- Convert to USES=tar:bzip2
This commit is contained in:
Pawel Pekala 2014-06-06 17:03:48 +00:00
parent 5740ccc8b9
commit baa2d05ac3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356821
2 changed files with 2 additions and 11 deletions

View File

@ -14,25 +14,15 @@ COMMENT= Tool to post subversion repository commit information
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}subversion>0:${PORTSDIR}/devel/py-subversion
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_BZIP2= yes
USES= tar:bzip2
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= ${DISTVERSION}
MAN1= svn-mailer.1
PORTDOCS= *
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
PYDISTUTILS_INSTALLARGS+= --no-install-docs
.endif
post-patch:
@${REINPLACE_CMD} \
-e "1s|^.*|#!${PYTHON_CMD}|" \

View File

@ -104,6 +104,7 @@ bin/svn-mailer
%%PYTHON_SITELIBDIR%%/svnmailer/util.py
%%PYTHON_SITELIBDIR%%/svnmailer/util.pyc
%%PYTHON_SITELIBDIR%%/svnmailer/util.pyo
man/man1/svn-mailer.1.gz
@dirrm %%PYTHON_SITELIBDIR%%/svnmailer/browser
@dirrm %%PYTHON_SITELIBDIR%%/svnmailer/notifier
@dirrm %%PYTHON_SITELIBDIR%%/svnmailer/settings