2002-02-15 14:53:42 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2002/02/15 19:53:43 matt 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-01-14 01:15:46 -05:00
|
|
|
VERSION= 0.8.8
|
2001-11-28 02:39:34 -05:00
|
|
|
DISTNAME= pychecker-${VERSION}
|
|
|
|
PKGNAME= py-Checker-${VERSION}
|
|
|
|
CATEGORIES= devel
|
|
|
|
NEED_VERSION= 1.500
|
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
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= pychecker
|
|
|
|
|
|
|
|
PYTHON_VER= 2.1
|
|
|
|
|
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>
|