Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 1996 20:10:26 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Jake Hamby <jehamby@lightside.com>
Cc:        ports@freebsd.org
Subject:   Re: Question about PLIST
Message-ID:  <Pine.OSF.3.95.961027200856.3878A-100000@thurston.eng.umd.edu>
In-Reply-To: <Pine.BSF.3.95.961027155617.3232A-100000@hamby1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Oct 1996, Jake Hamby wrote:

> I'm almost done with my ports of Marimba's Castanet Tuner and Bongo, and I
> have a question about the PLIST file.
> 
> Both programs are written in Java, and consist of hundreds of .class
> files.  In the installation Makefile, I'm using pax to transfer the entire
> directory to /usr/local/lib/castanet or /usr/local/lib/bongo respectively.
> 
> I really didn't want to list every single file in the PLIST, especially
> since the exact number and names of the .class files is likely to change
> between versions.  So I just put the directory names in the PLIST.  Sure
> enough, when I typed "make package", it put the correct files in the
> tarball.
> 
> Unfortunately, when I try pkg_delete, it complains because it tries to
> delete the directories as files, and obviously fails.  I can put a @dirrm
> at the end of the PLIST, but the warning messages are annoying.  Also, I
> was having second thoughts, since EVERY OTHER PACKAGE seems to list
> filenames individually in the PLIST.  I can balloon the PLIST out to 10k
> by listing each file manually, but then I can't get the package builder to
> add empty subdirectories and directory symlinks into the package tarball!

What empty subdirs?  Why does the application need empty subdirs?

That's easily gotten around by making 0 sized files, but why?

> 
> I think I'm just going to go back to the original method of listing only
> the directory name, and ignore the warning messages from pkg_delete
> (and have it use @dirrm to remove the entire /usr/local/lib/castanet
> directory).  Can somebody more familiar with building ports tell me
> whether this is acceptable or if I must list each file manually (which I
> don't want to do)?  Thanks in advance!
> 
> -- Jake
> 
> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.961027200856.3878A-100000>