1995-02-28 00:01:11 +01:00
|
|
|
# New ports collection makefile for: xvile
|
1996-12-03 13:53:39 +01:00
|
|
|
# Date created: Wed Nov 26, 1996
|
1995-02-28 00:01:11 +01:00
|
|
|
# Whom: pgf
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-02-28 00:01:11 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:21:02 +02:00
|
|
|
PORTNAME= xvile
|
2000-11-22 00:19:14 +01:00
|
|
|
PORTVERSION= 9.2
|
1996-11-11 06:07:53 +01:00
|
|
|
CATEGORIES= editors
|
2000-02-02 22:51:39 +01:00
|
|
|
MASTER_SITES= ftp://ftp.phred.org/pub/vile/ \
|
1997-09-06 21:58:13 +02:00
|
|
|
ftp://id.wing.net/pub/pgf/vile/
|
2000-04-14 08:21:02 +02:00
|
|
|
DISTNAME= vile-${PORTVERSION}
|
1996-12-03 13:53:39 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
1995-04-09 08:11:17 +02:00
|
|
|
|
1997-06-17 22:11:58 +02:00
|
|
|
MAINTAINER= gj@freebsd.org
|
1996-11-11 06:07:53 +01:00
|
|
|
|
1998-11-28 01:44:34 +01:00
|
|
|
USE_XLIB= yes
|
1995-02-28 00:01:11 +01:00
|
|
|
MAKEFILE= makefile
|
2000-06-01 15:29:49 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-libdir-path=${PREFIX}/lib/xvile \
|
|
|
|
--datadir=${PREFIX}/share/xvile
|
1996-11-17 08:01:32 +01:00
|
|
|
MAN1= xvile.1
|
1995-04-24 05:38:32 +02:00
|
|
|
|
1997-09-06 21:58:13 +02:00
|
|
|
pre-configure:
|
2000-04-17 02:18:05 +02:00
|
|
|
.if ! defined(WITH_MENUS)
|
|
|
|
@${ECHO_MSG} "To use xvile with menus, set the environment variable WITH_MENUS"
|
1998-06-04 22:42:17 +02:00
|
|
|
.endif
|
2000-04-17 02:18:05 +02:00
|
|
|
.if ! defined(WITH_PERL)
|
|
|
|
@${ECHO_MSG} "To use xvile with PERL, set the environment variable WITH_PERL"
|
1998-06-04 22:42:17 +02:00
|
|
|
.endif
|
1997-09-06 21:58:13 +02:00
|
|
|
|
2000-04-17 02:18:05 +02:00
|
|
|
.if defined(WITH_MENUS)
|
2000-06-01 15:29:49 +02:00
|
|
|
CONFIGURE_ARGS+= --with-screen=Xaw
|
1997-09-06 21:58:13 +02:00
|
|
|
.else
|
2000-06-01 15:29:49 +02:00
|
|
|
CONFIGURE_ARGS+= --with-screen=x11
|
1997-09-06 21:58:13 +02:00
|
|
|
.endif
|
|
|
|
|
2000-04-17 02:18:05 +02:00
|
|
|
.if defined(WITH_PERL)
|
|
|
|
CONFIGURE_ARGS+= --with-perl
|
2000-10-08 02:48:23 +02:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.perl
|
1999-01-02 01:12:21 +01:00
|
|
|
USE_PERL5= yes
|
1998-06-04 22:42:17 +02:00
|
|
|
.endif
|
|
|
|
|
1997-09-06 21:58:13 +02:00
|
|
|
post-install:
|
1998-06-04 22:42:17 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-06-01 15:29:49 +02:00
|
|
|
@if ! [ -d ${PREFIX}/share/doc/xvile ]; then ${MKDIR} ${PREFIX}/share/doc/xvile; fi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${PREFIX}/share/doc/xvile
|
1997-09-06 21:58:13 +02:00
|
|
|
.endif
|
2000-06-01 15:29:49 +02:00
|
|
|
@if ! [ -d ${PREFIX}/share/xvile/macros ]; then ${MKDIR} ${PREFIX}/share/xvile/macros; fi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${PREFIX}/share/xvile/macros
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/macros/vile-pager ${PREFIX}/share/xvile/macros
|
2000-04-17 02:18:05 +02:00
|
|
|
.if defined(WITH_PERL)
|
2000-06-01 15:29:49 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/xvile
|
1999-04-03 23:19:13 +02:00
|
|
|
.endif
|
2000-06-01 15:29:49 +02:00
|
|
|
@${ECHO_MSG} "Look in ${PREFIX}/share/doc/xvile for documentation."
|
|
|
|
@${ECHO_MSG} "Look in ${PREFIX}/share/xvile/macros for macros."
|
1997-09-06 21:58:13 +02:00
|
|
|
|
1995-02-28 00:01:11 +01:00
|
|
|
.include <bsd.port.mk>
|