aboutsummaryrefslogtreecommitdiff
path: root/deskutils/tnote/Makefile
blob: 4dd759d934aad4f31ac0ea598966f0139d386fc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: ports@c0decafe.net
# $FreeBSD$

PORTNAME=	tnote
PORTVERSION=	0.2.1
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Small note taking program for the terminal

LICENSE=	GPLv3

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=	*

OPTIONS_DEFINE=	DOCS

post-extract:
	@${REINPLACE_CMD} -e 's|share/man|man|; \
		s|share/doc/tnote|${DOCSDIR_REL}|' \
		${WRKSRC}/setup.py

.include <bsd.port.mk>