1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/x11-fm/twander/Makefile
Dmitry Marakasov 692a05914f - Add NO_ARCH
- Switch to options helpers

Approved by:	portmgr blanket
2015-09-06 15:42:35 +00:00

36 lines
887 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= 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>