Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 02:29:51 -0500 (EST)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33805: MAINTAINER UPDATE: fix for PYPKGNAMEPREFIX change breakage
Message-ID:  <200201120729.g0C7Tpg06847@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201120729.g0C7Tpg06847>