aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-09-26 23:25:40 +0800
committerobrien <obrien@FreeBSD.org>2000-09-26 23:25:40 +0800
commit267b9e7e4dffc6f01b65972440a55302d37788b2 (patch)
tree840ee4cd1293608f1b99dcee1e033f5f84e9b72d /editors
parentedd0d10db57ce443a074b92af60692a6e08e78dd (diff)
downloadfreebsd-ports-gnome-267b9e7e4dffc6f01b65972440a55302d37788b2.tar.gz
freebsd-ports-gnome-267b9e7e4dffc6f01b65972440a55302d37788b2.tar.zst
freebsd-ports-gnome-267b9e7e4dffc6f01b65972440a55302d37788b2.zip
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: