pkgsrc/lang/py-funge/Makefile
minskim 134277baf7 Initial import of py-funge. Packaged by Yi Min-Cheol.
PyFunge is a Funge-98 interpreter written in Python. It includes almost
all of features found in the Funge-98 specification and also provides
some other features like fingerprints. PyFunge is written in object-
oriented fashion and designed to be extensible from ground up.
2004-08-16 17:11:00 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/08/16 17:11:00 minskim Exp $
DISTNAME= pyfunge-0.2-beta1
PKGNAME= ${PYPKGPREFIX}-funge-0.2beta1
CATEGORIES= lang python
MASTER_SITES= http://kldp.net/download.php/1270/
MAINTAINER= fox9@netb.co.kr
HOMEPAGE= http://pyfunge.kldp.net/
COMMENT= Extensible Funge-98 interpreter written in Python
NO_BUILD= yes
NO_CONFIGURE= yes
USE_BUILDLINK3= yes
PYTHON_VERSIONS_ACCEPTED?= 23 23pth
WRKSRC?= ${WRKDIR}/PyFunge
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/README.ko ${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA_DIR} ${PREFIX}/${PYSITELIB}/PyFunge
cd ${WRKSRC} && ${PAX} -rwppm '-s|.*/README.ko||' \
. ${PREFIX}/${PYSITELIB}/PyFunge
${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/${PYSITELIB}/PyFunge
${PYTHONBIN} -O ${PYCOMPILEALL} ${PREFIX}/${PYSITELIB}/PyFunge
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"