2002-05-13 14:50:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2002/05/13 18:50:42 espie Exp $
|
2001-07-18 09:51:37 -04:00
|
|
|
|
|
|
|
|
2001-11-28 02:39:34 -05:00
|
|
|
COMMENT= "python codes checker"
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2002-04-19 13:26:40 -04:00
|
|
|
VERSION= 0.8.10
|
2001-11-28 02:39:34 -05:00
|
|
|
DISTNAME= pychecker-${VERSION}
|
|
|
|
PKGNAME= py-Checker-${VERSION}
|
|
|
|
CATEGORIES= devel
|
2002-04-19 13:26:40 -04:00
|
|
|
NEED_VERSION= 1.524
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2001-11-28 02:39:34 -05:00
|
|
|
HOMEPAGE= http://pychecker.sourceforge.net/
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2001-11-28 02:39:34 -05:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-07-18 09:51:37 -04:00
|
|
|
|
|
|
|
# BSD License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pychecker/}
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2002-03-13 05:12:07 -05:00
|
|
|
PYTHON_VER= 2.2
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2002-02-15 14:53:42 -05:00
|
|
|
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2001-07-18 09:51:37 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
SUBST_VARS= PYTHON_VER
|
2001-11-05 12:04:11 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-07-18 09:51:37 -04:00
|
|
|
|
2001-10-24 08:53:55 -04:00
|
|
|
PY_CMD= @cd ${WRKSRC} && python${PYTHON_VER} ./setup.py
|
2001-11-28 02:39:34 -05:00
|
|
|
DOC_DIR= ${PREFIX}/share/doc/py-Checker/
|
|
|
|
DOC_FILE= CHANGELOG KNOWN_BUGS TODO MAINTAINERS README
|
2001-09-25 02:47:31 -04:00
|
|
|
|
2001-07-18 09:51:37 -04:00
|
|
|
do-build:
|
2001-09-25 02:47:31 -04:00
|
|
|
${PY_CMD} build --build-base=${WRKSRC}
|
2001-07-18 09:51:37 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-11-28 02:39:34 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
2002-01-06 10:47:56 -05:00
|
|
|
${PY_CMD} install -O1 --prefix=${PREFIX}
|
2001-11-28 02:39:34 -05:00
|
|
|
.for i in ${DOC_FILE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOC_DIR}
|
|
|
|
.endfor
|
2001-07-18 09:51:37 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|