openbsd-ports/devel/py-Checker/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

2002-02-15 14:53:42 -05:00
# $OpenBSD: Makefile,v 1.15 2002/02/15 19:53:43 matt Exp $
2001-11-28 02:39:34 -05:00
COMMENT= "python codes checker"
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-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
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}
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>