2001-11-28 02:39:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2001/11/28 07:39:34 shell 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
|
|
|
|
2001-11-28 02:39:34 -05:00
|
|
|
VERSION= 0.8.6
|
|
|
|
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
|
|
|
|
|
2001-11-10 10:00:47 -05:00
|
|
|
RUN_DEPENDS+= ::lang/python
|
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}
|
2001-09-25 02:47:31 -04:00
|
|
|
${PY_CMD} install --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>
|