From owner-freebsd-ports Fri Jan 11 23:40:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3817E37B41A for ; Fri, 11 Jan 2002 23:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0C7e1O60876; Fri, 11 Jan 2002 23:40:01 -0800 (PST) (envelope-from gnats) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.67.200.82]) by hub.freebsd.org (Postfix) with ESMTP id C62EF37B419 for ; Fri, 11 Jan 2002 23:30:26 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g0C7Tpg06847; Sat, 12 Jan 2002 02:29:51 -0500 (EST) (envelope-from alane) Message-Id: <200201120729.g0C7Tpg06847@wwweasel.geeksrus.net> Date: Sat, 12 Jan 2002 02:29:51 -0500 (EST) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33805: MAINTAINER UPDATE: fix for PYPKGNAMEPREFIX change breakage Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33805 >Category: ports >Synopsis: MAINTAINER UPDATE: fix for PYPKGNAMEPREFIX change breakage >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 11 23:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.4-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 19:14:12 EST 2001 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: Py-optik uses PYPKGNAMEPREFIX in DOCSDIR var. Didn't have DOCSDIR in PLIST_SUB. Plist broke. >How-To-Repeat: >Fix: Index: devel/py-optik/Makefile =================================================================== RCS file: /home/alane/cvsroot/ports/devel/py-optik/Makefile,v retrieving revision 1.6 diff -u -3 -r1.6 Makefile --- devel/py-optik/Makefile 1 Jan 2002 03:26:16 -0000 1.6 +++ devel/py-optik/Makefile 12 Jan 2002 07:22:49 -0000 @@ -29,7 +29,8 @@ @${SETUP_CMD} install .if !defined(NOPORTDOCS) -DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} post-install: @${MKDIR} ${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} Index: devel/py-optik/pkg-plist =================================================================== RCS file: /home/alane/cvsroot/ports/devel/py-optik/pkg-plist,v retrieving revision 1.2 diff -u -3 -r1.2 pkg-plist --- devel/py-optik/pkg-plist 24 Dec 2001 10:53:42 -0000 1.2 +++ devel/py-optik/pkg-plist 12 Jan 2002 07:23:45 -0000 @@ -7,22 +7,22 @@ lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.py lib/%%PYTHON_VERSION%%/site-packages/optik/option_parser.pyc @dirrm lib/%%PYTHON_VERSION%%/site-packages/optik -%%PORTDOCS%%share/doc/py-optik/CHANGES.txt -%%PORTDOCS%%share/doc/py-optik/README.txt -%%PORTDOCS%%share/doc/py-optik/advanced.txt -%%PORTDOCS%%share/doc/py-optik/basic.txt -%%PORTDOCS%%share/doc/py-optik/callbacks.txt -%%PORTDOCS%%share/doc/py-optik/extending.txt -%%PORTDOCS%%share/doc/py-optik/test/runall -%%PORTDOCS%%share/doc/py-optik/test/test_basics.py -%%PORTDOCS%%share/doc/py-optik/test/test_bool.py -%%PORTDOCS%%share/doc/py-optik/test/test_callback.py -%%PORTDOCS%%share/doc/py-optik/test/test_conflict.py -%%PORTDOCS%%share/doc/py-optik/test/test_count.py -%%PORTDOCS%%share/doc/py-optik/test/test_extend.py -%%PORTDOCS%%share/doc/py-optik/test/test_help.py -%%PORTDOCS%%share/doc/py-optik/test/test_manipulate.py -%%PORTDOCS%%share/doc/py-optik/test/test_misc.py -%%PORTDOCS%%share/doc/py-optik/test/test_nargs.py -%%PORTDOCS%%@dirrm share/doc/py-optik/test -%%PORTDOCS%%@dirrm share/doc/py-optik +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/advanced.txt +%%PORTDOCS%%%%DOCSDIR%%/basic.txt +%%PORTDOCS%%%%DOCSDIR%%/callbacks.txt +%%PORTDOCS%%%%DOCSDIR%%/extending.txt +%%PORTDOCS%%%%DOCSDIR%%/test/runall +%%PORTDOCS%%%%DOCSDIR%%/test/test_basics.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_bool.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_callback.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_conflict.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_count.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_extend.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_help.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_manipulate.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_misc.py +%%PORTDOCS%%%%DOCSDIR%%/test/test_nargs.py +%%PORTDOCS%%@dirrm %%DOCSDIR%%/test +%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message