aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/twander/Makefile
blob: 5065c89fdbece74791b96703c217b23086a6172c (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: tundra
# $FreeBSD$

PORTNAME=   twander
PORTVERSION=    3.231
PORTREVISION=   1
CATEGORIES= x11-fm
MASTER_SITES=   http://www.tundraware.com/Software/twander/

MAINTAINER= twander@tundraware.com
COMMENT=    Better Filesystem Browser

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

USES=       python
NO_ARCH=    yes

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} \
        -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
        ${WRKSRC}/twander.py
    @${REINPLACE_CMD} \
        -e 's|python |${PYTHON_CMD} |' \
        ${WRKSRC}/Makefile

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in READ-1ST.txt WHATSNEW.txt .twander twander-license.txt twander.html twander.pdf twander.ps twander.txt
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>