aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lfm/Makefile
blob: 74710ce015bb38e22fd928880dd092a4009f8594 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   lfm
PORTVERSION=    3.1
CATEGORIES= sysutils
MASTER_SITES=   https://inigo.katxi.org/devel/lfm/ \
        LOCAL/sunpoet

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Last File Manager, a powerful file manager for the UNIX console

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

NO_ARCH=    yes
USE_PYTHON= autoplist distutils noflavors
USES=       python:3.4+

PLIST_FILES=    man/man1/lfm.1.gz

post-patch:
    @${REINPLACE_CMD} -e '/print(__doc__)/d' ${WRKSRC}/setup.py

post-install:
    ${INSTALL_MAN} ${WRKSRC}/lfm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/

.include <bsd.port.mk>