Subject: Re: port2pkg and new FreeBSD port layout
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Dominik Rothert <dr@astorit.com>
List: tech-pkg
Date: 12/27/2000 18:40:34
"Jared D. McNeill" <jmcneill@invisible.yi.org> wrote:

> Last time I used port2pkg (built yesterday), it left the pkg-* files in
> the root directory of the new package. I think it should move pkg-* to
> pkg/toupper(*), since they have pkg-descr, pkg-plist, pkg-comment, etc.

=4= dr@domix % port2pkg xtermset_port xtermset                ~/NetBSD/packages
# New ports collection makefile for:            xtermset
# Date created:                 21 August 1999
# Whom:                 Dominik Rothert <dr@domix.de>
#
#
OK: checking Makefile.
WARN: please add HOMEPAGE if the package has one.
WARN: no ./files/patch-sum file. Please run 'make makepatchsum'.
OK: checking pkg/PLIST.
OK: checking pkg/COMMENT.
OK: checking pkg/DESCR.
OK: checking patches/patch-aa.
OK: checking files/md5.
0 fatal errors and 2 warnings found.
=4= dr@domix % ls -lR xtermset                                ~/NetBSD/packages
total 8
-rw-r--r--  1 dr  dr  343 Dec 27 18:34 Makefile
drwxr-xr-x  2 dr  dr  512 Dec 27 18:34 files/
drwxr-xr-x  2 dr  dr  512 Dec 27 18:34 patches/
drwxr-xr-x  2 dr  dr  512 Dec 27 18:34 pkg/

xtermset/files:
total 2
-rw-r--r--  1 dr  dr  71 Dec 27 18:34 md5

xtermset/patches:
total 2
-rw-r--r--  1 dr  dr  281 Dec 27 18:34 patch-aa

xtermset/pkg:
total 6
-rw-r--r--  1 dr  dr   45 Aug 21  1999 COMMENT
-rw-r--r--  1 dr  dr  174 Aug 21  1999 DESCR
-rw-r--r--  1 dr  dr   31 Dec 27 18:34 PLIST

whereas xtermset_port/ contains...

=4= dr@domix % ls -lR xtermset_port                           ~/NetBSD/packages
total 12
-rw-r--r--  1 dr  dr  486 Apr 13  2000 Makefile
-rw-r--r--  1 dr  dr   61 Aug 21  1999 distinfo
drwxr-xr-x  2 dr  dr  512 Oct  9 11:20 files/
-rw-r--r--  1 dr  dr   45 Aug 21  1999 pkg-comment
-rw-r--r--  1 dr  dr  174 Aug 21  1999 pkg-descr
-rw-r--r--  1 dr  dr   13 Aug 21  1999 pkg-plist

xtermset_port/files:
total 2
-rw-r--r--  1 dr  dr  271 Aug 21  1999 patch-aa


-Dominik

-- 
/*  Dominik Rothert         |           dr@astorit.com  *
 *  A S T O R I T           |  http://www.astorit.com/  *
 *  Hohenzollernring 52     |       fon +49-221-251440  *
 *  50672 Cologne, Germany  |       fax +49-221-251443  */:wq!