openbsd-ports/devel/py-Checker/Makefile

47 lines
1015 B
Makefile
Raw Normal View History

2002-05-13 14:50:36 -04:00
# $OpenBSD: Makefile,v 1.18 2002/05/13 18:50:42 espie Exp $
2001-11-28 02:39:34 -05:00
COMMENT= "python codes checker"
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-11-28 02:39:34 -05:00
HOMEPAGE= http://pychecker.sourceforge.net/
2001-11-28 02:39:34 -05:00
MAINTAINER= Shell Hung <shell@openbsd.org>
# 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/}
PYTHON_VER= 2.2
2002-02-15 14:53:42 -05:00
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
BUILD_DEPENDS= ${RUN_DEPENDS}
SUBST_VARS= PYTHON_VER
2001-11-05 12:04:11 -05:00
NO_REGRESS= Yes
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
do-build:
${PY_CMD} build --build-base=${WRKSRC}
do-install:
2001-11-28 02:39:34 -05:00
${INSTALL_DATA_DIR} ${DOC_DIR}
${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
.include <bsd.port.mk>