Skip to content
Snippets Groups Projects
Commit 06227fb6 authored by Yasuhiro Kimura's avatar Yasuhiro Kimura
Browse files

security/gnupg: Create symlink for manpage

When security/gnupg1 isn't installed, ${PREFIX}/bin/gpg symlink is
created whose target is 'gpg2'. It means gpg2 can also be invoked as
'gpg'. And under such situation it is convenient for user if gpg2(1)
man page can also be accessed as gpg(1). So create
${PREFIX}/man/man1/gpg.1.gz symlink whose target is 'gpg2.1.gz'.

PR:		272519
Approved by:	maintainer timeout
parent bd387006
No related branches found
No related tags found
No related merge requests found
PORTNAME= gnupg
DISTVERSION= 2.4.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= GNUPG
......
......@@ -123,3 +123,5 @@ sbin/applygnupgdefaults
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
@postexec [ -e %D/bin/gpg ] || ln -sf gpg2 %D/bin/gpg
@postunexec [ -e %D/bin/gpg ] || rm -f %D/bin/gpg
@postexec [ -e %D/man/man1/gpg.1.gz] || ln -sf gpg2.1.gz %D/man/man1/gpg.1.gz
@postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment