Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 19:23:26 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359411 - head/security/pam_krb5
Message-ID:  <201406261923.s5QJNQcf069381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Jun 26 19:23:26 2014
New Revision: 359411
URL: http://svnweb.freebsd.org/changeset/ports/359411
QAT: https://qat.redports.org/buildarchive/r359411/

Log:
  Support stage.

Modified:
  head/security/pam_krb5/Makefile
  head/security/pam_krb5/pkg-plist

Modified: head/security/pam_krb5/Makefile
==============================================================================
--- head/security/pam_krb5/Makefile	Thu Jun 26 18:59:58 2014	(r359410)
+++ head/security/pam_krb5/Makefile	Thu Jun 26 19:23:26 2014	(r359411)
@@ -13,8 +13,6 @@ COMMENT=		A Pluggable Authentication Mod
 
 CONFLICTS=		pam_krb5-rh-2.*
 
-MAN5=			pam_krb5.5
-
 USES=		perl5 gmake
 GNU_CONFIGURE=		yes
 
@@ -23,7 +21,7 @@ GNU_CONFIGURE=		yes
 KRB5_DIR?=		${HEIMDAL_HOME}
 .endif
 .elif defined(KRB5_IMPL) && ${KRB5_IMPL} == mit
-LIB_DEPENDS=		krb5.3:${PORTSDIR}/security/krb5
+LIB_DEPENDS=		libkrb5.so:${PORTSDIR}/security/krb5
 .if defined(KRB5_HOME)
 KRB5_DIR?=		${KRB5_HOME}
 .endif
@@ -31,13 +29,12 @@ KRB5_DIR?=		${KRB5_HOME}
 IGNORE=			you must define KRB5_IMPL to be "mit" or "heimdal"
 .endif
 
-MANDIR=			${MANPREFIX}/man
-MANDIR=			${PREFIX}/share/man
+MANDIR=			${STAGEDIR}${MANPREFIX}/man
+MANDIR=			${STAGEDIR}${PREFIX}/share/man
 KRB5_DIR?=		${LOCALBASE}
 CONFIGURE_ARGS=		--with-krb5="${KRB5_DIR}"
 
-NO_STAGE=	yes
 post-install:
-	cd ${WRKSRC} && ${MAKE_CMD} install-man
+	cd ${WRKSRC} && ${MAKE_CMD} install-man DESTDIR=${STAGEDIR}
 
 .include <bsd.port.mk>

Modified: head/security/pam_krb5/pkg-plist
==============================================================================
--- head/security/pam_krb5/pkg-plist	Thu Jun 26 18:59:58 2014	(r359410)
+++ head/security/pam_krb5/pkg-plist	Thu Jun 26 19:23:26 2014	(r359411)
@@ -1,3 +1,4 @@
 lib/security/pam_krb5.so
 lib/security/pam_krb5.la
+man/man5/pam_krb5.5.gz
 @dirrmtry lib/security



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261923.s5QJNQcf069381>