Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 23:55:30 +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: r341795 - head/security/rcracki_mt
Message-ID:  <201401292355.s0TNtUnq013298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jan 29 23:55:29 2014
New Revision: 341795
URL: http://svnweb.freebsd.org/changeset/ports/341795
QAT: https://qat.redports.org/buildarchive/r341795/

Log:
  - Allow staging [1]
  - Convert USE_GMAKE to USES=gmake
  
  PR:		ports/186136 [1]
  Submitted by:	maintainer

Modified:
  head/security/rcracki_mt/Makefile

Modified: head/security/rcracki_mt/Makefile
==============================================================================
--- head/security/rcracki_mt/Makefile	Wed Jan 29 23:46:13 2014	(r341794)
+++ head/security/rcracki_mt/Makefile	Wed Jan 29 23:55:29 2014	(r341795)
@@ -16,7 +16,7 @@ EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
 
-USE_GMAKE=	yes
+USES=		gmake
 EXTRACT_CMD=	${LOCALBASE}/bin/7z
 EXTRACT_BEFORE_ARGS=x -o${WRKDIR}
 EXTRACT_AFTER_ARGS=
@@ -24,19 +24,14 @@ EXTRACT_AFTER_ARGS=
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	ChangeLog.txt README.txt
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,CC = g++,CXX ?= g++, ; s,CFLAGS =,CXXFLAGS +=, ; \
 		s,-lpthread,${PTHREAD_LIBS}, ; s,CC,CXX, ; s,CFLAGS,CXXFLAGS,' \
 		${WRKSRC}/Makefile
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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