mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
7723f74a78
- Improved pkg-descr - Recopied by marcus@ - Removed pkg-plist (it now uses a simple Python egg) - Taken maintainership by dryice@ - Updated to 1.0.a0.r2882 PR: 106764 Approved by: alexbl (mentor), dryice (maintainer)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: py-protocols-devel
|
|
# Date created: 15 December 2006
|
|
# Whom: Dryice Liu <dryice@dryice.name>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= PyProtocols
|
|
PORTVERSION= 1.0.a0.r2082
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://peak.telecommunity.com/snapshots/ \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-1.0a0dev_r2082
|
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
|
COMMENT= Protocol Definition, Declaration, and Adaptation for Python
|
|
|
|
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
NO_PACKAGE= not yet
|
|
|
|
PLIST_FILES= ${PYTHON_SITELIBDIR:S,${PREFIX}/,,}/${PYPROTOCOLS_EGG}
|
|
PLIST_SUB= PYPROTOCOLS_EGG="${PYPROTOCOLS_EGG}"
|
|
|
|
SUB_FILES+= pkg-deinstall pkg-install
|
|
SUB_LIST+= EGG="PyProtocols==${PYPROTOCOLS_VER}" \
|
|
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_ZIP= yes
|
|
|
|
PYPROTOCOLS_EGG= PyProtocols-${PYPROTOCOLS_VER}-py${PYTHON_VERSION:S/^python//}-${OPSYS:L}-${OSRELEASE}-${ARCH}.egg
|
|
PYPROTOCOLS_VER?= 1.0a0
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
|
|
|
|
.include <bsd.port.post.mk>
|