1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: add INSTALLS_EGGINFO, bump version.
This commit is contained in:
Vanilla I. Shu 2014-07-09 05:01:15 +00:00
parent ca57a54d08
commit 49c7e0b99a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361334
2 changed files with 9 additions and 18 deletions

View File

@ -3,34 +3,22 @@
PORTNAME= tailor
PORTVERSION= 0.9.35
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://darcs.arstecnica.it/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Migrates changesets between version control systems
RUN_DEPENDS= ${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
USE_PYTHON= yes
USE_PYDISTUTILS= yes
INSTALLS_EGGINFO= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= README*
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README* ${DOCSDIR}
.endif
# This target is only meant to be used by the port maintainer.
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
| ${SED} -E \
's,.*share/nls/.+$$,,g \
;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g \
;s,.*${DOCSDIR:S,${PREFIX}/,,}.*,,g \
;s,@dirrm (%%PYTHON_SITELIBDIR%%|${PYTHON_LIBDIR:S,${PYTHONBASE}/,,})$$,,g \
' | ${TR} -s '\n') > temp-pkg-plist
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -110,6 +110,9 @@ bin/tailor
%%PYTHON_SITELIBDIR%%/vcpx/workdir.py
%%PYTHON_SITELIBDIR%%/vcpx/workdir.pyc
%%PYTHON_SITELIBDIR%%/vcpx/workdir.pyo
%%PORTDOCS%%%%DOCSDIR%%/README.html
%%PORTDOCS%%%%DOCSDIR%%/README.rst
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/vcpx/repository/p4
@dirrm %%PYTHON_SITELIBDIR%%/vcpx/repository/git
@dirrm %%PYTHON_SITELIBDIR%%/vcpx/repository/darcs