install "data_files" to sharedir
This commit is contained in:
parent
8d82e7ea1c
commit
36a1f3181f
@ -1,17 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2001/11/17 08:52:27 shell Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2001/11/28 07:39:34 shell Exp $
|
||||
|
||||
|
||||
COMMENT= "python codes checker"
|
||||
COMMENT= "python codes checker"
|
||||
|
||||
VERSION= 0.8.6
|
||||
DISTNAME= pychecker-${VERSION}
|
||||
PKGNAME= py-Checker-${VERSION}
|
||||
CATEGORIES= devel
|
||||
NEED_VERSION= 1.481
|
||||
VERSION= 0.8.6
|
||||
DISTNAME= pychecker-${VERSION}
|
||||
PKGNAME= py-Checker-${VERSION}
|
||||
CATEGORIES= devel
|
||||
NEED_VERSION= 1.500
|
||||
|
||||
HOMEPAGE= http://pychecker.sourceforge.net/
|
||||
HOMEPAGE= http://pychecker.sourceforge.net/
|
||||
|
||||
MAINTAINER= Shell Hung <shell@openbsd.org>
|
||||
MAINTAINER= Shell Hung <shell@openbsd.org>
|
||||
|
||||
# BSD License
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -31,11 +31,17 @@ SUBST_VARS= PYTHON_VER
|
||||
NO_REGRESS= Yes
|
||||
|
||||
PY_CMD= @cd ${WRKSRC} && python${PYTHON_VER} ./setup.py
|
||||
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:
|
||||
${INSTALL_DATA_DIR} ${DOC_DIR}
|
||||
${PY_CMD} install --prefix=${PREFIX}
|
||||
.for i in ${DOC_FILE}
|
||||
${INSTALL_DATA} ${WRKSRC}/$i ${DOC_DIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
devel/py-Checker/patches/patch-setup_py
Normal file
12
devel/py-Checker/patches/patch-setup_py
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1 2001/11/28 07:39:35 shell Exp $
|
||||
--- setup.py.orig Wed Nov 28 14:52:01 2001
|
||||
+++ setup.py Wed Nov 28 14:52:44 2001
|
||||
@@ -64,7 +64,7 @@
|
||||
author_email = "pychecker@metaslash.com",
|
||||
url = "http://pychecker.sourceforge.net/",
|
||||
packages = [ 'pychecker' ],
|
||||
- data_files = [ (install_dir, DOC_FILES) ],
|
||||
+# data_files = [ (install_dir, DOC_FILES) ],
|
||||
scripts = [ LOCAL_SCRIPT, ],
|
||||
long_description = LONG_DESCRIPTION
|
||||
)
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2001/11/17 08:52:27 shell Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2001/11/28 07:39:35 shell Exp $
|
||||
bin/pychecker
|
||||
lib/python${PYTHON_VER}/site-packages/pychecker/CodeChecks.py
|
||||
lib/python${PYTHON_VER}/site-packages/pychecker/CodeChecks.pyc
|
||||
@ -30,4 +30,12 @@ lib/python${PYTHON_VER}/site-packages/pychecker/utils.py
|
||||
lib/python${PYTHON_VER}/site-packages/pychecker/utils.pyc
|
||||
lib/python${PYTHON_VER}/site-packages/pychecker/warn.py
|
||||
lib/python${PYTHON_VER}/site-packages/pychecker/warn.pyc
|
||||
share/doc/py-Checker/CHANGELOG
|
||||
share/doc/py-Checker/KNOWN_BUGS
|
||||
share/doc/py-Checker/MAINTAINERS
|
||||
share/doc/py-Checker/README
|
||||
share/doc/py-Checker/TODO
|
||||
@dirrm share/doc/py-Checker
|
||||
@dirrm lib/python${PYTHON_VER}/site-packages/pychecker
|
||||
@dirrm lib/python${PYTHON_VER}/site-packages
|
||||
@dirrm lib/python${PYTHON_VER}
|
||||
|
Loading…
Reference in New Issue
Block a user