2001-11-10 10:00:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2001/11/10 15:00:49 espie Exp $
|
2001-08-22 01:20:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
COMMENT= "python module for GnuPG interface"
|
|
|
|
|
2001-11-04 00:45:14 -05:00
|
|
|
VERSION= 0.3.1
|
2001-08-22 01:20:25 -04:00
|
|
|
DISTNAME= GnuPGInterface-${VERSION}
|
|
|
|
PKGNAME= py-gnupg-${VERSION}
|
|
|
|
CATEGORIES= security devel
|
2001-11-10 10:00:47 -05:00
|
|
|
NEED_VERSION= 1.489
|
2001-08-22 01:20:25 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://py-gnupg.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= py-gnupg
|
|
|
|
|
|
|
|
PYTHON_VER= 2.1
|
|
|
|
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS+= ::lang/python \
|
|
|
|
::security/gnupg
|
2001-11-05 12:04:11 -05:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2001-08-22 01:20:25 -04:00
|
|
|
|
2001-09-01 20:03:20 -04:00
|
|
|
PY_CMD= cd ${WRKSRC}; python${PYTHON_VER} ./setup.py
|
|
|
|
|
2001-08-22 01:20:25 -04:00
|
|
|
SUBST_VARS= PYTHON_VER
|
2001-11-05 12:04:11 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-08-22 01:20:25 -04:00
|
|
|
|
|
|
|
do-build:
|
2001-09-01 20:03:20 -04:00
|
|
|
${PY_CMD} build --build-base=${WRKSRC}
|
2001-08-22 01:20:25 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-09-01 20:03:20 -04:00
|
|
|
${PY_CMD} install --prefix=${PREFIX}
|
2001-08-22 01:20:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|