1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Upgrade to mc-3.0

This commit is contained in:
Torsten Blum 1995-09-27 22:57:42 +00:00
parent 2112a972c3
commit 00cbf54c60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2201
7 changed files with 194 additions and 27 deletions

View File

@ -1,18 +1,21 @@
# New ports collection makefile for: mc
# Version required: 2.1
# Version required: 3.0
# Date created: 15 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1995/07/15 23:43:34 torstenb Exp $
#
DISTNAME= mc-2.1
DISTNAME= mc-3.0
CATEGORIES= utilities
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX} --with-ncurses
STRIP=
post-install:
@gzip -9nf ${PREFIX}/man/man1/mc.1
@gzip -9nf ${PREFIX}/man/man1/mc.1 ${PREFIX}/man/man8/mc.8
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (mc-2.1.tar.gz) = 82ad07033bf6eca1386929091e6d7678
MD5 (mc-3.0.tar.gz) = 6b9b8fc224239bbc4737e470594151de

View File

@ -1,19 +1,121 @@
*** Makefile.in.orig Sat Jul 15 13:13:47 1995
--- Makefile.in Sat Jul 15 13:13:52 1995
*** configure.orig Mon Sep 18 21:27:59 1995
--- configure Mon Sep 18 21:29:01 1995
***************
*** 10,16 ****
INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
! LIBS = @LIBS@ $(XLIB)
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DVERSION=\""$(VERSION)"\" $(XINC)
--- 10,16 ----
INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
! LIBS = @LIBS@ $(XLIB) -lmytinfo
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DVERSION=\""$(VERSION)"\" $(XINC)
*** 4828,4834 ****
then
search_ncurses=true
else
! LIBS="$LIBS -L$withval/lib -lncurses"
CPPFLAGS="$CPPFLAGS -I$withval/include"
search_ncurses=false
screen_manager="ncurses"
--- 4828,4834 ----
then
search_ncurses=true
else
! LIBS="$LIBS -L$withval/lib -lncurses -lmytinfo"
CPPFLAGS="$CPPFLAGS -I$withval/include"
search_ncurses=false
screen_manager="ncurses"
***************
*** 5661,5667 ****
if test -f /usr/include/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses"
CPPFLAGS="$CPPFLAGS "
search_ncurses=false
screen_manager="ncurses on /usr/include"
--- 5661,5667 ----
if test -f /usr/include/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo"
CPPFLAGS="$CPPFLAGS "
search_ncurses=false
screen_manager="ncurses on /usr/include"
***************
*** 5678,5684 ****
if test -f /usr/include/ncurses/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses"
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/include/ncurses"
--- 5678,5684 ----
if test -f /usr/include/ncurses/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo"
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/include/ncurses"
***************
*** 5695,5701 ****
if test -f /usr/local/include/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -L/usr/local/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
search_ncurses=false
screen_manager="ncurses on /usr/local"
--- 5695,5701 ----
if test -f /usr/local/include/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
search_ncurses=false
screen_manager="ncurses on /usr/local"
***************
*** 5712,5718 ****
if test -f /usr/local/include/ncurses/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -L/usr/local/lib -L/usr/local/lib/ncurses"
CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/local/include/ncurses"
--- 5712,5718 ----
if test -f /usr/local/include/ncurses/ncurses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib -L/usr/local/lib/ncurses"
CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/local/include/ncurses"
***************
*** 5730,5736 ****
if test -f /usr/local/include/ncurses/curses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6
! LIBS="$LIBS -lncurses -L/usr/local/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/local/.../ncurses"
--- 5730,5736 ----
if test -f /usr/local/include/ncurses/curses.h
then
echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/local/.../ncurses"
***************
*** 5748,5754 ****
if test -f /usr/include/ncurses/curses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6
! LIBS="$LIBS -lncurses"
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/include/ncurses"
--- 5748,5754 ----
if test -f /usr/include/ncurses/curses.h
then
echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6
! LIBS="$LIBS -lncurses -lmytinfo"
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/include/ncurses"

19
misc/mc/files/patch-ab Normal file
View File

@ -0,0 +1,19 @@
*** vfs/Makefile.in.orig Wed Sep 27 20:07:56 1995
--- vfs/Makefile.in Wed Sep 27 20:08:28 1995
***************
*** 75,81 ****
install:
if test x@mcserv@ != x; then \
! $(INSTALL_PROGRAM) mcserv $(DESTDIR)$(bindir)/$(binprefix)mcserv; \
fi
install.extfs:
--- 75,81 ----
install:
if test x@mcserv@ != x; then \
! $(INSTALL_PROGRAM) mcserv $(DESTDIR)$(sbindir)/$(binprefix)mcserv; \
fi
install.extfs:

29
misc/mc/files/patch-ac Normal file
View File

@ -0,0 +1,29 @@
*** Make.common.in.orig Wed Sep 27 20:09:34 1995
--- Make.common.in Wed Sep 27 20:10:42 1995
***************
*** 14,19 ****
--- 14,20 ----
binprefix =
manprefix =
bindir = $(exec_prefix)/bin
+ sbindir = $(exec_prefix)/sbin
libdir = $(exec_prefix)/lib/mc
suppbindir = $(libdir)/bin
tidir = $(libdir)/term
***************
*** 42,48 ****
# No way, to make make happy (except GNU), we cannot use := to append
# something to these, so that's why there is a leading _
XCFLAGS = @CFLAGS@
! XCPPFLAGS = @CPPFLAGS@ -I.. -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC)
XLDFLAGS = @LDFLAGS@
XDEFS = @DEFS@
XLIBS = @LIBS@
--- 43,49 ----
# No way, to make make happy (except GNU), we cannot use := to append
# something to these, so that's why there is a leading _
XCFLAGS = @CFLAGS@
! XCPPFLAGS = @CPPFLAGS@ -I.. -DSBINDIR=\""$(sbindir)/"\" -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC)
XLDFLAGS = @LDFLAGS@
XDEFS = @DEFS@
XLIBS = @LIBS@

View File

@ -1,4 +1,4 @@
This is version 2.0 of the Midnight Commander, a free Norton Commander
This is version 3.0 of the Midnight Commander, a free Norton Commander
Clone with many useful features. The Midnight Commander comes with
mouse support on xterms.

View File

@ -1,5 +1,19 @@
bin/mc
lib/mc.hlp
lib/mc.ext
lib/mc.menu
sbin/mcserv
lib/mc/bin/mcfn_install
lib/mc/term/ansi.ti
lib/mc/term/linux.ti
lib/mc/term/vt100.ti
lib/mc/term/xterm.ti
lib/mc/term/xterm.tcap
lib/mc/term/xterm.ad
lib/mc/term/README.xterm
lib/mc/mc.hlp
lib/mc/mc.ext
lib/mc/mc.menu
lib/mc/mc.hint
lib/mc/mc.lib
lib/mc/mc.tcl
lib/mc/FAQ
man/man1/mc.1.gz
man/man8/mc.8.gz