Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 12:26:04 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361226 - in head/security/fbopenssl: . files
Message-ID:  <201407081226.s68CQ4kh043947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Jul  8 12:26:03 2014
New Revision: 361226
URL: http://svnweb.freebsd.org/changeset/ports/361226
QAT: https://qat.redports.org/buildarchive/r361226/

Log:
  Add staging support, allow it as regular user

Modified:
  head/security/fbopenssl/Makefile
  head/security/fbopenssl/files/BSDMakefile

Modified: head/security/fbopenssl/Makefile
==============================================================================
--- head/security/fbopenssl/Makefile	Tue Jul  8 12:23:29 2014	(r361225)
+++ head/security/fbopenssl/Makefile	Tue Jul  8 12:26:03 2014	(r361226)
@@ -5,11 +5,12 @@ PORTVERSION=	0.0.4
 CATEGORIES=	security
 MASTER_SITES=	SF/modgssapache/${PORTNAME}/${PORTVERSION}/
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GSS-API and SPNEGO extensions for OpenSSL
 
 LICENSE=	GPLv2
 
+USES=		uidfix
 USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
 MAKEFILE=	BSDMakefile
@@ -19,16 +20,11 @@ PORTDOCS=	readme.txt
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-extract:
 	${INSTALL_DATA} ${FILESDIR}/BSDMakefile ${WRKSRC}
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/security/fbopenssl/files/BSDMakefile
==============================================================================
--- head/security/fbopenssl/files/BSDMakefile	Tue Jul  8 12:23:29 2014	(r361225)
+++ head/security/fbopenssl/files/BSDMakefile	Tue Jul  8 12:26:03 2014	(r361226)
@@ -31,6 +31,6 @@ FILES=	include/asn1help.h \
 FILESDIR?=	${PREFIX}/include/fbopenssl	
 
 beforeinstall:
-	install -m 0755 -d ${PREFIX}/include/fbopenssl
+	install -m 0755 -d ${DESTDIR}${PREFIX}/include/fbopenssl
 
 .include <bsd.lib.mk>



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