Date: Sun, 6 Aug 2006 13:29:27 +0400 From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: sergei@FreeBSD.org, ports@freebsd.org Subject: porttools plist target Message-ID: <20060806132927.35c24162@localhost>
next in thread | raw e-mail | index | archive | help
--Sig_Wwt/E.x=VChUemk+h+sYCor Content-Type: multipart/mixed; boundary="MP_Q2H4XcZqKy/5GiuW0gepffV" --MP_Q2H4XcZqKy/5GiuW0gepffV Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! The script attached adds new "plist" target to porttools package. Adding it to share/porttools will allow to use the following command: # port plist This target will automatically create pkg-plist with all available substitutions , backuping an old one to pkg-plist.orig. Though, this pkg-plist will require additional manual processing sometimes, it will simplify the process greatly.=20 I used this script with succes for a long time, hope it will be useful for other people. --=20 Stanislav Sedov MBSD labs, Inc. <ssedov@mbsd.msk.ru> =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --MP_Q2H4XcZqKy/5GiuW0gepffV Content-Type: application/octet-stream; name=cmd_plist Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=cmd_plist IyEvYmluL3NoCiMKIyBGcmVlQlNEIFBvcnQgVG9vbHMgMC43NwojCiMgQ29weXJpZ2h0IChDKSBT dGFuaXNsYXYgU2Vkb3YgPHNzZWRvdkBtYnNkLm1zay5ydT4gMjAwNgojIEFsbCByaWdodHMgcmVz ZXJ2ZWQuCiMgCiMgUmVkaXN0cmlidXRpb24gYW5kIHVzZSBpbiBzb3VyY2UgYW5kIGJpbmFyeSBm b3Jtcywgd2l0aCBvciB3aXRob3V0CiMgbW9kaWZpY2F0aW9uLCBhcmUgcGVybWl0dGVkIHByb3Zp ZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaX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ZmkKCm12ICR7cGxpc3R9IHBrZy1wbGlzdAoKIwojIERlaW5zdGFsbCBwb3J0CiMK JHtTVURPfSBtYWtlIFBSRUZJWD0ke3RtcGRpcn0gJHtQT1JUX0ZMQUdTfSBkZWluc3RhbGwKCiMK IyBDbGVhbiB3b3JrIGRpcmVjdG9yeSAKIwppZiBbICIke05PQ0xFQU59IiA9ICJubyIgXTsgdGhl bgoJJHtTVURPfSBtYWtlIGNsZWFuICR7UE9SVF9GTEFHU30KZmkKCmNsZWFudXAKCmV4aXQgMAo= --MP_Q2H4XcZqKy/5GiuW0gepffV-- --Sig_Wwt/E.x=VChUemk+h+sYCor Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFE1bZ3K/VZk+smlYERAiNiAJ43H71V82YsV69aeoEa+Dnw+EER3QCePoUm RWUfNnrXUKbbRUvhPhxh/6M= =e2Be -----END PGP SIGNATURE----- --Sig_Wwt/E.x=VChUemk+h+sYCor--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060806132927.35c24162>