Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 1999 07:53:16 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        ports@FreeBSD.ORG
Subject:   Two suggestions for ports
Message-ID:  <199902060653.HAA08840@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
About ports:

1) those who occasionally send pointers to interesting software,
can they please send them in the following form:

    # New ports collection makefile for:    piMP3
    DISTNAME=       piMP3-0.5CATEGORIES=     mbone
    MASTER_SITES=   http://nonfat.above.net/~ser
    .include <bsd.port.mk>

the above, although not perfect, can be easily put in

	/usr/ports/<your-subtree>/Makefile

for making use of our excellent port makefiles.

Also, after a bit of playing with ports, i wonder if it would be better
to have the content of files  like files/MD5, and pkg/* directly into
the Makefile.
 
This is based on the following motivations:

 * these files are often very short (one line or little more)
   so the clutter in the Makefile because one should quote multiline
   text is not significant
    
 * updates to the above files generally occur when the distribution
   changes, so usually one has to modify Makefile as well. By putting
   things in one place reduces the number of modified files and is also
   a good reminder for lazy people.

 * one of the problems of the ports tree is the large number of
   directories -- by putting everything in the Makefile we save a
   couple of directories per port (in the frequent case when there is
   nothing else than MD5 in files/)

I think it would be fairly simple to implement the above in a backward 
compatible way (use the Make variables if defined, otherwise resort to
the old file resources)
 
Opinions ? (don't ask me for patches though, i don't know enough of the
various dependencies in the *mk files...)
 
        cheers
        luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO                      .
  EMAIL: luigi@iet.unipi.it        . Dip. di Ing. dell'Informazione
  HTTP://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
-----------------------------------+-------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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