Date: Sun, 18 Oct 2009 18:38:19 -0200 (BRST) From: Sylvio Cesar <scjamorim@bsd.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139728: [PATCH] astro/pp3: Uses of PORTDOCS and PORTEXEMPLES in Makefile. Message-ID: <20091018203819.43DE53F416C@fbsd.scjamorim.org> Resent-Message-ID: <200910182040.n9IKe3Qv079869@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091018203819.43DE53F416C>