aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg1
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-05 13:58:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-05 13:58:42 +0000
commit6d66b99f0aa66e6cf6a2324603d45d9290027f37 (patch)
tree6e92d76e73f59eba01095f7c75448ceaa6b8ce4b /security/gnupg1
parentccf07e0c27a1018099bc8ab9b44c9c6a99955357 (diff)
Notes
Diffstat (limited to 'security/gnupg1')
-rw-r--r--security/gnupg1/Makefile15
-rw-r--r--security/gnupg1/pkg-plist5
2 files changed, 10 insertions, 10 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index a308a35cf87d..7ed28dff8785 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -21,11 +21,8 @@ GNU_CONFIGURE= YES
MACHINE_ARCH= i586
.endif
CFLAGS:= ${CFLAGS:S/-pipe//g}
-MAN1= gpg.1 gpgv.1 gpg.ru.1 gpg-zip.1
-MAN7= gnupg.7
INFO= gnupg1
DOCSDIR= ${PREFIX}/share/doc/gnupg1
-
PORTDOCS= *
OPTIONS_DEFINE= LDAP LIBICONV LIBUSB SUID_GPG NLS CURL DOCS
@@ -36,7 +33,6 @@ LIBUSB_DESC= use libusb
SUID_GPG_DESC= install GPG with suid
CURL_DESC= use libcurl for the keyserver interface
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${CC} == "clang" || ${OSVERSION} >= 1000024
@@ -86,18 +82,17 @@ CONFIGURE_ARGS+=--without-libcurl
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in DETAILS FAQ HACKING OpenPGP
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.for i in ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS \
README THANKS TODO VERSION
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.if ${PORT_OPTIONS:MSUID_GPG}
- ${CHMOD} u+s ${PREFIX}/bin/gpg
+ ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/gpg
.endif
check:
diff --git a/security/gnupg1/pkg-plist b/security/gnupg1/pkg-plist
index 456c3a8b60ba..ba8344bcdd71 100644
--- a/security/gnupg1/pkg-plist
+++ b/security/gnupg1/pkg-plist
@@ -7,6 +7,11 @@ libexec/gnupg/gpgkeys_curl
libexec/gnupg/gpgkeys_finger
libexec/gnupg/gpgkeys_hkp
@dirrm libexec/gnupg
+man/man1/gpg-zip.1.gz
+man/man1/gpg.1.gz
+man/man1/gpg.ru.1.gz
+man/man1/gpgv.1.gz
+man/man7/gnupg.7.gz
%%NLS%%share/locale/be/LC_MESSAGES/gnupg.mo
%%NLS%%share/locale/ca/LC_MESSAGES/gnupg.mo
%%NLS%%share/locale/cs/LC_MESSAGES/gnupg.mo