Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 17:35:05 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461937 - head/misc/mc
Message-ID:  <201802151735.w1FHZ5cC065774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb 15 17:35:05 2018
New Revision: 461937
URL: https://svnweb.freebsd.org/changeset/ports/461937

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Add missing run-dependency on python
  - Fix shebangs properly, do not fix shebangs on files which do not have them
  
  Approved by:	portmgr blanket

Modified:
  head/misc/mc/Makefile

Modified: head/misc/mc/Makefile
==============================================================================
--- head/misc/mc/Makefile	Thu Feb 15 17:05:45 2018	(r461936)
+++ head/misc/mc/Makefile	Thu Feb 15 17:35:05 2018	(r461937)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mc
 PORTVERSION=	4.8.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc shells
 MASTER_SITES=	http://ftp.midnight-commander.org/ \
 		http://ftp.osuosl.org/pub/midnightcommander/
@@ -11,16 +11,14 @@ MASTER_SITES=	http://ftp.midnight-commander.org/ \
 MAINTAINER=	woodsb02@FreeBSD.org
 COMMENT=	Midnight Commander, a free Norton Commander Clone
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 CONFLICTS=	mc-light-4*
 
-USES=		gmake shebangfix perl5 pkgconfig tar:xz libtool
-SHEBANG_FILES=	misc/mcedit.menu.in configure configure.ac \
-		${WRKSRC}/src/vfs/extfs/helpers/Makefile.in \
-		${WRKSRC}/src/vfs/extfs/helpers/s3+.in \
+USES=		gmake shebangfix perl5 pkgconfig python:2.7,run tar:xz libtool
+SHEBANG_FILES=	${WRKSRC}/src/vfs/extfs/helpers/s3+.in \
 		${WRKSRC}/src/vfs/extfs/helpers/uc1541.in
-python_CMD=	${LOCALBASE}/bin/python2
 python_OLD_CMD=	@PYTHON@
 USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
@@ -86,6 +84,7 @@ post-install:
 	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
 	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+
 post-install-X11-on:
 	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802151735.w1FHZ5cC065774>