Changeset View
Changeset View
Standalone View
Standalone View
head/deskutils/tnote/Makefile
Show All 10 Lines | |||||
COMMENT= Small note taking program for the terminal | COMMENT= Small note taking program for the terminal | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
USES= python:2 shebangfix | USES= python:2 shebangfix | ||||
USE_PYTHON= distutils | USE_PYTHON= distutils | ||||
SHEBANG_FILES= tnote | SHEBANG_FILES= tnote | ||||
python_OLD_CMD= ${SETENV} python | |||||
python_CMD= ${SETENV} python2 | |||||
PLIST_FILES= bin/tnote man/man1/tnote.1.gz | PLIST_FILES= bin/tnote man/man1/tnote.1.gz | ||||
PORTDOCS= * | PORTDOCS= * | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-extract: | post-extract: | ||||
@${REINPLACE_CMD} -e 's|share/man|man|; \ | @${REINPLACE_CMD} -e 's|share/man|man|; \ | ||||
s|share/doc/tnote|${DOCSDIR_REL}|' \ | s|share/doc/tnote|${DOCSDIR_REL}|' \ | ||||
${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |