diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-17 14:54:54 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-17 14:54:54 +0000 |
commit | 97947cc7f22d134a5a26a7507ac06b866032377f (patch) | |
tree | 4d34f235f6f573e795263668635133a59fe6370d /devel/pychecker/Makefile | |
parent | d555a0e3350a02b9fd1185f9338d36a9a43ddd42 (diff) | |
download | ports-97947cc7f22d134a5a26a7507ac06b866032377f.tar.gz ports-97947cc7f22d134a5a26a7507ac06b866032377f.zip |
Notes
Diffstat (limited to 'devel/pychecker/Makefile')
-rw-r--r-- | devel/pychecker/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/devel/pychecker/Makefile b/devel/pychecker/Makefile index d1c8328fd42e..87419e2e94c9 100644 --- a/devel/pychecker/Makefile +++ b/devel/pychecker/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pychecker -PORTVERSION= 0.2.5 +PORTVERSION= 0.7 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,26 +14,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sobomax@FreeBSD.org USE_PYTHON= yes -NO_WRKSUBDIR= yes -INSTDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/pychecker -DOCS= README TODO KNOWN_BUGS VERSION MAINTAINERS CHANGELOG COPYRIGHT +DOCS= CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO \ + VERSION + +SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py do-build: - @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} - @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + ${SETUP_CMD} build do-install: - @${MKDIR} ${INSTDIR} -.for suff in py pyc pyo - @${INSTALL_DATA} ${WRKSRC}/*.${suff} ${INSTDIR} -.endfor - @printf '#!/bin/sh\n${PYTHON_CMD} ${INSTDIR}/checker.py "$$@"\n' \ - > ${WRKDIR}/pychecker.sh - @${MKDIR} ${PREFIX}/share/doc/pychecker + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} + @${MKDIR} ${DOCSDIR} .for file in ${DOCS} - @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/pychecker + @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} .endfor - @${INSTALL_SCRIPT} ${WRKDIR}/pychecker.sh ${PREFIX}/bin/pychecker .include <bsd.port.mk> |