blob: c5f9d7aec80f89245d6112f0e03f79c97403fb65 (
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
36
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= loook
PORTVERSION= 0.6.5
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:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_PKGNAMEPREFIX}iniparse>=0:${PORTSDIR}/devel/py-iniparse
WRKSRC= ${WRKDIR}
USES= zip
USE_PYTHON= 2
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>
|