aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-16 01:35:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-16 01:35:05 +0800
commit8131c135faf4c4052fcab2eecc6ca776512da4ee (patch)
treebdd02051c914b256e75ca42fb57c713e8d485dc0 /misc
parent889e77c9a05629c749e5a91866156594d0801cf9 (diff)
downloadfreebsd-ports-gnome-8131c135faf4c4052fcab2eecc6ca776512da4ee.tar.gz
freebsd-ports-gnome-8131c135faf4c4052fcab2eecc6ca776512da4ee.tar.zst
freebsd-ports-gnome-8131c135faf4c4052fcab2eecc6ca776512da4ee.zip
- 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
Diffstat (limited to 'misc')
-rw-r--r--misc/mc/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 788159ac5d53..8fc4c728a773 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -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/