svn commit: r372654 - in head/editors/vim: . files

Alfred Perlstein bright at mu.org
Mon Nov 17 15:21:40 UTC 2014



> On Nov 16, 2014, at 10:43 PM, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> 
>> 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/
>> 
>> Log:
>>  Use vimrc from distribution.
>> 
>>  Suggested by: many.
>> 
>> Deleted:
>>  head/editors/vim/files/vimrc
>> Modified:
>>  head/editors/vim/Makefile
>>  head/editors/vim/pkg-plist
>> 
>> Modified: head/editors/vim/Makefile
>> ==============================================================================
>> --- 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=    ${WRKDIR}/${VIM_VER}/src
>> WRKSRC=        ${WRKDIR}/${VIM_VER}
>> 
>> PLIST_SUB=    VIM_VER=${VIM_VER}
>> -PORTDATA=    *
>> +PORTDATA=    ${VIM_VER}
>> 
>> VIM_VER=    ${PORTNAME}${PORTVERSION:R:S/.//g}
>> 
>> @@ -126,6 +126,9 @@ IGNORE=        this port has new UI option (CO
>> 
>> .if ${PORT_OPTIONS:MDEFAULT_VIMRC}
>> DEFAULT_VIMRC_LOCATION=${PREFIX}/share/vim
>> +PLIST_SUB+=    DEFAULT_VIMRC="@sample "
> @sample only works if the file itself is suffixed by .sample
> 

So 
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


More information about the svn-ports-head mailing list