aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:53:07 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:53:07 +0800
commit331c7aa42e2c8939b55ed23f19b5748e0769e3d5 (patch)
tree03a96cddc4a0b6e97a22b4dd2f4a3744a9ee804b /security
parent56d207b169a0d4d4b689d659ae52d153a7348437 (diff)
downloadfreebsd-ports-gnome-331c7aa42e2c8939b55ed23f19b5748e0769e3d5.tar.gz
freebsd-ports-gnome-331c7aa42e2c8939b55ed23f19b5748e0769e3d5.tar.zst
freebsd-ports-gnome-331c7aa42e2c8939b55ed23f19b5748e0769e3d5.zip
use USE_PYDISTUTILS
Diffstat (limited to 'security')
-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
6 files changed, 9 insertions, 43 deletions
diff --git a/security/py-amkCrypto/Makefile b/security/py-amkCrypto/Makefile
index 5949f61881d4..c5d36b8063ac 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 8e5cf17915e2..b6c762a057b2 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 44839f1595cc..9f1e98c9d148 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 fc15080a1826..a9be00088593 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 703488d58b00..fd96e34974ce 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 9617de7ff0ba..f32f9b4da225 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