diff options
-rw-r--r-- | security/py-amkCrypto/Makefile | 8 | ||||
-rw-r--r-- | security/py-cryptkit/Makefile | 9 | ||||
-rw-r--r-- | security/py-gnupg/Makefile | 9 | ||||
-rw-r--r-- | security/py-mhash/Makefile | 8 | ||||
-rw-r--r-- | security/py-openssl/Makefile | 9 | ||||
-rw-r--r-- | security/py-pow/Makefile | 9 | ||||
-rw-r--r-- | sysutils/lfm/Makefile | 8 |
7 files changed, 10 insertions, 50 deletions
diff --git a/security/py-amkCrypto/Makefile b/security/py-amkCrypto/Makefile index 5949f61..c5d36b8 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 8e5cf17..b6c762a 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 44839f1..9f1e98c 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 fc15080..a9be000 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 703488d..fd96e34 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 9617de7..f32f9b4 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 987c589..8c07fb7 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> |