Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 09:45:29 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355811 - head/net/ntlmaps
Message-ID:  <201405300945.s4U9jTun063961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri May 30 09:45:28 2014
New Revision: 355811
URL: http://svnweb.freebsd.org/changeset/ports/355811
QAT: https://qat.redports.org/buildarchive/r355811/

Log:
  Stage support.

Modified:
  head/net/ntlmaps/Makefile

Modified: head/net/ntlmaps/Makefile
==============================================================================
--- head/net/ntlmaps/Makefile	Fri May 30 09:38:36 2014	(r355810)
+++ head/net/ntlmaps/Makefile	Fri May 30 09:45:28 2014	(r355811)
@@ -15,7 +15,6 @@ USES=		dos2unix
 
 DOCS=		COPYING Install.txt changelog.txt readme.txt research.txt
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 	    's,^#! /usr/bin/python,#!${PYTHON_CMD},' ${WRKSRC}/main.py
@@ -27,17 +26,21 @@ do-build:
 
 do-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
-	@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
-	@${MKDIR} ${PREFIX}/share/examples/ntlmaps
-	${INSTALL_DATA} ${WRKSRC}/*.py* ${PYTHON_SITELIBDIR}/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/lib/*.py* ${PYTHON_SITELIBDIR}/${PORTNAME}
-	${CHMOD} +x ${PYTHON_SITELIBDIR}/${PORTNAME}/main.py
-	${LN} -fs ${PYTHON_SITELIBDIR}/${PORTNAME}/main.py ${PREFIX}/bin/ntlmaps
-	${INSTALL_DATA} ${WRKSRC}/server.cfg ${PREFIX}/share/examples/ntlmaps
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/ntlmaps
+	${INSTALL_DATA} ${WRKSRC}/*.py* \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/lib/*.py* \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+	${CHMOD} +x ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/main.py
+	${LN} -fs ${PYTHON_SITELIBDIR}/${PORTNAME}/main.py \
+		${STAGEDIR}${PREFIX}/bin/ntlmaps
+	${INSTALL_DATA} ${WRKSRC}/server.cfg \
+		${STAGEDIR}${PREFIX}/share/examples/ntlmaps
 
 .include <bsd.port.mk>



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