Date: Sun, 6 Feb 2005 02:20:57 -0700 (MST) From: Mike Brown <mike@skew.org> To: freebsd-ports@freebsd.org Subject: empty dirs needed in package Message-ID: <200502060920.j169KvTD056755@chilled.skew.org>
next in thread | raw e-mail | index | archive | help
Hi again, My port creates some empty directories. They won't always be empty, if certain features of the software are used. I need installing from a pacakge to result in the creation of these directories. Apparently, 'make package' produces a package that has no idea that it needs to create these directories, since there is no way, AFAIK, to specify empty dirs in a pkg-plist. Since there are @dirrm entries for these directories in my pkg-plist, doing a 'make deinstall' after a 'pkg_add' results in complaints that the directories don't exist. What's the proper way to deal with this? Do I do something special to the pkg-plist? Do I use a custom +MTREE_DIRS somehow when making the package? Do I remove the @dirrm entries and put something in a post-deinstall target in the Makefile instead? Thanks, -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502060920.j169KvTD056755>