From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 15 03:00:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B5C8106566C for ; Wed, 15 Jul 2009 03:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF4408FC0C for ; Wed, 15 Jul 2009 03:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6F3079n040361 for ; Wed, 15 Jul 2009 03:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6F307R6040357; Wed, 15 Jul 2009 03:00:07 GMT (envelope-from gnats) Resent-Date: Wed, 15 Jul 2009 03:00:07 GMT Resent-Message-Id: <200907150300.n6F307R6040357@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sahil Tandon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 063A6106564A for ; Wed, 15 Jul 2009 02:52:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E7E128FC08 for ; Wed, 15 Jul 2009 02:52:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6F2qFum052747 for ; Wed, 15 Jul 2009 02:52:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6F2qF8N052746; Wed, 15 Jul 2009 02:52:15 GMT (envelope-from nobody) Message-Id: <200907150252.n6F2qF8N052746@www.freebsd.org> Date: Wed, 15 Jul 2009 02:52:15 GMT From: Sahil Tandon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136772: [PATCH] devel/cl-asdf: Respect PORTEXAMPLES + QAT-inspired refinements in Makefile, pkg-plist and pkg-message.in X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 03:00:08 -0000 >Number: 136772 >Category: ports >Synopsis: [PATCH] devel/cl-asdf: Respect PORTEXAMPLES + QAT-inspired refinements in Makefile, pkg-plist and pkg-message.in >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 15 03:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sahil Tandon >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD spartan.hamla.org 7.1-RELEASE >Description: - Respect PORTEXAMPLES - pkg-message incorrectly refers to ${PREFIX} instead of %%PREFIX%% >How-To-Repeat: - Install and note the literal output of "${PREFIX}" when pkg-message is listed instead of the desired expansion of the variable. >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/cl-asdf/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 10 Jul 2007 14:06:01 -0000 1.6 +++ Makefile 21 Jun 2009 16:05:03 -0000 @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A system definition facility for Common Lisp +SUB_FILES+= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes # Sources only, see cl-asdf-[cmucl|sbcl|clisp] CL_LIBDIR= ${PREFIX}/lib/common-lisp @@ -37,15 +38,17 @@ ${CP} ${PREFIX}/etc/asdf-init.lisp.default \ ${PREFIX}/etc/asdf-init.lisp .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cl-asdf/ - ${MKDIR} ${PREFIX}/share/examples/cl-asdf/ + ${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/ ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}/ +.endif +.if !defined(NOPORTEXAMPLES) + ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test/* ${EXAMPLESDIR}/ .endif post-install: - @${CAT} ${MASTERDIR}/pkg-message + @${CAT} ${PKGMESSAGE} .include Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 3 Jun 2003 02:54:31 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -========================================================================== -To use asdf and depending ports, you will have to configure your -Lisp systems so they know where to find asdf itself and the system -definition files. - -A default configuration is installed in - - ${PREFIX}/etc/asdf-init.lisp - -Review this file for further information, or simply load it from your -Lisp initialization file. -========================================================================== Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/cl-asdf/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 9 Apr 2005 22:18:04 -0000 1.2 +++ pkg-plist 21 Jun 2009 16:05:03 -0000 @@ -9,24 +9,24 @@ %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD %%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%%%EXAMPLESDIR%%/file1.lisp -%%PORTDOCS%%%%EXAMPLESDIR%%/file2.lisp -%%PORTDOCS%%%%EXAMPLESDIR%%/file3.lisp -%%PORTDOCS%%%%EXAMPLESDIR%%/file4.lisp -%%PORTDOCS%%%%EXAMPLESDIR%%/run-tests.sh -%%PORTDOCS%%%%EXAMPLESDIR%%/test1.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test1.script -%%PORTDOCS%%%%EXAMPLESDIR%%/test2.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test2.script -%%PORTDOCS%%%%EXAMPLESDIR%%/test2a.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test2b1.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test2b2.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test2b3.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test3.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/test3.script -%%PORTDOCS%%%%EXAMPLESDIR%%/test4.script -%%PORTDOCS%%%%EXAMPLESDIR%%/wild-module.asd -%%PORTDOCS%%%%EXAMPLESDIR%%/wild-module.script -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file1.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file2.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file3.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file4.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run-tests.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test1.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test1.script +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2.script +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2a.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2b1.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2b2.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2b3.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test3.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test3.script +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test4.script +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wild-module.asd +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wild-module.script +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% @exec mkdir -p %D/lib/common-lisp/system-registry Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 21 Jun 2009 16:05:03 -0000 @@ -0,0 +1,12 @@ +========================================================================== +To use asdf and depending ports, you will have to configure your +Lisp systems so they know where to find asdf itself and the system +definition files. + +A default configuration is installed in + + %%PREFIX%%/etc/asdf-init.lisp + +Review this file for further information, or simply load it from your +Lisp initialization file. +========================================================================== >Release-Note: >Audit-Trail: >Unformatted: