mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
798b24f39f
- Make ${PREFIX}-clean
33 lines
694 B
Makefile
33 lines
694 B
Makefile
# New ports collection makefile for: py-unit
|
|
# Date created: Aug 16, 2001
|
|
# Whom: Shell Hung <shell@shellhung.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unit
|
|
PORTVERSION= 1.4.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pyunit
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pyunit-${PORTVERSION}
|
|
|
|
MAINTAINER= shell@shellhung.org
|
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS}
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|