summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/xvile/Makefile34
-rw-r--r--editors/xvile/distinfo2
-rw-r--r--editors/xvile/pkg-plist15
-rw-r--r--editors/xvile/pkg-plist.perl23
4 files changed, 62 insertions, 12 deletions
diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile
index 789098202adb..0d2bc5a68620 100644
--- a/editors/xvile/Makefile
+++ b/editors/xvile/Makefile
@@ -1,15 +1,16 @@
# New ports collection makefile for: xvile
-# 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:58:03 gj Exp $
+# $Id: Makefile,v 1.14 1997/12/10 20:30:14 gj Exp $
#
-DISTNAME= vile-7.3
-PKGNAME= xvile-7.3
+DISTNAME= vile-8.0
+PKGNAME= xvile-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
@@ -17,12 +18,17 @@ MAINTAINER= gj@freebsd.org
MAKEFILE= makefile
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-screen=${SCREEN_TYPE}
+CONFIGURE_ARGS= --with-screen=${SCREEN_TYPE} ${WITH_PERL}
MAN1= xvile.1
NO_PATCH= yes
pre-configure:
+.if ! defined(USE_MENUS)
@echo "To use xvile with menus, set the environment variable USE_MENUS"
+.endif
+.if ! defined(USE_PERL)
+ @echo "To use xvile with PERL, set the environment variable USE_PERL"
+.endif
.if defined(USE_MENUS)
SCREEN_TYPE= Xaw
@@ -30,11 +36,21 @@ SCREEN_TYPE= Xaw
SCREEN_TYPE= x11
.endif
+.if defined(USE_PERL)
+WITH_PERL= --with-perl
+PLIST= ${PKGDIR}/PLIST.perl
+BUILD_DEPENDS= perl5:${PORTSDIR}/lang/perl5
+.endif
+
post-install:
- @echo "You might want to copy the *.rc files from the source tree before"
- @echo "doing \`make clean'."
-.if defined(USE_MENUS)
- @echo "And also take a look at README.MENU !"
+.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/xvile/distinfo b/editors/xvile/distinfo
index 0226f0952644..b57a754cd1af 100644
--- a/editors/xvile/distinfo
+++ b/editors/xvile/distinfo
@@ -1 +1 @@
-MD5 (vile-7.3.tgz) = a52ed55679fd5bf8b5466106e2f81c87
+MD5 (vile-8.0.tgz) = 014e06dd13686e1bae3662f938c2e82e
diff --git a/editors/xvile/pkg-plist b/editors/xvile/pkg-plist
index 52b830dc1021..13b1a453f858 100644
--- a/editors/xvile/pkg-plist
+++ b/editors/xvile/pkg-plist
@@ -1,5 +1,16 @@
bin/xvile
-bin/vile-manfilt
bin/vile-c-filt
-lib/vile.hlp
+bin/vile-crypt
+bin/vile-manfilt
+bin/vile-pas-filt
man/man1/xvile.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/xvile/pkg-plist.perl b/editors/xvile/pkg-plist.perl
new file mode 100644
index 000000000000..5bb716333448
--- /dev/null
+++ b/editors/xvile/pkg-plist.perl
@@ -0,0 +1,23 @@
+bin/xvile
+bin/vile-c-filt
+bin/vile-crypt
+bin/vile-manfilt
+bin/vile-pas-filt
+man/man1/xvile.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