Merge from vendor branch TNF:
[pkgsrc.git] / editors / xvile / Makefile
1 # $NetBSD: Makefile,v 1.22 2000/01/20 08:43:57 agc Exp $
2 # FreeBSD Id: Makefile,v 1.13 1997/09/06 19:58:03 gj Exp
3 #
4
5 DISTNAME=       vile-9.0
6 PKGNAME=        xvile-9.0
7 CATEGORIES=     editors
8 MASTER_SITES=   ftp://ftp.clark.net/pub/dickey/vile/ \
9                 ftp://ftp.uni-trier.de/pub/unix/editor/vile/ \
10                 ftp://ftp.phred.org/pub/vile/
11 EXTRACT_SUFX=   .tgz
12
13 MAINTAINER=     packages@netbsd.org
14
15 DEPENDS+=       xpm-3.4k:../../graphics/xpm
16
17 USE_X11BASE=    yes
18 GNU_CONFIGURE=  yes
19 USE_PERL5=      yes
20 USE_XAW=        yes
21 MAKEFILE=       makefile
22 CONFIGURE_ARGS+= --with-screen=Xaw --with-xpm --with-perl --with-lib-dir=${X11BASE}/libexec
23 INSTALL_TARGET= install install-perl
24
25 post-install:
26         -@${MKDIR} ${PREFIX}/share/examples/xvile
27         @for f in filters/spell.rc filters/filters.rc           \
28                 macros/digraphs.rc macros/pictmode.rc           \
29                 macros/manpage.rc visvile/visvile.rc; do        \
30                 ${BSD_INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/examples/xvile; \
31         done
32
33 .include "../../mk/bsd.pkg.mk"