summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-09-26 15:25:40 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-09-26 15:25:40 +0000
commitbcb845736ef19c79aa0962e337cb88d5b9df0717 (patch)
tree1d9401d87579463616f1e2c0eb85b230988578d8 /editors
parentUpdate to 1.83, with chat feature disabled by default. (diff)
Style updates:
* The use of MAKE_FLAGS is obsolete. It should use MAKE_ARGS instead. * s/CONFIGURE/CONFIGURE_ENV/ * Use USE_PYTHON instead of manually specifying python as BUILD_DEPENDS and RUN_DEPENDS. * CATEGORIES should be overridable for its slave ports. Submitted by: knu (aka Mr. Ruby :-))
Diffstat (limited to 'editors')
-rw-r--r--editors/vim5/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index c72f0a0ea9f3..308f7cf70175 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/Makefile
@@ -8,7 +8,7 @@
PORTNAME?= vim
PORTVERSION= 5.7
-CATEGORIES= editors
+CATEGORIES?= editors
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/vim/unix/ \
ftp://ftp.nuxi.com/pub/vim/unix/ \
ftp://ftp.freesoftware.com/pub/vim/unix/ \
@@ -16,7 +16,7 @@ MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/vim/unix/ \
ftp://ftp.is.co.za/applications/editors/vim/ \
ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/unix/ \
ftp://ftp.progsoc.uts.edu.au/pub/vim/unix/
-DISTNAME= vim-5.7
+DISTNAME= vim-${PORTVERSION}
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} ${DISTNAME}-rt${EXTRACT_SUFX}
#PATCH_SITES= ${MASTER_SITES:S/unix/patches/}
@@ -38,7 +38,7 @@ USE_PERL5= yes
DIST_SUBDIR= vim
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP}
-MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib --disable-pythoninterp" -f
+MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib --disable-pythoninterp"
ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
MAN1= vim.1 vimtutor.1 xxd.1 ectags.1
@@ -47,28 +47,28 @@ MLINKS= vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1
.if !defined(LITE)
MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1
-MAKE_FLAGS:= CONF_OPT_MAX="--enable-max-features" ${MAKE_FLAGS}
+MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features"
.if defined(HAVE_GTK)
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
-MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE} --enable-multibyte --enable-fontset --enable-multibyte --enable-xim" ${MAKE_FLAGS}
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE} --enable-multibyte --enable-fontset --enable-multibyte --enable-xim"
.elif defined(HAVE_MOTIF)
REQUIRES_MOTIF= yes
-MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\" --enable-multibyte --enable-fontset --enable-multibyte --enable-xim" MOTIFHOME=${X11BASE} ${MAKE_FLAGS}
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\" --enable-multibyte --enable-fontset --enable-multibyte --enable-xim" MOTIFHOME=${X11BASE}
.else
-MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=athena --enable-multibyte --enable-fontset --enable-multibyte --enable-xim" ${MAKE_FLAGS}
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena --enable-multibyte --enable-fontset --enable-multibyte --enable-xim"
.endif
.if defined(PACKAGE_BUILDING)
-MAKE_FLAGS:= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-cscope" ${MAKE_FLAGS}
+MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-cscope"
.endif
.else # LITE
PLIST= ${WRKDIR}/PLIST.nogui
-MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=no --without-x" ${MAKE_FLAGS}
-MAKE_FLAGS:= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp" ${MAKE_FLAGS}
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x"
+MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp"
.endif # LITE
pre-build: