Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 10:59:28 +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: r338081 - head/security/py-mcrypt
Message-ID:  <201312301059.rBUAxSqt080481@svn.freebsd.org>

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

Log:
  security/py-mcrypt: support staging and minor changes

Modified:
  head/security/py-mcrypt/Makefile

Modified: head/security/py-mcrypt/Makefile
==============================================================================
--- head/security/py-mcrypt/Makefile	Mon Dec 30 10:36:10 2013	(r338080)
+++ head/security/py-mcrypt/Makefile	Mon Dec 30 10:59:28 2013	(r338081)
@@ -9,24 +9,19 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	python-mcrypt-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A comprehensive Python interface to the mcrypt library
+COMMENT=	Comprehensive Python interface to the mcrypt library
 
-LIB_DEPENDS=	mcrypt:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS=	libmcrypt.so:${PORTSDIR}/security/libmcrypt
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 PYDISTUTILS_BUILDARGS=	-L${LOCALBASE}/lib
-PYDISTUTILS_PKGNAME=	python-mcrypt
+PYDISTUTILS_BUILD_TARGET=	build_ext
 CFLAGS+=	-I${LOCALBASE}/include
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/mcrypt.so
-
-NO_STAGE=	yes
 pre-patch:
 	# put a missed terminating quote
 	${REINPLACE_CMD} -e '1136s,$$,\\,g' -e '1678s,$$,\\,g' ${WRKSRC}/mcrypt.c
 
-do-build:
-	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
-
 .include <bsd.port.mk>



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