svn commit: r361226 - in head/security/fbopenssl: . files

Pawel Pekala pawel at FreeBSD.org
Tue Jul 8 12:26:04 UTC 2014


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 at FreeBSD.org
+MAINTAINER=	ports at 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>


More information about the svn-ports-head mailing list