pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/vile + Rename the "ncursesw" option to "wide-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c689085d4614
branches: trunk
changeset: 538957:c689085d4614
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Feb 21 21:40:44 2008 +0000
description:
+ Rename the "ncursesw" option to "wide-curses". This should be supported
under NetBSD-current without actually needing ncursesw.
+ It's not necessary to use ncurses for narrow curses support. The native
BSD curses on NetBSD is enough.
+ Add full DESTDIR support.
Bump the PKGREVISION to 1.
diffstat:
editors/vile/Makefile | 20 ++++++++++++--------
editors/vile/options.mk | 12 ++++++++----
2 files changed, 20 insertions(+), 12 deletions(-)
diffs (68 lines):
diff -r 108a32476b75 -r c689085d4614 editors/vile/Makefile
--- a/editors/vile/Makefile Thu Feb 21 21:20:12 2008 +0000
+++ b/editors/vile/Makefile Thu Feb 21 21:40:44 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2008/01/05 14:58:42 agc Exp $
+# $NetBSD: Makefile,v 1.52 2008/02/21 21:40:44 jlam Exp $
DISTNAME= vile-9.6
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://invisible-island.net/vile/ \
ftp://ftp.phred.org/pub/vile/
@@ -10,6 +11,8 @@
HOMEPAGE= http://invisible-island.net/vile/
COMMENT= VI Like Emacs. a vi "workalike", with many additional features
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "options.mk"
GNU_CONFIGURE= yes
@@ -30,13 +33,14 @@
EGDIR= ${PREFIX}/share/examples/vile
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/vileget
- ${INSTALL_DATA_DIR} ${EGDIR}
- set -e; \
- 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}; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget \
+ ${DESTDIR}${PREFIX}/bin/vileget
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ set -e; \
+ 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 ${DESTDIR}${EGDIR}; \
done
.include "../../lang/perl5/buildlink3.mk"
diff -r 108a32476b75 -r c689085d4614 editors/vile/options.mk
--- a/editors/vile/options.mk Thu Feb 21 21:20:12 2008 +0000
+++ b/editors/vile/options.mk Thu Feb 21 21:40:44 2008 +0000
@@ -1,13 +1,17 @@
-# $NetBSD: options.mk,v 1.1 2007/10/14 04:53:35 obache Exp $
+# $NetBSD: options.mk,v 1.2 2008/02/21 21:40:44 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vile
-PKG_SUPPORTED_OPTIONS= ncursesw
+PKG_SUPPORTED_OPTIONS= wide-curses
+PKG_LEGACY_OPTS+= ncursesw:wide-curses
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mncursesw)
+###
+### Wide curses support; otherwise, default to using narrow curses.
+###
+.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
CONFIGURE_ARGS+= --with-screen=ncursesw
.else
-. include "../../devel/ncurses/buildlink3.mk"
+. include "../../mk/curses.buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index