I usually do something like this: $ sudo port extract pev $ grep -C 1 -r 'your option' $(port work pev)
which in this case leads to output like this for many files: .../work/pev-0.60/lib/libpe/pe.c- the Free Software Foundation, either version 3 of the License, or .../work/pev-0.60/lib/libpe/pe.c: (at your option) any later version. .../work/pev-0.60/lib/libpe/pe.c- The presence of "or (at your option) any later version" is what tells us whether to put the "+" after the version number. As added confirmation, the "license" file is GPL 3 (though if it didn't match, I would still probably go by the version number in the source files). On Nov 14, 2012, at 17:41, Aljaž Srebrnič wrote: > Thanks for this, I was looking for the license number, but couldn't find any > reference... > > On 15/nov/2012, at 00:06, [email protected] wrote: > >> Revision >> 99716 >> Author >> [email protected] >> Date >> 2012-11-14 15:06:10 -0800 (Wed, 14 Nov 2012) >> Log Message >> >> pev: more-specific license >> Modified Paths >> >> trunk/dports/devel/pev/Portfile >> Diff >> >> Modified: trunk/dports/devel/pev/Portfile (99715 => 99716) >> >> --- trunk/dports/devel/pev/Portfile 2012-11-14 20:55:58 UTC (rev 99715) >> +++ trunk/dports/devel/pev/Portfile 2012-11-14 23:06:10 UTC (rev 99716) >> @@ -12,7 +12,7 @@ >> long_description ${description} >> >> platforms darwin >> -license GPL >> +license GPL-3+ _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
