From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 18 20:40:04 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 0CD1F106566C for ; Sun, 18 Oct 2009 20:40:04 +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 D47998FC1D for ; Sun, 18 Oct 2009 20:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9IKe3Mh079870 for ; Sun, 18 Oct 2009 20:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9IKe3Qv079869; Sun, 18 Oct 2009 20:40:03 GMT (envelope-from gnats) Resent-Date: Sun, 18 Oct 2009 20:40:03 GMT Resent-Message-Id: <200910182040.n9IKe3Qv079869@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, Sylvio Cesar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11E70106566B for ; Sun, 18 Oct 2009 20:38:25 +0000 (UTC) (envelope-from scjamorim@bsd.com.br) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id CC7748FC1A for ; Sun, 18 Oct 2009 20:38:24 +0000 (UTC) Received: by yxe1 with SMTP id 1so3286091yxe.3 for ; Sun, 18 Oct 2009 13:38:24 -0700 (PDT) Received: by 10.90.143.16 with SMTP id q16mr3826635agd.26.1255898304030; Sun, 18 Oct 2009 13:38:24 -0700 (PDT) Received: from fbsd.scjamorim.org (200-101-108-167.bsace705.dsl.brasiltelecom.net.br [200.101.108.167]) by mx.google.com with ESMTPS id 21sm2518742yxe.1.2009.10.18.13.38.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Oct 2009 13:38:23 -0700 (PDT) Received: by fbsd.scjamorim.org (Postfix, from userid 0) id 43DE53F416C; Sun, 18 Oct 2009 18:38:19 -0200 (BRST) Message-Id: <20091018203819.43DE53F416C@fbsd.scjamorim.org> Date: Sun, 18 Oct 2009 18:38:19 -0200 (BRST) From: Sylvio Cesar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/139728: [PATCH] astro/pp3: Uses of PORTDOCS and PORTEXEMPLES in Makefile. 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: Sun, 18 Oct 2009 20:40:04 -0000 >Number: 139728 >Category: ports >Synopsis: [PATCH] astro/pp3: Uses of PORTDOCS and PORTEXEMPLES in Makefile. >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: Sun Oct 18 20:40:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009 >Description: - Added PORTDOCS and PORTEXEMPLES in Makefile - Changed pkg-plist Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- pp3-1.3.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/astro/pp3/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 22 Aug 2009 00:12:58 -0000 1.5 +++ Makefile 18 Oct 2009 20:35:05 -0000 @@ -19,6 +19,9 @@ USE_BZIP2= yes +PORTDOCS= README WHATSNEW +PORTEXEMPLES= * + do-build: cd ${WRKSRC} \ && ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3 @@ -27,10 +30,15 @@ ${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR} + .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR} +.for docs in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor +.endif + +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/astro/pp3/pkg-plist,v retrieving revision 1.2 diff -u -u -r1.2 pkg-plist --- pkg-plist 1 Nov 2004 17:17:20 -0000 1.2 +++ pkg-plist 18 Oct 2009 20:35:05 -0000 @@ -1,104 +1,7 @@ bin/pp3 -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile -%%PORTDOCS%%%%EXAMPLESDIR%%/andromeda.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/antlia.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/apus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/aquarius.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/aquila.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/ara.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/aries.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/auriga.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/bootes.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/caelum.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/camelopardalis.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/cancer.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/canes_venatici.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/canis_major.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/canis_minor.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/capricornus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/carina.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/cassiopeia.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/centaurus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/cepheus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/cetus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/chamaeleon.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/circinus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/columba.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/coma_berenices.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/corona_australis.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/corona_borealis.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/corvus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/crater.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/crux.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/cygnus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/delphinus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/dorado.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/draco.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/equuleus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/eridanus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/fornax.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/gemini.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/grus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/hercules.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/horologium.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/hydra.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/hydrus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/indus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/lacerta.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/leo.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/leo_minor.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/lepus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/libra.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/lupus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/lynx.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/lyra.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/mensa.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/microscopium.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/monoceros.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/musca.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/nh.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/norma.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/octans.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/ophiuchus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/orion.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/pavo.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/pegasus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/perseus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/phoenix.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/pictor.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/pisces.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/piscis_austrinus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/puppis.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/pyxis.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/reticulum.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/sagitta.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/sagittarius.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/scorpius.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/sculptor.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/scutum.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/serpens.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/sextans.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/taurus.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/telescopium.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/triangulum.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/triangulum_australe.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/tucana.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/ursa_major.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/ursa_minor.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/vela.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/virgo.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/volans.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/vulpecula.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/wiki-convert-sky-chart.scm -%%PORTDOCS%%%%EXAMPLESDIR%%/wiki.pp3 -%%PORTDOCS%%%%EXAMPLESDIR%%/wiki.tex %%DATADIR%%/boundaries.dat %%DATADIR%%/lines.dat %%DATADIR%%/milkyway.dat %%DATADIR%%/nebulae.dat %%DATADIR%%/stars.dat @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- pp3-1.3.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: