2002-10-25 13:08:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2002/10/25 17:08:50 shell Exp $
|
2002-01-04 13:11:45 -05:00
|
|
|
|
|
|
|
COMMENT= "python tool for generate Python API documents"
|
|
|
|
|
2002-10-25 13:08:50 -04:00
|
|
|
DISTNAME= HappyDoc_r2_1
|
|
|
|
PKGNAME= py-HappyDoc-2.1
|
2002-01-04 13:11:45 -05:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://happydoc.sf.net/
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=happydoc/}
|
2002-01-04 13:11:45 -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-06-10 02:20:59 -04:00
|
|
|
PYTHON_VER= 2.2
|
2002-02-15 14:53:42 -05:00
|
|
|
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2002-01-04 13:11:45 -05:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
SUBST_VARS= PYTHON_VER
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PY_CMD= @cd ${WRKSRC}; python${PYTHON_VER} ./setup.py
|
|
|
|
|
2002-10-25 13:08:50 -04:00
|
|
|
WRKSRC= ${WRKDIR}/HappyDoc-r2_1
|
2002-01-04 13:11:45 -05:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${PY_CMD} build --build-base=${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${PY_CMD} install --prefix=${PREFIX}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|