2d59eaf432
2153 7.1.306 some Unicode symbol chars are handled like word chars 23714 7.1.307 many warnings when compiling with Python 2.5 2673 7.1.308 when in readonly mode ":options" produces an error 3989 7.1.309 installing and testing with a shadow directory doesn't work 8024 7.1.310 incomplete utf-8 byte sequence at end of the file not detected 2547 7.1.311 compiler warning for missing sentinel in X code 2346 7.1.312 there is no check for error number mistakes in .po files 3425 7.1.313 status and tile not updated when using netbeans setModified 1915 7.1.314 'pastetoggle' is written to the session file without escaping 3287 7.1.315 crash with specific search pattern using look-behind match
87 lines
2.8 KiB
Makefile
87 lines
2.8 KiB
Makefile
# $NetBSD: Makefile.common,v 1.109 2008/06/19 05:55:44 martti Exp $
|
|
|
|
# used by editors/vim/Makefile
|
|
# used by editors/vim-gtk/Makefile
|
|
# used by editors/vim-gtk2/Makefile
|
|
# used by editors/vim-lang/Makefile
|
|
# used by editors/vim-motif/Makefile
|
|
# used by editors/vim-xaw/Makefile
|
|
|
|
.include "../../editors/vim-share/version.mk"
|
|
|
|
DISTNAME= vim-${VIM_VERSION}
|
|
DISTFILES= vim-${VIM_VERSION}${EXTRACT_SUFX}
|
|
DISTFILES+= vim-${VIM_VERSION}-extra.tar.gz
|
|
DISTFILES+= vim-${VIM_VERSION}-lang.tar.gz
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/
|
|
MASTER_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/unix/
|
|
DIST_SUBDIR= vim
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
SITES.vim-${VIM_VERSION}-extra.tar.gz= ftp://ftp.vim.org/pub/editors/vim/extra/
|
|
SITES.vim-${VIM_VERSION}-extra.tar.gz+= ftp://ftp.fu-berlin.de/misc/editors/vim/extra/
|
|
SITES.vim-${VIM_VERSION}-lang.tar.gz= ftp://ftp.vim.org/pub/editors/vim/extra/
|
|
SITES.vim-${VIM_VERSION}-lang.tar.gz+= ftp://ftp.fu-berlin.de/misc/editors/vim/extra/
|
|
|
|
PATCH_SITES= ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION}/
|
|
PATCH_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/patches/${VIM_VERSION}/
|
|
|
|
PATCHFILES+= 7.1.001-100.gz 7.1.101-200.gz 7.1.201-300.gz
|
|
PATCHFILES+= 7.1.301 7.1.302 7.1.303 7.1.304 7.1.305 7.1.306 7.1.307
|
|
PATCHFILES+= 7.1.308 7.1.309 7.1.310 7.1.311 7.1.312 7.1.313 7.1.314
|
|
PATCHFILES+= 7.1.315
|
|
|
|
MAINTAINER= martti@NetBSD.org
|
|
HOMEPAGE= http://www.vim.org/
|
|
LICENSE= vim-license
|
|
|
|
CONFLICTS+= vim-kde-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= no # At least on Solaris
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-modified-by="${MAINTAINER}"
|
|
|
|
# See "configure --help" extra options. These might affect the installed
|
|
# files (and PLIST might not include all files) so use at your own risk!
|
|
CONFIGURE_ARGS+= ${VIM_EXTRA_OPTS}
|
|
CONFIGURE_ARGS+= --enable-multibyte
|
|
|
|
PATCH_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --forward --quiet \
|
|
-E ${PATCH_STRIP:Q}
|
|
PATCH_DIST_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --forward --quiet \
|
|
-E ${PATCH_DIST_STRIP:Q}
|
|
PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches
|
|
DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo
|
|
|
|
.if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
|
|
BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon
|
|
.endif
|
|
|
|
.if empty(PKGNAME:Mvim-share*)
|
|
ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES
|
|
.else
|
|
ALTERNATIVES_SRC=
|
|
.endif
|
|
|
|
PKG_SUPPORTED_OPTIONS+= cscope ruby
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mcscope)
|
|
DEPENDS+= cscope-[0-9]*:../../devel/cscope
|
|
CONFIGURE_ARGS+= --enable-cscope
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mruby)
|
|
.include "../../lang/ruby/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-rubyinterp
|
|
.endif
|
|
|
|
post-patch:
|
|
find ${WRKDIR} -name '*.orig_dist' -exec rm -f {} \;
|