pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: please review lighttpd and php-fcgi



On Mon, 14 Feb 2005, Piotr Stolc wrote:

> The PKGNAME and DISTNAME variables are specified separately because lighttpd
> snapshots' name convention is like "lighttpd-1.3.11-${DATE}.tar.gz" and this
> separation allows handling it easy.

If you use datestamped snapshots, you definitely what that in the version
number created by pkgsrc.  So the following can automate that for you.

PKGNAME=        ${DISTNAME:S/-/./g:S/./-/}

Fill in DISTNAME normally, and PKGNAME will be the same with all but the
first hyphen (-) changed into dots (.).

-- 
-- Todd Vierling <tv%duh.org@localhost> <tv%pobox.com@localhost>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index