Date: Mon, 17 Nov 2014 07:21:41 -0800 From: Alfred Perlstein <bright@mu.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, Alfred Perlstein <alfred@FreeBSD.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r372654 - in head/editors/vim: . files Message-ID: <305A5CEB-E71C-4148-A8D5-A0B74C32B23B@mu.org> In-Reply-To: <20141117064309.GB48896@ivaldir.etoilebsd.net> References: <201411162255.sAGMtAaW055221@svn.freebsd.org> <20141117064309.GB48896@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 16, 2014, at 10:43 PM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:= >=20 >> On Sun, Nov 16, 2014 at 10:55:10PM +0000, Alfred Perlstein wrote: >> Author: alfred (src committer) >> Date: Sun Nov 16 22:55:10 2014 >> New Revision: 372654 >> URL: https://svnweb.freebsd.org/changeset/ports/372654 >> QAT: https://qat.redports.org/buildarchive/r372654/ >>=20 >> Log: >> Use vimrc from distribution. >>=20 >> Suggested by: many. >>=20 >> Deleted: >> head/editors/vim/files/vimrc >> Modified: >> head/editors/vim/Makefile >> head/editors/vim/pkg-plist >>=20 >> Modified: head/editors/vim/Makefile >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/editors/vim/Makefile Sun Nov 16 21:56:22 2014 (r372653) >> +++ head/editors/vim/Makefile Sun Nov 16 22:55:10 2014 (r372654) >> @@ -58,7 +58,7 @@ INSTALL_WRKSRC=3D ${WRKDIR}/${VIM_VER}/src >> WRKSRC=3D ${WRKDIR}/${VIM_VER} >>=20 >> PLIST_SUB=3D VIM_VER=3D${VIM_VER} >> -PORTDATA=3D * >> +PORTDATA=3D ${VIM_VER} >>=20 >> VIM_VER=3D ${PORTNAME}${PORTVERSION:R:S/.//g} >>=20 >> @@ -126,6 +126,9 @@ IGNORE=3D this port has new UI option (CO >>=20 >> .if ${PORT_OPTIONS:MDEFAULT_VIMRC} >> DEFAULT_VIMRC_LOCATION=3D${PREFIX}/share/vim >> +PLIST_SUB+=3D DEFAULT_VIMRC=3D"@sample " > @sample only works if the file itself is suffixed by .sample >=20 So=20 1) the installed file needs to have .sample as suffix. Example: "file.sample= " 2) it will actually be installed as "file"? So I can: 1) fix the post-install target to install files as vimrc.example AND 2) fix the pkg-plist to call the file vimrc.example as well? > regards, > Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?305A5CEB-E71C-4148-A8D5-A0B74C32B23B>