By popular request, this is a slave port that installs only the vim binary. It has no dependencies, produces a 1 MB package with a 3 MB installed footprint, and is unable to do anything except edit files. It contains no help files, no runtime files, no syntax highlighting, no filetype-specific indenting, non-US keymaps, macros, or spell-checking. vim-tiny is designed for minimal installs, and is the wrong choice for most users.
23 lines
502 B
Makefile
23 lines
502 B
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PKGNAMESUFFIX= -tiny
|
|
|
|
COMMENT= Improved version of the vi editor (vim binary only)
|
|
|
|
CONFLICTS_INSTALL= vim vim-lite
|
|
|
|
TINY= yes
|
|
MASTERDIR= ${.CURDIR}/../vim
|
|
|
|
PORTDATA= # Not for -tiny
|
|
PLIST= # Not for -tiny
|
|
PLIST_FILES= bin/vim \
|
|
man/man1/vim.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/vim ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/runtime/doc/vim.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include "${MASTERDIR}/Makefile"
|