aboutsummaryrefslogtreecommitdiff
path: root/misc/mc/Makefile
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2017-03-06 08:05:54 +0000
committerBen Woods <woodsb02@FreeBSD.org>2017-03-06 08:05:54 +0000
commit1ee4fa3feb213a9ef17c3cd4efa643663bc81a3d (patch)
tree1c3bab23f22239a4adecb944b51ede409e05ab60 /misc/mc/Makefile
parent64ffdffd69747f7b8f57cb6cc837b3169b8268be (diff)
downloadports-1ee4fa3feb213a9ef17c3cd4efa643663bc81a3d.tar.gz
ports-1ee4fa3feb213a9ef17c3cd4efa643663bc81a3d.zip
Notes
Diffstat (limited to 'misc/mc/Makefile')
-rw-r--r--misc/mc/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 75acee234ef2..45ba5d63d039 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -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>