1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

I shouldn't have been removing `gvim' from the non-GUI PLIST.

Also make the gvim link relative rather than absolute, in case someone
specifies a different prefix when installing the package.  Note there are
some burned in paths in the vim binary, but there is no reason to totally
make this not work, when it could somewhat.
This commit is contained in:
David E. O'Brien 2001-02-15 12:12:43 +00:00
parent 7b495c94cf
commit e6ca1f4e0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38368
3 changed files with 3 additions and 13 deletions

View File

@ -67,18 +67,14 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
PLIST= ${WRKDIR}/PLIST.nogui
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:
@(cd ${WRKSRC}; ${MAKE} distclean)
@${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
.if !defined(LITE)
[ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
.endif
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
.include <bsd.port.post.mk>

View File

@ -67,17 +67,15 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
PLIST= ${WRKDIR}/PLIST.nogui
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:
@(cd ${WRKSRC}; ${MAKE} distclean)
@${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
[ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
@${RM} -f ${PREFIX}/man/man1/etags.1
@${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1

View File

@ -67,18 +67,14 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
PLIST= ${WRKDIR}/PLIST.nogui
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:
@(cd ${WRKSRC}; ${MAKE} distclean)
@${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
.if !defined(LITE)
[ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
.endif
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
.include <bsd.port.post.mk>