aboutsummaryrefslogtreecommitdiff
path: root/editors/xvile/Makefile
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1998-06-04 20:42:17 +0000
committerGary Jennejohn <gj@FreeBSD.org>1998-06-04 20:42:17 +0000
commit00ea68f1b3d93a39b0e9bbf4ecbb67795e1ff136 (patch)
tree1f724503352b68a6bb05ac0fd41b3ed86dc51d57 /editors/xvile/Makefile
parent42fb137900c35e9231a100f5852d1b3d79834799 (diff)
downloadports-00ea68f1b3d93a39b0e9bbf4ecbb67795e1ff136.tar.gz
ports-00ea68f1b3d93a39b0e9bbf4ecbb67795e1ff136.zip
Notes
Diffstat (limited to 'editors/xvile/Makefile')
-rw-r--r--editors/xvile/Makefile34
1 files changed, 25 insertions, 9 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>