aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-10-13 05:04:39 +0800
committerdinoex <dinoex@FreeBSD.org>2002-10-13 05:04:39 +0800
commitdb7c11744359299fcc84e971329b01526e4a2cfc (patch)
tree32e33bdba442199847e771312c11ec94274c0398 /security/openssl
parentccc63d18846ccf04ba2d487265f74d3ebc0638b6 (diff)
downloadfreebsd-ports-gnome-db7c11744359299fcc84e971329b01526e4a2cfc.tar.gz
freebsd-ports-gnome-db7c11744359299fcc84e971329b01526e4a2cfc.tar.zst
freebsd-ports-gnome-db7c11744359299fcc84e971329b01526e4a2cfc.zip
Install manpages in standard only if OPENSSL_OVERWRITE_BASE is not set.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile5
-rw-r--r--security/openssl/pkg-plist5
2 files changed, 9 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index d80dc250f296..18a053adc8c8 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -43,12 +43,15 @@ PKGNAMESUFFIX= -overwrite-base
PREFIX= /usr
SHLIBVER= 2
OPENSSLDIR= /etc/ssl
-MANPREFIX= ${PREFIX}/share
+MANPREFIX= ${PREFIX}/openssl
+PLIST_SUB+= MANDIR=""
.else
OPENSSLDIR= ${PREFIX}/openssl
MANPREFIX= ${PREFIX}
+PLIST_SUB+= MANDIR="@comment "
.endif
+MANPREFIX= ${PREFIX}
MAKE_ENV+= MANPREFIX=${MANPREFIX}
MAN1= CA.pl.1 asn1parse.1 ca.1 ciphers.1 crl.1 crl2pkcs7.1 dgst.1 \
diff --git a/security/openssl/pkg-plist b/security/openssl/pkg-plist
index 204cde9ef3e7..83d78344f9ad 100644
--- a/security/openssl/pkg-plist
+++ b/security/openssl/pkg-plist
@@ -74,6 +74,11 @@ openssl/openssl.cnf.sample
@dirrm include/openssl
@dirrm openssl/certs
@dirrm openssl/lib
+%%MANDIR%%@dirrm openssl/man/man1
+%%MANDIR%%@dirrm openssl/man/man3
+%%MANDIR%%@dirrm openssl/man/man5
+%%MANDIR%%@dirrm openssl/man/man7
+%%MANDIR%%@dirrm openssl/man
@dirrm openssl/misc
@dirrm openssl/private
@dirrm openssl