Created attachment 158586 [details] API_MAN The openssl port contains a lot of manpages. About 1500 of them, to be precise. For many (most?) users, we just need the libraries, not the API manpages, and it'd be nice to not have to install them. The attached patch is pretty simple, it just adds an API_MAN option (defaults to ON) that controls whether the man3 pages are installed. It shouldn't change the default package at all (so it shouldn't need a PORTREVISION bump). It doesn't affect the man1 manpages. While here, I also cleaned up the @dir handling in the plist. So, it removes all the @dirrm/@dirrmtry stuff, and only lists @dir for empty directories. With this patch and API_MAN off, the installation goes from 1,647 files to 168 files, and reduces the resulting package size by 37%. Installing the manpages won't cause the earth to stop turning, but I thought it'd be a nice option to have.
I will work on a cleaner option
A commit references this bug: Author: dinoex Date: Sat Sep 5 13:17:48 UTC 2015 New revision: 396168 URL: https://svnweb.freebsd.org/changeset/ports/396168 Log: - new OPTION MAN3 PR: 201459 Changes: head/security/openssl/Makefile head/security/openssl/pkg-plist