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 | |
parent | d555a0e3350a02b9fd1185f9338d36a9a43ddd42 (diff) | |
download | ports-97947cc7f22d134a5a26a7507ac06b866032377f.tar.gz ports-97947cc7f22d134a5a26a7507ac06b866032377f.zip |
Notes
Diffstat (limited to 'devel/pychecker')
-rw-r--r-- | devel/pychecker/Makefile | 24 | ||||
-rw-r--r-- | devel/pychecker/distinfo | 2 | ||||
-rw-r--r-- | devel/pychecker/pkg-plist | 11 |
3 files changed, 20 insertions, 17 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> diff --git a/devel/pychecker/distinfo b/devel/pychecker/distinfo index 228365fd7653..7b9ccba8f0de 100644 --- a/devel/pychecker/distinfo +++ b/devel/pychecker/distinfo @@ -1 +1 @@ -MD5 (pychecker-0.2.5.tar.gz) = f027d4aa3f99c267beebfdcb74f38a8e +MD5 (pychecker-0.7.tar.gz) = d22fa2e83f3830030581aaed9c324198 diff --git a/devel/pychecker/pkg-plist b/devel/pychecker/pkg-plist index b91ac4a21cdd..3139f8312a1e 100644 --- a/devel/pychecker/pkg-plist +++ b/devel/pychecker/pkg-plist @@ -1,13 +1,22 @@ -bin/pychecker +bin/pychecker.sh lib/%%PYTHON_VERSION%%/site-packages/pychecker/Config.py lib/%%PYTHON_VERSION%%/site-packages/pychecker/Config.pyc lib/%%PYTHON_VERSION%%/site-packages/pychecker/Config.pyo lib/%%PYTHON_VERSION%%/site-packages/pychecker/OP.py lib/%%PYTHON_VERSION%%/site-packages/pychecker/OP.pyc lib/%%PYTHON_VERSION%%/site-packages/pychecker/OP.pyo +lib/%%PYTHON_VERSION%%/site-packages/pychecker/Stack.py +lib/%%PYTHON_VERSION%%/site-packages/pychecker/Stack.pyc +lib/%%PYTHON_VERSION%%/site-packages/pychecker/Stack.pyo +lib/%%PYTHON_VERSION%%/site-packages/pychecker/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/pychecker/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/pychecker/__init__.pyo lib/%%PYTHON_VERSION%%/site-packages/pychecker/checker.py lib/%%PYTHON_VERSION%%/site-packages/pychecker/checker.pyc lib/%%PYTHON_VERSION%%/site-packages/pychecker/checker.pyo +lib/%%PYTHON_VERSION%%/site-packages/pychecker/function.py +lib/%%PYTHON_VERSION%%/site-packages/pychecker/function.pyc +lib/%%PYTHON_VERSION%%/site-packages/pychecker/function.pyo lib/%%PYTHON_VERSION%%/site-packages/pychecker/printer.py lib/%%PYTHON_VERSION%%/site-packages/pychecker/printer.pyc lib/%%PYTHON_VERSION%%/site-packages/pychecker/printer.pyo |