Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 16:26:20 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Alfred Perlstein <bright@mu.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:  <20141117152620.GC48896@ivaldir.etoilebsd.net>
In-Reply-To: <305A5CEB-E71C-4148-A8D5-A0B74C32B23B@mu.org>
References:  <201411162255.sAGMtAaW055221@svn.freebsd.org> <20141117064309.GB48896@ivaldir.etoilebsd.net> <305A5CEB-E71C-4148-A8D5-A0B74C32B23B@mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--dkEUBIird37B8yKS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 17, 2014 at 07:21:41AM -0800, Alfred Perlstein wrote:
>=20
>=20
> > On Nov 16, 2014, at 10:43 PM, Baptiste Daroussin <bapt@FreeBSD.org> wro=
te:
> >=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
>=20
> So=20
> 1) the installed file needs to have .sample as suffix. Example: "file.sam=
ple"
> 2) it will actually be installed as "file"?
>=20
> 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?
>=20
https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html#p=
list-keywords-sample-example

regards,
Bapt

--dkEUBIird37B8yKS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRqE5wACgkQ8kTtMUmk6ExG/gCeMiDLOhko75/9mOiu6A/LQMp6
5J4AoJUOqYHV03S0ecCWTfgl9liqP6cu
=jNzX
-----END PGP SIGNATURE-----

--dkEUBIird37B8yKS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141117152620.GC48896>