2014-09-01 22:28:48 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.150 2014/09/01 20:28:48 jperkin Exp $
|
2008-01-09 14:47:42 +01:00
|
|
|
|
|
|
|
# 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
|
2005-05-30 16:18:14 +02:00
|
|
|
|
|
|
|
.include "../../editors/vim-share/version.mk"
|
2001-10-24 12:55:21 +02:00
|
|
|
|
2012-10-30 23:39:07 +01:00
|
|
|
DISTNAME= vim-${VIM_VERSION}.${VIM_PATCHLEVEL}
|
1999-12-21 14:20:32 +01:00
|
|
|
CATEGORIES= editors
|
2012-10-30 23:39:07 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2001-10-04 12:18:11 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-12-21 14:20:32 +01:00
|
|
|
|
2012-08-27 23:35:56 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2012-10-30 23:39:07 +01:00
|
|
|
MAINTAINER= morr@NetBSD.org
|
2001-10-04 12:18:11 +02:00
|
|
|
HOMEPAGE= http://www.vim.org/
|
2007-11-01 07:18:10 +01:00
|
|
|
LICENSE= vim-license
|
2001-08-06 19:44:44 +02:00
|
|
|
|
2002-10-08 02:20:12 +02:00
|
|
|
CONFLICTS+= vim-kde-[0-9]*
|
|
|
|
|
2005-05-30 16:18:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
|
1999-12-21 14:20:32 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-10-04 14:38:00 +02:00
|
|
|
|
2008-06-23 07:07:56 +02:00
|
|
|
# http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38710
|
2013-10-07 21:26:28 +02:00
|
|
|
CHECK_INTERPRETER_SKIP= share/vim/vim74/tools/vim132
|
2008-06-23 07:07:56 +02:00
|
|
|
|
2012-08-28 00:10:34 +02:00
|
|
|
.include "options.mk"
|
2006-03-02 11:41:41 +01:00
|
|
|
|
2010-06-07 14:12:21 +02:00
|
|
|
CONFIGURE_ARGS+= --with-modified-by=${MAINTAINER:Q}
|
2008-02-15 07:36:10 +01:00
|
|
|
|
2002-03-25 09:04:02 +01:00
|
|
|
# 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}
|
2005-01-05 12:03:44 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-multibyte
|
2009-08-25 10:17:36 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-cscope
|
2002-03-25 09:04:02 +01:00
|
|
|
|
2007-12-18 09:15:03 +01:00
|
|
|
PATCH_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --forward --quiet \
|
2006-05-21 15:32:27 +02:00
|
|
|
-E ${PATCH_STRIP:Q}
|
2007-12-18 09:15:03 +01:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --forward --quiet \
|
2006-05-21 15:32:27 +02:00
|
|
|
-E ${PATCH_DIST_STRIP:Q}
|
2006-07-18 12:27:16 +02:00
|
|
|
PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches
|
2005-01-27 11:37:01 +01:00
|
|
|
DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo
|
2005-01-25 14:48:54 +01:00
|
|
|
|
2006-10-27 18:26:33 +02:00
|
|
|
.if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
|
|
|
|
BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon
|
|
|
|
.endif
|
|
|
|
|
2005-01-25 14:48:54 +01:00
|
|
|
.if empty(PKGNAME:Mvim-share*)
|
2007-12-18 09:15:03 +01:00
|
|
|
ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES
|
2005-01-25 14:48:54 +01:00
|
|
|
.else
|
|
|
|
ALTERNATIVES_SRC=
|
|
|
|
.endif
|
2006-02-03 11:49:53 +01:00
|
|
|
|
2006-09-08 08:18:28 +02:00
|
|
|
post-patch:
|
2007-05-16 06:56:24 +02:00
|
|
|
find ${WRKDIR} -name '*.orig_dist' -exec rm -f {} \;
|