Date: Thu, 12 Apr 2007 18:13:09 +0800 (CST) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bsam@FreeBSD.org, lwhsu@lwhsu.org Subject: ports/111502: [PATCH] devel/py-qt4-qct: Use PYTHON_SITELIBDIR in pkg-plist Message-ID: <200704121013.l3CAD9tI073244@jail0.lwhsu.csie.net> Resent-Message-ID: <200704121020.l3CAK44D063406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111502 >Category: ports >Synopsis: [PATCH] devel/py-qt4-qct: Use PYTHON_SITELIBDIR in pkg-plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 12 10:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007 >Description: - Use PYTHON_SITELIBDIR in pkg-plist, for other versions of python - Change DOCSDIR, maybe same with it's dirname is better - Remove NOPORTDOCS stuff, it's already in bsd.port.mk - Add more backup sites in MASTER_SITES Port maintainer (bsam@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-qt4-qct-1.0_1.patch begins here --- diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-qt4-qct/Makefile /home/lwhsu/ports/devel/py-qt4-qct/Makefile --- /usr/ports/devel/py-qt4-qct/Makefile Wed Apr 11 06:32:08 2007 +++ /home/lwhsu/ports/devel/py-qt4-qct/Makefile Thu Apr 12 18:07:24 2007 @@ -7,8 +7,11 @@ PORTNAME= qct PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= devel python -MASTER_SITES= http://qct.sourceforge.net/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://qct.sourceforge.net/ +MASTER_SITE_SUBDIR= qct PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- MAINTAINER= bsam@FreeBSD.org @@ -19,18 +22,12 @@ USE_PYTHON= 2.4+ USE_PYDISTUTILS=yes +DOCSDIR= ${TARGETDIR}/share/doc/py-qt4-${PORTNAME} + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${DOCSDIR}/qct.1.txt .endif -.include <bsd.port.pre.mk> - -.if defined(NOPORTDOCS) -PLIST_SUB+= PORTDOCS="@comment " -.else -PLIST_SUB+= PORTDOCS= -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-qt4-qct/pkg-plist /home/lwhsu/ports/devel/py-qt4-qct/pkg-plist --- /usr/ports/devel/py-qt4-qct/pkg-plist Wed Apr 11 06:32:08 2007 +++ /home/lwhsu/ports/devel/py-qt4-qct/pkg-plist Thu Apr 12 17:52:35 2007 @@ -1,51 +1,50 @@ bin/qct -lib/python2.4/site-packages/qctlib/ui_dialog.py -lib/python2.4/site-packages/qctlib/gui_logic.py -lib/python2.4/site-packages/qctlib/ui_preferences.py -lib/python2.4/site-packages/qctlib/__init__.py -lib/python2.4/site-packages/qctlib/version.py -lib/python2.4/site-packages/qctlib/utils.py -lib/python2.4/site-packages/qctlib/vcs/cg.py -lib/python2.4/site-packages/qctlib/vcs/hg.py -lib/python2.4/site-packages/qctlib/vcs/p4.py -lib/python2.4/site-packages/qctlib/vcs/bzr.py -lib/python2.4/site-packages/qctlib/vcs/cvs.py -lib/python2.4/site-packages/qctlib/vcs/git.py -lib/python2.4/site-packages/qctlib/vcs/mtn.py -lib/python2.4/site-packages/qctlib/vcs/svn.py -lib/python2.4/site-packages/qctlib/vcs/__init__.py -lib/python2.4/site-packages/qctlib/vcs/cg.pyc -lib/python2.4/site-packages/qctlib/vcs/hg.pyc -lib/python2.4/site-packages/qctlib/vcs/p4.pyc -lib/python2.4/site-packages/qctlib/vcs/bzr.pyc -lib/python2.4/site-packages/qctlib/vcs/cvs.pyc -lib/python2.4/site-packages/qctlib/vcs/git.pyc -lib/python2.4/site-packages/qctlib/vcs/mtn.pyc -lib/python2.4/site-packages/qctlib/vcs/svn.pyc -lib/python2.4/site-packages/qctlib/vcs/__init__.pyc -lib/python2.4/site-packages/qctlib/vcs/cg.pyo -lib/python2.4/site-packages/qctlib/vcs/hg.pyo -lib/python2.4/site-packages/qctlib/vcs/p4.pyo -lib/python2.4/site-packages/qctlib/vcs/bzr.pyo -lib/python2.4/site-packages/qctlib/vcs/cvs.pyo -lib/python2.4/site-packages/qctlib/vcs/git.pyo -lib/python2.4/site-packages/qctlib/vcs/mtn.pyo -lib/python2.4/site-packages/qctlib/vcs/svn.pyo -lib/python2.4/site-packages/qctlib/vcs/__init__.pyo -lib/python2.4/site-packages/qctlib/ui_dialog.pyc -lib/python2.4/site-packages/qctlib/gui_logic.pyc -lib/python2.4/site-packages/qctlib/ui_preferences.pyc -lib/python2.4/site-packages/qctlib/__init__.pyc -lib/python2.4/site-packages/qctlib/version.pyc -lib/python2.4/site-packages/qctlib/utils.pyc -lib/python2.4/site-packages/qctlib/ui_dialog.pyo -lib/python2.4/site-packages/qctlib/gui_logic.pyo -lib/python2.4/site-packages/qctlib/ui_preferences.pyo -lib/python2.4/site-packages/qctlib/__init__.pyo -lib/python2.4/site-packages/qctlib/version.pyo -lib/python2.4/site-packages/qctlib/utils.pyo -@dirrm lib/python2.4/site-packages/qctlib/vcs -@dirrm lib/python2.4/site-packages/qctlib -@comment port's docs +%%PYTHON_SITELIBDIR%%/qctlib/__init__.py +%%PYTHON_SITELIBDIR%%/qctlib/__init__.pyc +%%PYTHON_SITELIBDIR%%/qctlib/__init__.pyo +%%PYTHON_SITELIBDIR%%/qctlib/gui_logic.py +%%PYTHON_SITELIBDIR%%/qctlib/gui_logic.pyc +%%PYTHON_SITELIBDIR%%/qctlib/gui_logic.pyo +%%PYTHON_SITELIBDIR%%/qctlib/ui_dialog.py +%%PYTHON_SITELIBDIR%%/qctlib/ui_dialog.pyc +%%PYTHON_SITELIBDIR%%/qctlib/ui_dialog.pyo +%%PYTHON_SITELIBDIR%%/qctlib/ui_preferences.py +%%PYTHON_SITELIBDIR%%/qctlib/ui_preferences.pyc +%%PYTHON_SITELIBDIR%%/qctlib/ui_preferences.pyo +%%PYTHON_SITELIBDIR%%/qctlib/utils.py +%%PYTHON_SITELIBDIR%%/qctlib/utils.pyc +%%PYTHON_SITELIBDIR%%/qctlib/utils.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/__init__.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/__init__.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/__init__.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/bzr.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/bzr.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/bzr.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cg.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cg.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cg.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cvs.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cvs.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/cvs.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/git.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/git.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/git.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/hg.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/hg.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/hg.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/mtn.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/mtn.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/mtn.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/p4.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/p4.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/p4.pyo +%%PYTHON_SITELIBDIR%%/qctlib/vcs/svn.py +%%PYTHON_SITELIBDIR%%/qctlib/vcs/svn.pyc +%%PYTHON_SITELIBDIR%%/qctlib/vcs/svn.pyo +%%PYTHON_SITELIBDIR%%/qctlib/version.py +%%PYTHON_SITELIBDIR%%/qctlib/version.pyc +%%PYTHON_SITELIBDIR%%/qctlib/version.pyo +@dirrm %%PYTHON_SITELIBDIR%%/qctlib/vcs +@dirrm %%PYTHON_SITELIBDIR%%/qctlib %%PORTDOCS%%%%DOCSDIR%%/qct.1.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% --- py24-qt4-qct-1.0_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704121013.l3CAD9tI073244>