openbsd-ports/editors/vim/Makefile

70 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2000/02/01 21:31:30 jasoni Exp $
1998-06-09 03:48:48 -04:00
2000-01-17 12:03:15 -05:00
DISTNAME= vim-5.6
DIST_SUBDIR= vim
1999-09-28 11:29:53 -04:00
CATEGORIES= editors
NEED_VERSION= 1.175
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/ \
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/
DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-rt.tar.gz
EXTRACT_ONLY= ${DISTNAME}-src.tar.gz ${DISTNAME}-rt.tar.gz
MASTER_SITES0= ${MASTER_SITES:S/unix/patches/}
2000-01-30 01:42:24 -05:00
.for p in 01 02 03 05 06 10 11
DISTFILES+= 5.6.0${p}:0
2000-01-30 01:42:24 -05:00
PATCHFILES+= 5.6.0${p}
.endfor
2000-01-30 01:42:24 -05:00
.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
# Internal Compiler Error
.if (${MACHINE_ARCH} == "m68k")
PATCH_LIST= patch-* sup-m68k
.endif
.if defined(LIGHT_VERSION) && ${LIGHT_VERSION:U} == YES
CONFIGURE_ARGS+=--disable-gui --without-x
PKGNAME= ${DISTNAME}-light
PLIST= ${PKGDIR}/PLIST-light
.else
.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}
.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
.endif
1998-06-09 03:48:48 -04:00
WRKSRC= ${WRKDIR}/${DISTNAME}/src
pre-fetch:
1999-07-28 02:01:33 -04:00
.if !defined(NO_WARNINGS)
@echo ""
@echo "***"
@echo "*** To build light version, do 'make LIGHT_VERSION=yes'."
@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."
@echo "***"
@echo ""
1999-07-28 02:01:33 -04:00
.endif
1998-06-09 03:48:48 -04:00
.include <bsd.port.mk>