Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 1996 15:22:15 -0800 (PST)
From:      David Muir Sharnoff <muir@idiom.com>
To:        James FitzGibbon <james@nexis.net>
Cc:        freebsd-ports@freebsd.org
Message-ID:  <199610282322.PAA12157@idiom.com>
In-Reply-To: <5449qi$g8d@idiom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm very happy to hear you're doing this!  I was tempted to do it
myself, but lacked the round toits.  

The naming scheme that I was going to use was simply to copy the
name of the module as it is stored in CPAN.  Put them all in a
separate directory (/usr/ports/perl).

CPAN's Time-modules-96.100201.tar.gz becomes 
/usr/ports/perl/Time-modules.   It appears that there aren't many 
modules that have :'s in their name as they are stored in 
CPAN.  In fact, there might not be any.

If you combine this thread with with one about porting the ports
to other architectures, the obvious thing would be to mirror this
ports directory back into CPAN (along with a ports-installer module)
so that everyone in the perl community can take advantage of them
too!

Anyway, good luck and thanks!

-Dave

* I'm about to commit a dozen perl5 ports, with many more to come.  I'd like
* comments on the naming scheme I should use for both the directory and
* PKGNAME.
* 
* Perl5 references it's modules. using double colons, an allowable character
* in a filename.  The module that deals with routines mimicking ctime()
* would be called Time::CTime.  This is how you include them in source, and
* it's how module authors refer to them in dependancy lists.
* 
* I would like to use this in the package, and preferably the directory
* name, prefixed by perl5:
* 
* So, the above module's PKGNAME would be perl5:Time::CTime.  It looks ugly,
* but with the possibilty of 100+ ports, they need to be sectioned off
* somehow .  Making a new directory for them is out, so this is the next
* best thing.  
* 
* In the case of collections of modules (such as one that includes multiple
* sub-modules of Time::, the port would just be called "perl5::Time".  In
* the case of ones that span multiple modules (including URL:: and URI:: and
* Net:: for example), I'd suggest using "perl5::libwww" (in this case
* derived from the distfile, libwww-perl.
* 
* I'd also like to call the directory the same thing, but this one I'm sure
* I'll catch flack on.  Suggestions are welcome - I can't think of a good
* alternative.
* 
* So, please cut up everything I've suggested.  I'd like to make everyone
* happy here, but I doubt it's going to happen, so let's get all ideas in
* the open now.  
* 
* Thank-you for your time.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610282322.PAA12157>