1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/x11-fm/twander/Makefile
Vanilla I. Shu 3869f1df14 1: Stagify.
2: use options helper.

Approved by:	portmgr@ (blanket approval)
2014-07-01 13:16:49 +00:00

38 lines
935 B
Makefile

# 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
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${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
.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 <bsd.port.mk>