aboutsummaryrefslogtreecommitdiff
path: root/textproc/loook/Makefile
blob: 2bc50e5ad094bb30a5673b3ce6250849be674b84 (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
34
35
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$

PORTNAME=	loook
PORTVERSION=	0.6.5
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://www.danielnaber.de/loook/
DISTNAME=	${PORTNAME}
DIST_SUBDIR=	python

MAINTAINER=	koalative@gmail.com
COMMENT=	Simple Python tool that search in LibreOffice/OpenOffice files

LICENSE=	GPLv2

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter

WRKSRC=		${WRKDIR}

USES=		python:2 zip
NO_BUILD=	yes

PLIST_FILES=	bin/${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
		${WRKSRC}/${PORTNAME}.py
	@(cd ${WRKSRC} ; ${RM} *.py.bak)

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>