aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/tnote/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/deskutils/tnote/Makefile b/deskutils/tnote/Makefile
index 45bd451115ec..ca9905376250 100644
--- a/deskutils/tnote/Makefile
+++ b/deskutils/tnote/Makefile
@@ -7,27 +7,19 @@ CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A small note taking program for the terminal
+COMMENT= Small note taking program for the terminal
LICENSE= GPLv3
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-MAN1= tnote.1
-MANCOMPRESSED= yes
-
-PLIST_FILES= bin/tnote
-
+PLIST_FILES= bin/tnote man/man1/tnote.1.gz
PORTDOCS= *
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
-.if defined(NOPORTDOCS)
-post-patch:
- @${REINPLACE_CMD} -e 's|(.share/doc[^)]*),||' ${WRKSRC}/setup.py
-.endif
-
.include <bsd.port.mk>