Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 15:21:00 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357333 - in head/security/bugs: . files
Message-ID:  <201406101521.s5AFL09w059571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jun 10 15:20:59 2014
New Revision: 357333
URL: http://svnweb.freebsd.org/changeset/ports/357333
QAT: https://qat.redports.org/buildarchive/r357333/

Log:
  Stagify.

Added:
  head/security/bugs/files/
  head/security/bugs/files/patch-Makefile.bsd   (contents, props changed)
Modified:
  head/security/bugs/Makefile

Modified: head/security/bugs/Makefile
==============================================================================
--- head/security/bugs/Makefile	Tue Jun 10 15:20:03 2014	(r357332)
+++ head/security/bugs/Makefile	Tue Jun 10 15:20:59 2014	(r357333)
@@ -13,7 +13,6 @@ COMMENT=	Great cryptographic library and
 
 LICENSE=	GPLv2
 
-NO_STAGE=	yes
 USES=		gmake
 MAKE_ARGS=	CC="${CC}" BFLAG="${CFLAGS}" \
 		INSTALL_PATH="${PREFIX}/${DISTNAME}"
@@ -47,13 +46,14 @@ post-build:
 	@${LN} -sf ${WRKSRC}/lib/unix/*.a ${WRKSRC}/lib/
 
 post-install:
-	@${MKDIR} ${PREFIX}/${DISTNAME}/include
-	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/${DISTNAME}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${DISTNAME}/include
+	${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/${DISTNAME}/include
 .for file in bchat bcrypt bhide bkey block blogin bmore bpass bpassdel bunlock
-	@${STRIP_CMD} ${PREFIX}/${DISTNAME}/${file}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${DISTNAME}/${file}
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 .endif
 
 test: build

Added: head/security/bugs/files/patch-Makefile.bsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/bugs/files/patch-Makefile.bsd	Tue Jun 10 15:20:59 2014	(r357333)
@@ -0,0 +1,20 @@
+--- Makefile.bsd.orig	2014-06-10 23:16:23.285874501 +0800
++++ Makefile.bsd	2014-06-10 23:16:59.938863115 +0800
+@@ -77,13 +77,13 @@ lib:	testfpost libchoice
+ 
+ install: instchoice all
+ 	@echo "Creating directory $(INSTALL_PATH) ..."
+-	@mkdir $(INSTALL_PATH) 
++	@mkdir $(DESTDIR)$(INSTALL_PATH) 
+ 	@echo "Copying binaries in $(INSTALL_PATH) ..."
+-	@cp -f ./bin/* $(INSTALL_PATH)/
++	@cp -f ./bin/* $(DESTDIR)$(INSTALL_PATH)/
+ 	@echo "Copying bugscrypt.a in $(INSTALL_PATH) ..."
+-	@cp -f ./lib/bugscrypt.a $(INSTALL_PATH)/
++	@cp -f ./lib/bugscrypt.a $(DESTDIR)$(INSTALL_PATH)/
+ 	@echo "Copying docs in $(INSTALL_PATH) ..."
+-	@cp -rf ./doc/* $(INSTALL_PATH)/
++	@cp -rf ./doc/* $(DESTDIR)$(INSTALL_PATH)/
+ 	@echo
+ 	@echo ------------------------------------------------------------
+ 	@echo



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