1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/lfm/Makefile
Boris Samorodov da3e5bc4e7 . define PORTDOCS at Makefile;
. remove double install of port docs;
. remove .for loop, use plain install;
. remove PORTDOCS lines from pkg-plist.
2013-05-27 11:33:08 +00:00

41 lines
783 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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAN1= lfm.1 pyview.1
PORTDOCS= 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 ${MAN1PREFIX}/man/man1)
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>