Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/editors/vile/Makefile 1998/01/24 04:53:06 1.4 +++ pkgsrc/editors/vile/Makefile 2005/07/30 21:04:36 1.41 @@ -1,27 +1,42 @@ -# New ports collection makefile for: vile -# Version required: 7.3 -# Date created: Wed Nov 26, 1996 -# Whom: pgf -# -# $NetBSD: Makefile,v 1.4 1998/01/24 04:53:06 hubertf Exp $ -# FreeBSD Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp -# - -DISTNAME= vile -PKGNAME= vile-7.3 -CATEGORIES= editors -MASTER_SITES= ftp://ftp.clark.net/pub/dickey/vile/ \ - ftp://id.wing.net/pub/pgf/vile/ - -MAINTAINER= gj@freebsd.org - -MAKEFILE= makefile -GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PKGNAME} -MAN1= vile.1 +# $NetBSD: Makefile,v 1.41 2005/07/30 21:04:36 rillig Exp $ + +DISTNAME= vile-9.4 +PKGREVISION= 1 +CATEGORIES= editors +MASTER_SITES= ftp://dickey.his.com/vile/ \ + ftp://invisible-island.net/vile/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://dickey.his.com/vile/vile.html +COMMENT= VI Like Emacs. a vi "workalike", with many additional features + +GNU_CONFIGURE= # defined +CONFIGURE_ARGS+= --with-perl +CONFIGURE_ARGS+= --datadir=${DATADIR} +CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR} +USE_TOOLS+= perl:run + +# Until the source catches up to the current Perl API, we need PERL_POLLUTE +# to look like an older perl. +CPPFLAGS+= -DPERL_POLLUTE=1 +CPPFLAGS.NetBSD+= -DMISSING_EXTERN_ENVIRON + +MAKEFILE= makefile +INSTALL_TARGET= install install-perl + +DATADIR= ${PREFIX}/share/vile +FILTERDIR= ${PREFIX}/libexec/vile +EGDIR= ${PREFIX}/share/examples/vile post-install: - @echo "You might want to copy the *.rc files from the source tree before" - @echo "doing \`make clean'." + ${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/vileget + ${INSTALL_DATA_DIR} ${EGDIR} + for f in filters/spell.rc filters/filters.rc \ + macros/digraphs.rc macros/pictmode.rc \ + macros/manpage.rc visvile/visvile.rc; do \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${EGDIR}; \ + done -.include +.include "../../devel/ncurses/buildlink3.mk" +.include "../../mk/bsd.pkg.mk"