aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/py-amkCrypto/Makefile8
-rw-r--r--security/py-cryptkit/Makefile9
-rw-r--r--security/py-gnupg/Makefile9
-rw-r--r--security/py-mhash/Makefile8
-rw-r--r--security/py-openssl/Makefile9
-rw-r--r--security/py-pow/Makefile9
-rw-r--r--sysutils/lfm/Makefile8
7 files changed, 10 insertions, 50 deletions
diff --git a/security/py-amkCrypto/Makefile b/security/py-amkCrypto/Makefile
index 5949f61881d..c5d36b8063a 100644
--- a/security/py-amkCrypto/Makefile
+++ b/security/py-amkCrypto/Makefile
@@ -14,14 +14,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jason@mastaler.com
-BUILD_DEPENDS= ${PYDISTUTILS}
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
USE_OPENSSL= yes
-do-build:
- (cd ${WRKSRC}; ${PYTHON_CMD} setup.py build)
-
-do-install:
- (cd ${WRKSRC}; ${PYTHON_CMD} setup.py install)
-
.include <bsd.port.mk>
diff --git a/security/py-cryptkit/Makefile b/security/py-cryptkit/Makefile
index 8e5cf17915e..b6c762a057b 100644
--- a/security/py-cryptkit/Makefile
+++ b/security/py-cryptkit/Makefile
@@ -16,13 +16,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
-
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
+USE_PYDISTUTILS= yes
.include <bsd.port.mk>
diff --git a/security/py-gnupg/Makefile b/security/py-gnupg/Makefile
index 44839f1595c..9f1e98c9d14 100644
--- a/security/py-gnupg/Makefile
+++ b/security/py-gnupg/Makefile
@@ -17,13 +17,6 @@ DISTNAME= GnuPGInterface-${PORTVERSION}
MAINTAINER= shell@shellhung.org
USE_PYTHON= yes
-
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
+USE_PYDISTUTILS= yes
.include <bsd.port.mk>
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile
index fc15080a182..a9be0008859 100644
--- a/security/py-mhash/Makefile
+++ b/security/py-mhash/Makefile
@@ -19,14 +19,12 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
do-build:
- @${SETUP_CMD} build_ext -L${LOCALBASE}/lib
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
-do-install:
- @${SETUP_CMD} install
.include <bsd.port.mk>
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index 703488d58b0..fd96e34974c 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -17,14 +17,7 @@ DISTNAME= pyOpenSSL-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
USE_OPENSSL= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
-
.include <bsd.port.mk>
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile
index 9617de7ff0b..f32f9b4da22 100644
--- a/security/py-pow/Makefile
+++ b/security/py-pow/Makefile
@@ -17,16 +17,11 @@ DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
USE_OPENSSL= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/POW.pdf ${DOCSDIR}
.endif
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile
index 987c589b8db..8c07fb71d50 100644
--- a/sysutils/lfm/Makefile
+++ b/sysutils/lfm/Makefile
@@ -14,15 +14,9 @@ MASTER_SITES= http://www.terra.es/personal7/inigoserna/lfm/
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
+USE_PYDISTUTILS= yes
pre-install:
@${SH} ${PKGREQ} INSTALL
-do-install:
- @${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
-
.include <bsd.port.mk>