mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
misc/mc: Only install desktop entry and icon if X11 option is enabled
PR: 214812 Submitted by: Robert Schulze <rs@bytecamp.net>
This commit is contained in:
parent
64ffdffd69
commit
1ee4fa3feb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435520
@ -3,13 +3,10 @@
|
||||
|
||||
PORTNAME= mc
|
||||
PORTVERSION= 4.8.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc shells
|
||||
MASTER_SITES= http://ftp.midnight-commander.org/ \
|
||||
http://ftp.osuosl.org/pub/midnightcommander/ \
|
||||
SF/nemysisfreebsdp/misc/:icons
|
||||
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}.png:icons
|
||||
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
||||
http://ftp.osuosl.org/pub/midnightcommander/
|
||||
|
||||
MAINTAINER= woodsb02@FreeBSD.org
|
||||
COMMENT= Midnight Commander, a free Norton Commander Clone
|
||||
@ -84,13 +81,13 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${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/
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,3 @@
|
||||
TIMESTAMP = 1488784684
|
||||
TIMESTAMP = 1488787262
|
||||
SHA256 (mc-4.8.19.tar.xz) = eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df
|
||||
SIZE (mc-4.8.19.tar.xz) = 2521808
|
||||
SHA256 (mc.png) = 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe
|
||||
SIZE (mc.png) = 6466
|
||||
|
BIN
misc/mc/files/mc.png
Normal file
BIN
misc/mc/files/mc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
@ -85,7 +85,7 @@ man/man1/mcview.1.gz
|
||||
%%NLS%%man/pl/man1/mc.1.gz
|
||||
%%NLS%%man/ru/man1/mc.1.gz
|
||||
%%NLS%%man/sr/man1/mc.1.gz
|
||||
share/applications/mc.desktop
|
||||
%%X11%%share/applications/mc.desktop
|
||||
%%NLS%%share/locale/az/LC_MESSAGES/mc.mo
|
||||
%%NLS%%share/locale/be/LC_MESSAGES/mc.mo
|
||||
%%NLS%%share/locale/bg/LC_MESSAGES/mc.mo
|
||||
@ -314,4 +314,4 @@ share/applications/mc.desktop
|
||||
%%EDITOR%%%%DATADIR%%/syntax/yaml.syntax
|
||||
%%EDITOR%%%%DATADIR%%/syntax/yum-repo.syntax
|
||||
%%EDITOR%%%%DATADIR%%/syntax/yxx.syntax
|
||||
share/pixmaps/mc.png
|
||||
%%X11%%share/pixmaps/mc.png
|
||||
|
Loading…
Reference in New Issue
Block a user