# 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= A 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 USE_PYTHON= yes MANCOMPRESSED= yes MAN1= twander.1 NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${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} ${DOCSDIR} .endfor .endif post-patch: @${REINPLACE_CMD} \ -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/twander.py @${REINPLACE_CMD} \ -e 's|python |${PYTHON_CMD} |' \ ${WRKSRC}/Makefile .include