From owner-svn-ports-head@FreeBSD.ORG Mon Nov 17 15:26:27 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7A76E5F; Mon, 17 Nov 2014 15:26:26 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FAF038C; Mon, 17 Nov 2014 15:26:26 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id l18so3672561wgh.30 for ; Mon, 17 Nov 2014 07:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=6zOp6gsoqwVKkzkO0Npuc7bJ5WmFCWsZD25+AqQK9Ns=; b=XmxDnl/b+Yz/BKFvsr0jsHGcZp9Rsczqi7N/mV7hoAFGH5JvjmKlrV0HmyFv3Wmr1W /XOutAJpE2UdjOTUZOhzDEOaanMf1EOmtZHtvQiCh+pfjx6QOWYxvb3ENK19RAwnLZBF tyLVim+IKUIHpBVTHEKBOlOcArQNhaaMRSUkHKFBSZOWx/ndIE9Rfq4iPYNAHD/ak/v+ DhuhtckcBDW3bHkf7NfcKZAGrLl9bFD8sjMa3ocxMLHGDFYwwhL/klGRu44U2KX2BMd7 KXLPLbaFXdQ3dPGK+xsI0aT9mrU8IM/njQTo7M5Nd2GzjnpvdjcGib7K9l6NIkTZ0YeX po/g== X-Received: by 10.180.76.41 with SMTP id h9mr32411282wiw.40.1416237984611; Mon, 17 Nov 2014 07:26:24 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id cz3sm51948708wjb.23.2014.11.17.07.26.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Nov 2014 07:26:23 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 17 Nov 2014 16:26:20 +0100 From: Baptiste Daroussin To: Alfred Perlstein Subject: Re: svn commit: r372654 - in head/editors/vim: . files Message-ID: <20141117152620.GC48896@ivaldir.etoilebsd.net> References: <201411162255.sAGMtAaW055221@svn.freebsd.org> <20141117064309.GB48896@ivaldir.etoilebsd.net> <305A5CEB-E71C-4148-A8D5-A0B74C32B23B@mu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dkEUBIird37B8yKS" Content-Disposition: inline In-Reply-To: <305A5CEB-E71C-4148-A8D5-A0B74C32B23B@mu.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , Alfred Perlstein , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 15:26:27 -0000 --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 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--