openbsd-ports/editors/vim/Makefile
espie 3f552dfbce Use negative fragments, now that they've been committed.
Change light -> no_x11, to conform to emerging convention.
2000-06-20 20:26:45 +00:00

66 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2000/06/20 20:26:45 espie Exp $
DISTNAME= vim-5.6
CATEGORIES= editors
NEED_VERSION= 1.301
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/vim/unix/ \
ftp://ftp.nuxi.com/pub/vim/unix/ \
ftp://ftp.oce.nl/pub/vim/unix/ \
ftp://ftp.berlin.de.vim.org/misc/editors/vim/unix/ \
ftp://ftp.is.co.za/applications/editors/vim/ \
ftp://ftp.progsoc.uts.edu.au/pub/vim/
MASTER_SITES0= ${MASTER_SITES:S/unix/patches/}
DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-rt.tar.gz
DIST_SUBDIR= vim
HOMEPAGE= http://www.vim.org
.for p in 01 02 03 05 06 10 11 12 13 14 15 16 17 18 19 21 22 25 27 28 29 30 \
31 32 33 35 36 37 38 39 40 41 42 46 47
PATCHFILES+= 5.6.0${p}:0
.endfor
.if defined(PATCH_DEBUG)
PATCH_DIST_ARGS=-d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS=-d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
MAINTAINER= jasoni@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= gtk athena motif no_x11
FLAVOR?= gtk
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+=--with-tliba="curses"
# Internal Compiler Error
.if (${MACHINE_ARCH} == "m68k")
PATCH_LIST= patch-* sup-m68k
.endif
.if ${FLAVOR:L} == "light"
FLAVOR=no_x11
.endif
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+=--disable-gui --without-x
.elif ${FLAVOR:L} == "motif"
CONFIGURE_ARGS+=--enable-gui="motif"
CONFIGURE_ENV+= MOTIFHOME=${X11BASE}
USE_MOTIF=Yes
.elif ${FLAVOR:L} == "athena"
CONFIGURE_ARGS+=--enable-gui="athena"
.elif ${FLAVOR:L} == "gtk"
LIB_DEPENDS= gtk.1.2::x11/gtk+
CONFIGURE_ARGS+=--enable-gui="gtk"
.endif
WRKDIST= ${WRKDIR}/${DISTNAME}/src
.include <bsd.port.mk>