aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vile
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1998-06-05 04:05:04 +0800
committergj <gj@FreeBSD.org>1998-06-05 04:05:04 +0800
commit9c20fd35a1b810b729e8dd5cb70963971ef6de2a (patch)
tree558e7e92e8565490503d6cbf74816f11c89d7616 /editors/vile
parent3f8a0dc6eb335e70df6c8717412cadea066312bb (diff)
downloadfreebsd-ports-gnome-9c20fd35a1b810b729e8dd5cb70963971ef6de2a.tar.gz
freebsd-ports-gnome-9c20fd35a1b810b729e8dd5cb70963971ef6de2a.tar.zst
freebsd-ports-gnome-9c20fd35a1b810b729e8dd5cb70963971ef6de2a.zip
Update vile to version 8. This adds support for PERL scripts but requires
perl5. Install the documentation and macros in reasonable places. NOTE: If you are running -current then you may have to re-install perl5 to reflect the new /usr/lib/aout, otherwise the make of vile with the optional PERL support could fail. I was forced to do this in the course of testing.
Diffstat (limited to 'editors/vile')
-rw-r--r--editors/vile/Makefile30
-rw-r--r--editors/vile/distinfo2
-rw-r--r--editors/vile/pkg-plist15
-rw-r--r--editors/vile/pkg-plist.perl23
4 files changed, 62 insertions, 8 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index 3243a8853082..d3f8eeab4f01 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -1,14 +1,15 @@
# New ports collection makefile for: vile
-# Version required: 7.3
+# Version required: 8.0
# Date created: Wed Nov 26, 1996
# Whom: pgf
#
-# $Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp $
+# $Id: Makefile,v 1.14 1997/12/10 20:26:37 gj Exp $
#
-DISTNAME= vile-7.3
+DISTNAME= vile-8.0
CATEGORIES= editors
MASTER_SITES= ftp://ftp.clark.net/pub/dickey/vile/ \
+ ftp://ftp.phred.org./pub/vile/ \
ftp://id.wing.net/pub/pgf/vile/
EXTRACT_SUFX= .tgz
@@ -18,8 +19,27 @@ MAKEFILE= makefile
GNU_CONFIGURE= yes
MAN1= vile.1
+.if defined(USE_PERL)
+CONFIGURE_ARGS= --with-perl
+PLIST= ${PKGDIR}/PLIST.perl
+BUILD_DEPENDS= perl5:${PORTSDIR}/lang/perl5
+.endif
+
+pre-configure:
+.if ! defined(USE_PERL)
+ @echo "Define USE_PERL if you want to make a vile which includes"
+ @echo "PERL functionality"
+.endif
+
post-install:
- @echo "You might want to copy the *.rc files from the source tree before"
- @echo "doing \`make clean'."
+.if !defined(NOPORTDOCS)
+ @if ! [ -d ${PREFIX}/share/doc/vile ]; then ${MKDIR} ${PREFIX}/share/doc/vile; fi
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${PREFIX}/share/doc/vile
+.endif
+ @if ! [ -d ${PREFIX}/share/vile/macros ]; then ${MKDIR} ${PREFIX}/share/vile/macros; fi
+ ${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${PREFIX}/share/vile/macros
+ ${INSTALL_SCRIPT} ${WRKSRC}/macros/vile-pager ${PREFIX}/share/vile/macros
+ @echo "Look in ${PREFIX}/share/doc/vile for documentation."
+ @echo "Look in ${PREFIX}/share/vile/macros for macros."
.include <bsd.port.mk>
diff --git a/editors/vile/distinfo b/editors/vile/distinfo
index 0226f0952644..b57a754cd1af 100644
--- a/editors/vile/distinfo
+++ b/editors/vile/distinfo
@@ -1 +1 @@
-MD5 (vile-7.3.tgz) = a52ed55679fd5bf8b5466106e2f81c87
+MD5 (vile-8.0.tgz) = 014e06dd13686e1bae3662f938c2e82e
diff --git a/editors/vile/pkg-plist b/editors/vile/pkg-plist
index f56399538bc7..281ae98fae32 100644
--- a/editors/vile/pkg-plist
+++ b/editors/vile/pkg-plist
@@ -1,5 +1,16 @@
bin/vile
-bin/vile-manfilt
bin/vile-c-filt
-lib/vile.hlp
+bin/vile-crypt
+bin/vile-manfilt
+bin/vile-pas-filt
man/man1/vile.1.gz
+share/doc/vile/config.doc
+share/doc/vile/macros.doc
+share/doc/vile/menus.doc
+share/doc/vile/modes.doc
+share/doc/vile/perl.doc
+share/vile/vile.hlp
+share/vile/macros/digraphs.rc
+share/vile/macros/manpage.rc
+share/vile/macros/pictmode.rc
+share/vile/macros/vile-pager
diff --git a/editors/vile/pkg-plist.perl b/editors/vile/pkg-plist.perl
new file mode 100644
index 000000000000..8a05fb6edbd5
--- /dev/null
+++ b/editors/vile/pkg-plist.perl
@@ -0,0 +1,23 @@
+bin/vile
+bin/vile-c-filt
+bin/vile-crypt
+bin/vile-manfilt
+bin/vile-pas-filt
+man/man1/vile.1.gz
+share/doc/vile/config.doc
+share/doc/vile/macros.doc
+share/doc/vile/menus.doc
+share/doc/vile/modes.doc
+share/doc/vile/perl.doc
+share/vile/vile.hlp
+share/vile/macros/digraphs.rc
+share/vile/macros/manpage.rc
+share/vile/macros/pictmode.rc
+share/vile/macros/vile-pager
+share/vile/perl/glob2re.pl
+share/vile/perl/hgrep.pl
+share/vile/perl/manfilt.pl
+share/vile/perl/search.pl
+share/vile/perl/shell.pl
+share/vile/perl/tailf.pl
+share/vile/perl/visit.pl