svn commit: r358447 - head/deskutils/tnote
Marcus von Appen
mva at FreeBSD.org
Thu Jun 19 18:08:14 UTC 2014
Author: mva
Date: Thu Jun 19 18:08:13 2014
New Revision: 358447
URL: http://svnweb.freebsd.org/changeset/ports/358447
QAT: https://qat.redports.org/buildarchive/r358447/
Log:
- Fix DOCSDIR
- Limit to supported python versions
- Bump PORTREVISION to enforce the correct python version
Modified:
head/deskutils/tnote/Makefile
Modified: head/deskutils/tnote/Makefile
==============================================================================
--- head/deskutils/tnote/Makefile Thu Jun 19 18:06:38 2014 (r358446)
+++ head/deskutils/tnote/Makefile Thu Jun 19 18:08:13 2014 (r358447)
@@ -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 t
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>
More information about the svn-ports-all
mailing list