Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 13:16:34 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364096 - head/net-im/py-xmpppy-irc
Message-ID:  <53e0d932.527a.399f413f@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Aug  5 13:16:34 2014
New Revision: 364096
URL: http://svnweb.freebsd.org/changeset/ports/364096
QAT: https://qat.redports.org/buildarchive/r364096/

Log:
  net-im/py-xmpppy-irc: support stage

Modified:
  head/net-im/py-xmpppy-irc/Makefile

Modified: head/net-im/py-xmpppy-irc/Makefile
==============================================================================
--- head/net-im/py-xmpppy-irc/Makefile	Tue Aug  5 13:11:23 2014	(r364095)
+++ head/net-im/py-xmpppy-irc/Makefile	Tue Aug  5 13:16:34 2014	(r364096)
@@ -9,7 +9,7 @@ MASTER_SITES=	SF/xmpppy/PyIRCt/${PORTVER
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	irc-transport-${PORTVERSION}
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Xmpp to irc transport
 
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy \
@@ -28,23 +28,22 @@ DDIR=		${PYTHON_SITELIBDIR}/xmpp/irc
 
 PORTSCOUT=	limit:^0\.4[1-4]
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
 		${XARGS} ${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD}," \
 			-e "s!/etc/jabber/jabber-irc.conf!${PREFIX}/etc/${PORTNAME:S.-..}.conf!"
 
 do-install:
-	@${INSTALL} -d ${DDIR}
-	@${INSTALL_SCRIPT} ${WRKSRC}/irc.py ${DDIR}/
-	@${INSTALL_DATA} ${FILES:M*jep*:S.^.${WRKSRC}/.} ${DDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/transport.ini ${PREFIX}/etc/${PORTNAME:S.-..}.conf.sample
-	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DDIR}
-	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DDIR}
-	@${CHMOD} -R a-w ${DDIR}
-.ifndef NOPORTDOCS
-	@${INSTALL} -d ${DOCSDIR}
-	@${INSTALL} ${PORTDOCS:S.^.${WRKSRC}/.} ${DOCSDIR}/
-.endif
+	@${INSTALL} -d ${STAGEDIR}${DDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/irc.py ${STAGEDIR}${DDIR}/
+	${INSTALL_DATA} ${FILES:M*jep*:S.^.${WRKSRC}/.} ${STAGEDIR}${DDIR}/
+	${INSTALL_DATA} ${WRKSRC}/transport.ini ${STAGEDIR}${PREFIX}/etc/${PORTNAME:S.-..}.conf.sample
+	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
+	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
+	@${CHMOD} -R a-w ${STAGEDIR}${DDIR}
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	${INSTALL} ${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?53e0d932.527a.399f413f>