aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-02 17:06:21 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-02 17:06:21 +0000
commit9fc819abadd367348abf0d51c6e9a87f01a2efb0 (patch)
tree0f2ced66a840dc7817917c86f356ac3cf0c12d4f
parentfc6180a67f32ef62b459a342c0f3617c0caba209 (diff)
downloadports-9fc819abadd367348abf0d51c6e9a87f01a2efb0.tar.gz
ports-9fc819abadd367348abf0d51c6e9a87f01a2efb0.zip
Notes
-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>