mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix DOCSDIR
- Limit to supported python versions - Bump PORTREVISION to enforce the correct python version
This commit is contained in:
parent
d46bc459d3
commit
f83518fa90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358447
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= tnote
|
||||
PORTVERSION= 0.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
|
||||
|
||||
@ -11,8 +12,13 @@ COMMENT= Small note taking program for the terminal
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
USES= shebangfix
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SHEBANG_FILES= tnote
|
||||
python_OLD_CMD= ${SETENV} python
|
||||
python_CMD= ${SETENV} python2
|
||||
|
||||
PLIST_FILES= bin/tnote man/man1/tnote.1.gz
|
||||
PORTDOCS= *
|
||||
@ -20,6 +26,8 @@ PORTDOCS= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's|share/man|man|; \
|
||||
s|share/doc/tnote|${DOCSDIR_REL}|' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user