Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 11:12:10 +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: r338085 - head/security/py-twofish
Message-ID:  <201312301112.rBUBCA6Q087764@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Dec 30 11:12:10 2013
New Revision: 338085
URL: http://svnweb.freebsd.org/changeset/ports/338085

Log:
  security/py-twofish: support staging and restrict to python 2.x

Modified:
  head/security/py-twofish/Makefile

Modified: head/security/py-twofish/Makefile
==============================================================================
--- head/security/py-twofish/Makefile	Mon Dec 30 11:10:15 2013	(r338084)
+++ head/security/py-twofish/Makefile	Mon Dec 30 11:12:10 2013	(r338085)
@@ -12,17 +12,15 @@ DISTNAME=	twofishmodule-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Twofish cryptographic module for Python
 
-USE_PYTHON=	yes
+USE_PYTHON=	2
 GNU_CONFIGURE=	yes
 CFLAGS+=	-fPIC
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/_twofish.so ${PYTHON_SITELIBDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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