1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/sysutils/lfm/Makefile
Marcus von Appen fae188751b - Convert ports of sysutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:56:10 +00:00

38 lines
752 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= lfm
PORTVERSION= 2.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE \
https://inigo.katxi.org/devel/lfm/
MAINTAINER= ports@FreeBSD.org
COMMENT= Last File Manager, a simple 'commander'-type file manager
LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
USES= python
USE_PYTHON= distutils
DOCS= ChangeLog NEWS README README.pyview TODO
post-patch:
@${REINPLACE_CMD} -e \
'/DOC_FILES/d ; \
/MAN_FILES/d' ${WRKSRC}/setup.py
.include <bsd.port.options.mk>
post-install:
.for f in lfm pyview
(cd ${WRKSRC} && ${INSTALL_MAN} ${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1)
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>