ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

vim.mk (770B)


      1 TARG = vim
      2 DEPS = ncurses
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 vim:QV:
      7 	export CPPFLAGS="$DEPS_CFLAGS $CFLAGS"
      8 	export LDFLAGS="$DEPS_LDFLAGS $LDFLAGS"
      9 	export vim_cv_toupper_broken="no"
     10 	export vim_cv_terminfo="yes"
     11 	export vim_cv_tty_group="world"
     12 	export vim_cv_tty_mode="0620"
     13 	export vim_cv_getcwd_broken="no"
     14 	export vim_cv_stat_ignores_slash="no"
     15 	export vim_cv_memmove_handles_overlap="yes"
     16 	./configure \
     17 		--build="${TOOLCHAIN_TRIPLET}" \
     18 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
     19 		--prefix="$PREFIX/" \
     20 		--disable-gui \
     21 		--disable-nls \
     22 		--disable-netbeans \
     23 		--without-local-dir \
     24 		--with-x=no \
     25 		--enable-multibyte \
     26 		--with-tlib=ncurses
     27 	make -j$nprocs
     28 
     29 install:QV:
     30 	make DESTDIR="$ROOT" install
     31 	$INSTALL -d -m 755 $ROOT/$BINDIR
     32 	ln -sf vim $ROOT/$BINDIR/vi