2000-02-18 18:45:38 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2000/02/18 23:45:38 espie Exp $
|
1998-06-09 03:48:48 -04:00
|
|
|
|
2000-01-17 12:03:15 -05:00
|
|
|
DISTNAME= vim-5.6
|
2000-02-01 16:31:30 -05:00
|
|
|
DIST_SUBDIR= vim
|
1999-09-28 11:29:53 -04:00
|
|
|
CATEGORIES= editors
|
1998-06-09 03:48:48 -04:00
|
|
|
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/vim/unix/ \
|
1999-09-28 11:29:53 -04:00
|
|
|
ftp://ftp.nuxi.com/pub/vim/unix/ \
|
|
|
|
ftp://ftp.oce.nl/pub/vim/unix/ \
|
1999-09-30 11:28:45 -04:00
|
|
|
ftp://ftp.berlin.de.vim.org/misc/editors/vim/unix/ \
|
1999-09-28 11:29:53 -04:00
|
|
|
ftp://ftp.is.co.za/applications/editors/vim/ \
|
|
|
|
ftp://ftp.progsoc.uts.edu.au/pub/vim/
|
2000-02-01 16:43:50 -05:00
|
|
|
MASTER_SITES0= ${MASTER_SITES:S/unix/patches/}
|
1999-09-28 11:29:53 -04:00
|
|
|
DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-rt.tar.gz
|
1999-09-01 12:56:35 -04:00
|
|
|
|
2000-02-01 16:43:50 -05:00
|
|
|
NEED_VERSION= 1.175
|
|
|
|
|
2000-02-10 10:39:13 -05:00
|
|
|
.for p in 01 02 03 05 06 10 11 12
|
2000-02-18 18:45:38 -05:00
|
|
|
PATCHFILES+= 5.6.0${p}:0
|
2000-01-30 01:42:24 -05:00
|
|
|
.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
|
|
|
|
|
1999-09-28 11:29:53 -04:00
|
|
|
MAINTAINER= jasoni@openbsd.org
|
1998-11-20 03:40:48 -05:00
|
|
|
|
1999-09-28 11:29:53 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-tliba="curses"
|
1998-06-09 03:48:48 -04:00
|
|
|
|
1999-12-25 19:55:27 -05:00
|
|
|
# Internal Compiler Error
|
|
|
|
.if (${MACHINE_ARCH} == "m68k")
|
|
|
|
PATCH_LIST= patch-* sup-m68k
|
|
|
|
.endif
|
|
|
|
|
1999-12-09 14:59:24 -05:00
|
|
|
.if defined(LIGHT_VERSION) && ${LIGHT_VERSION:U} == YES
|
|
|
|
CONFIGURE_ARGS+=--disable-gui --without-x
|
|
|
|
PKGNAME= ${DISTNAME}-light
|
|
|
|
PLIST= ${PKGDIR}/PLIST-light
|
|
|
|
.else
|
1999-12-10 11:33:42 -05:00
|
|
|
.if defined(USE_MOTIF) && ${USE_MOTIF:U} == YES
|
1999-09-28 11:29:53 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-gui="motif"
|
|
|
|
CONFIGURE_ENV+= MOTIFHOME=${X11BASE}
|
1999-12-09 14:59:24 -05:00
|
|
|
.elif defined(USE_ATHENA) && ${USE_ATHENA:U} == YES
|
1999-09-28 11:29:53 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-gui="athena"
|
1998-06-09 03:48:48 -04:00
|
|
|
.else
|
2000-01-17 12:03:15 -05:00
|
|
|
LIB_DEPENDS= gtk.1.2:${PORTSDIR}/x11/gtk+
|
1999-09-28 11:29:53 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-gui="gtk"
|
1998-06-09 03:48:48 -04:00
|
|
|
.endif
|
1999-06-22 15:32:07 -04:00
|
|
|
.endif
|
1998-06-09 03:48:48 -04:00
|
|
|
|
2000-02-10 10:39:13 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
1999-12-09 14:59:24 -05:00
|
|
|
|
1999-12-10 11:33:42 -05:00
|
|
|
pre-fetch:
|
1999-07-28 02:01:33 -04:00
|
|
|
.if !defined(NO_WARNINGS)
|
1999-12-09 14:59:24 -05:00
|
|
|
@echo ""
|
|
|
|
@echo "***"
|
|
|
|
@echo "*** To build light version, do 'make LIGHT_VERSION=yes'."
|
1999-12-10 11:33:42 -05:00
|
|
|
@echo "*** To use the Motif GUI, do 'make USE_MOTIF=yes'."
|
|
|
|
@echo "*** To use the Athena GUI, do 'make USE_ATHENA=yes'."
|
|
|
|
@echo "*** The GTK GUI is the default."
|
1999-12-09 14:59:24 -05:00
|
|
|
@echo "***"
|
|
|
|
@echo ""
|
1999-07-28 02:01:33 -04:00
|
|
|
.endif
|
1998-06-09 03:48:48 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|