aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-25 00:16:14 +0800
committermiwi <miwi@FreeBSD.org>2013-03-25 00:16:14 +0800
commit6da512462d8dd40dde47a47d418c084132775f91 (patch)
tree6c6cb6d41ee82d0eb1578de12dfe5f4f301ecc39 /sysutils
parent0116c2b3f3355975347b61a82ff1c6e4bfdd4cd9 (diff)
downloadfreebsd-ports-gnome-6da512462d8dd40dde47a47d418c084132775f91.tar.gz
freebsd-ports-gnome-6da512462d8dd40dde47a47d418c084132775f91.tar.zst
freebsd-ports-gnome-6da512462d8dd40dde47a47d418c084132775f91.zip
- Update MASTER_SITES and WWW: line
PR: 177262 Submitted by: Ports Fury
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lfm/Makefile30
-rw-r--r--sysutils/lfm/pkg-descr8
-rw-r--r--sysutils/lfm/pkg-plist1
3 files changed, 21 insertions, 18 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile
index 8202ae84c4b7..d558a10848cd 100644
--- a/sysutils/lfm/Makefile
+++ b/sysutils/lfm/Makefile
@@ -1,37 +1,41 @@
-# ex:ts=8
-# New ports collection makefile for: lfm
-# Date created: Jul 21, 2001
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= lfm
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://www.terra.es/personal7/inigoserna/lfm/
+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
-USE_PYTHON= 2.4+
+OPTIONS_DEFINE= DOCS
+
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
+
MAN1= lfm.1 pyview.1
post-patch:
- @${REINPLACE_CMD} -e '/MAN_FILES/d' ${WRKSRC}/setup.py
- @${REINPLACE_CMD} -e '/DOC_FILES/d' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e \
+ '/DOC_FILES/d ; \
+ /MAN_FILES/d' ${WRKSRC}/setup.py
+
+.include <bsd.port.options.mk>
post-install:
.for f in lfm pyview
- @${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MAN1PREFIX}/man/man1/
+ (cd ${WRKSRC} && ${INSTALL_MAN} ${f}.1 ${MAN1PREFIX}/man/man1)
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for f in COPYING ChangeLog NEWS README README.pyview TODO
+.for f in ChangeLog NEWS README README.pyview TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${DOCSDIR})
.endfor
.endif
diff --git a/sysutils/lfm/pkg-descr b/sysutils/lfm/pkg-descr
index f8a229f5b6fa..c49e656bc15f 100644
--- a/sysutils/lfm/pkg-descr
+++ b/sysutils/lfm/pkg-descr
@@ -1,6 +1,6 @@
-Last File Manager - lfm - is a simple 'midnight commander'-type file manager.
-It includes a simple file viewer, pyview. Lfm is a curses-based application
-for the UNIX console.
+Last File Manager - lfm - is a simple 'midnight commander'-type file
+manager. It includes a simple file viewer, pyview. Lfm is a curses-based
+application for the UNIX console.
Author: inigoserna@gmail.com
-WWW: http://www.terra.es/personal7/inigoserna/lfm/
+WWW: https://inigo.katxi.org/devel/lfm/
diff --git a/sysutils/lfm/pkg-plist b/sysutils/lfm/pkg-plist
index cba9cb9f1d63..1209be92b3cd 100644
--- a/sysutils/lfm/pkg-plist
+++ b/sysutils/lfm/pkg-plist
@@ -30,7 +30,6 @@ bin/pyview
%%PYTHON_SITELIBDIR%%/lfm/vfs.py
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyc
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyo
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README