summaryrefslogtreecommitdiff
path: root/misc/mc
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-06-25 07:11:50 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-06-25 07:11:50 +0000
commit215a67992039e4158ac584966bcc45c8f8903a11 (patch)
treecf92b4372971998a79004ad9532a1c91c78de324 /misc/mc
parentAdd some patches needed to build on -current. (diff)
Minor cleanup, and a patch I forgot to `cvs add' last time.
Submitted by: "Vanill I. Shu" <vanilla@MinJe.com.TW>
Notes
Notes: svn path=/head/; revision=7071
Diffstat (limited to 'misc/mc')
-rw-r--r--misc/mc/Makefile5
-rw-r--r--misc/mc/files/patch-af19
-rw-r--r--misc/mc/pkg-plist1
3 files changed, 23 insertions, 2 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index c0056ec7c8aa..c78bfa3a2f68 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.10 1997/05/25 21:24:32 torstenb Exp $
+# $Id: Makefile,v 1.11 1997/06/20 12:22:15 tg Exp $
#
DISTNAME= mc-4.0
@@ -18,4 +18,7 @@ CONFIGURE_ARGS= --with-ncurses --without-edit --without-subshell
MAN1= mc.1 mcedit.1
MAN8= mcserv.8
+post-install:
+ @ ${RMDIR} ${PREFIX}/lib/mc/icons
+
.include <bsd.port.mk>
diff --git a/misc/mc/files/patch-af b/misc/mc/files/patch-af
new file mode 100644
index 000000000000..7c077d4fa3bd
--- /dev/null
+++ b/misc/mc/files/patch-af
@@ -0,0 +1,19 @@
+*** Makefile.in.orig Tue Jun 24 01:26:06 1997
+--- Makefile.in Tue Jun 24 01:26:22 1997
+*************** config.h.in: configure.in acconfig.h
+*** 38,44 ****
+ install: installdirs @vcs@
+ @for I in $(unixdirs); do cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1; cd ..; done
+ $(INSTALL_DATA) $(srcdir)/FAQ $(DESTDIR)$(libdir)/FAQ
+! $(INSTALL_PROGRAM) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install
+ chmod +x $(DESTDIR)$(suppbindir)/mcfn_install
+ @echo "Please verify that the configuration values are correctly"
+ @echo "set in the mc.ext file in $(libdir)"
+--- 38,44 ----
+ install: installdirs @vcs@
+ @for I in $(unixdirs); do cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1; cd ..; done
+ $(INSTALL_DATA) $(srcdir)/FAQ $(DESTDIR)$(libdir)/FAQ
+! $(INSTALL_DATA) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install
+ chmod +x $(DESTDIR)$(suppbindir)/mcfn_install
+ @echo "Please verify that the configuration values are correctly"
+ @echo "set in the mc.ext file in $(libdir)"
diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 74ffc3768eb5..9d48010dd8ce 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -36,5 +36,4 @@ man/man8/mcserv.8.gz
@dirrm lib/mc/bin
@dirrm lib/mc/extfs
@dirrm lib/mc/term
-@dirrm lib/mc/icons
@dirrm lib/mc