1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Respect NOPORTDOCS, NOPORTEXAMPLES

- Fix plist

Reported by:	QAT
This commit is contained in:
Dmitry Marakasov 2008-08-24 13:04:58 +00:00
parent ebc40130bc
commit e58f735dda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219078
2 changed files with 7 additions and 269 deletions

View File

@ -35,11 +35,16 @@ USE_LDCONFIG= yes
DOC2FIX= . gif html jpg png tests
TST2FIX= c f
PORTDOCS= *
PORTEXAMPLES= *
pre-configure:
.for ext in am in
. if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \
${WRKSRC}/Makefile.${ext}
${REINPLACE_CMD} -e '/SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.${ext}
. endif
. if defined(NOPORTEXAMPLES)
${REINPLACE_CMD} -e '/SUBDIRS/ s|tests||' ${WRKSRC}/Makefile.${ext}
. endif
. for dd in ${DOC2FIX}
${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = @docdir@|' \

View File

@ -26,270 +26,3 @@ lib/libmedimportcxx.a
lib/libmedimportcxx.la
lib/libmedimportcxx.so
lib/libmedimportcxx.so.0
%%EXAMPLESDIR%%/testc/test1
%%EXAMPLESDIR%%/testc/test10
%%EXAMPLESDIR%%/testc/test11
%%EXAMPLESDIR%%/testc/test12
%%EXAMPLESDIR%%/testc/test13
%%EXAMPLESDIR%%/testc/test14
%%EXAMPLESDIR%%/testc/test15
%%EXAMPLESDIR%%/testc/test16
%%EXAMPLESDIR%%/testc/test17
%%EXAMPLESDIR%%/testc/test18
%%EXAMPLESDIR%%/testc/test19
%%EXAMPLESDIR%%/testc/test2
%%EXAMPLESDIR%%/testc/test20
%%EXAMPLESDIR%%/testc/test21
%%EXAMPLESDIR%%/testc/test22
%%EXAMPLESDIR%%/testc/test23
%%EXAMPLESDIR%%/testc/test24
%%EXAMPLESDIR%%/testc/test25
%%EXAMPLESDIR%%/testc/test26
%%EXAMPLESDIR%%/testc/test27
%%EXAMPLESDIR%%/testc/test28
%%EXAMPLESDIR%%/testc/test29
%%EXAMPLESDIR%%/testc/test3
%%EXAMPLESDIR%%/testc/test30
%%EXAMPLESDIR%%/testc/test31
%%EXAMPLESDIR%%/testc/test32
%%EXAMPLESDIR%%/testc/test33
%%EXAMPLESDIR%%/testc/test4
%%EXAMPLESDIR%%/testc/test5
%%EXAMPLESDIR%%/testc/test6
%%EXAMPLESDIR%%/testc/test7
%%EXAMPLESDIR%%/testc/test8
%%EXAMPLESDIR%%/testc/test9
%%EXAMPLESDIR%%/testf/test1
%%EXAMPLESDIR%%/testf/test10
%%EXAMPLESDIR%%/testf/test11
%%EXAMPLESDIR%%/testf/test12
%%EXAMPLESDIR%%/testf/test13
%%EXAMPLESDIR%%/testf/test14
%%EXAMPLESDIR%%/testf/test15
%%EXAMPLESDIR%%/testf/test16
%%EXAMPLESDIR%%/testf/test17
%%EXAMPLESDIR%%/testf/test18
%%EXAMPLESDIR%%/testf/test19
%%EXAMPLESDIR%%/testf/test2
%%EXAMPLESDIR%%/testf/test20
%%EXAMPLESDIR%%/testf/test21
%%EXAMPLESDIR%%/testf/test22
%%EXAMPLESDIR%%/testf/test23
%%EXAMPLESDIR%%/testf/test24
%%EXAMPLESDIR%%/testf/test25
%%EXAMPLESDIR%%/testf/test26
%%EXAMPLESDIR%%/testf/test27
%%EXAMPLESDIR%%/testf/test28
%%EXAMPLESDIR%%/testf/test29
%%EXAMPLESDIR%%/testf/test3
%%EXAMPLESDIR%%/testf/test30
%%EXAMPLESDIR%%/testf/test31
%%EXAMPLESDIR%%/testf/test32
%%EXAMPLESDIR%%/testf/test33
%%EXAMPLESDIR%%/testf/test4
%%EXAMPLESDIR%%/testf/test5
%%EXAMPLESDIR%%/testf/test6
%%EXAMPLESDIR%%/testf/test7
%%EXAMPLESDIR%%/testf/test8
%%EXAMPLESDIR%%/testf/test9
%%PORTDOCS%%%%DOCSDIR%%/gif/MED.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/aggregation.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/architecture.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/architecture_fonctionnelle.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/architecture_fonctionnelle_detaillee.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/architecture_technique.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/arete.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/association.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/cas_utilisation_med.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/composante.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/composition.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/equivalence.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/etude.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/face.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/famille.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/guide_utilisation.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/heritage.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/hexaedres.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maillage.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maille.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maille_0D.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maille_1D.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maille_2D.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/maille_3D.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/noeud.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/pentaedres.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/profil.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/pyramides.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/quadrangles.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/resultat.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/segments.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/tetraedres.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/triangles.gif
%%PORTDOCS%%%%DOCSDIR%%/html/champ_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/champ_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/entite_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/entite_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/equivalence_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/equivalence_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/exemple_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/external_links.html
%%PORTDOCS%%%%DOCSDIR%%/html/famille_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/famille_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
%%PORTDOCS%%%%DOCSDIR%%/html/fichier_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/fichier_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/include_c.html
%%PORTDOCS%%%%DOCSDIR%%/html/include_f.html
%%PORTDOCS%%%%DOCSDIR%%/html/installation.html
%%PORTDOCS%%%%DOCSDIR%%/html/introduction.html
%%PORTDOCS%%%%DOCSDIR%%/html/joint_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/joint_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/maillage_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/maillage_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/med_dump.html
%%PORTDOCS%%%%DOCSDIR%%/html/medconforme.html
%%PORTDOCS%%%%DOCSDIR%%/html/medimport.html
%%PORTDOCS%%%%DOCSDIR%%/html/menu.html
%%PORTDOCS%%%%DOCSDIR%%/html/modele_de_donnees.html
%%PORTDOCS%%%%DOCSDIR%%/html/noeud_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/noeud_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/passageV2.1_V2.2.html
%%PORTDOCS%%%%DOCSDIR%%/html/passageV2.2_V2.3.html
%%PORTDOCS%%%%DOCSDIR%%/html/point_de_gauss_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/point_de_gauss_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/profil_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/profil_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/reference_guide.html
%%PORTDOCS%%%%DOCSDIR%%/html/root.html
%%PORTDOCS%%%%DOCSDIR%%/html/scalaire_reference.html
%%PORTDOCS%%%%DOCSDIR%%/html/scalaire_utilisateur.html
%%PORTDOCS%%%%DOCSDIR%%/html/tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/html/user_guide.html
%%PORTDOCS%%%%DOCSDIR%%/html/utilitaires.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/jpg/medconforme.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/medimport.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump1.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump2.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump3.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump4.jpg
%%PORTDOCS%%%%DOCSDIR%%/med.css
%%PORTDOCS%%%%DOCSDIR%%/png/MED_fichier.png
%%PORTDOCS%%%%DOCSDIR%%/png/agregation.png
%%PORTDOCS%%%%DOCSDIR%%/png/arete.png
%%PORTDOCS%%%%DOCSDIR%%/png/association.png
%%PORTDOCS%%%%DOCSDIR%%/png/chainage.png
%%PORTDOCS%%%%DOCSDIR%%/png/classe.png
%%PORTDOCS%%%%DOCSDIR%%/png/code.png
%%PORTDOCS%%%%DOCSDIR%%/png/composition.png
%%PORTDOCS%%%%DOCSDIR%%/png/dependances_sous_packages_maillage.png
%%PORTDOCS%%%%DOCSDIR%%/png/description-joint.png
%%PORTDOCS%%%%DOCSDIR%%/png/equivalence.png
%%PORTDOCS%%%%DOCSDIR%%/png/etude.png
%%PORTDOCS%%%%DOCSDIR%%/png/evolution_temporelle.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_connectivite_descendante_polyedres.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_connectivite_nodale_polyedres.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_connectivite_polygones.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_grille_cartesienne.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_grille_cartesienne_coordonnees.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_gro2fam.png
%%PORTDOCS%%%%DOCSDIR%%/png/exemple_numerotation_grille.png
%%PORTDOCS%%%%DOCSDIR%%/png/face.png
%%PORTDOCS%%%%DOCSDIR%%/png/famille.png
%%PORTDOCS%%%%DOCSDIR%%/png/heritage.png
%%PORTDOCS%%%%DOCSDIR%%/png/indexation_grille.png
%%PORTDOCS%%%%DOCSDIR%%/png/joint.png
%%PORTDOCS%%%%DOCSDIR%%/png/maillage.png
%%PORTDOCS%%%%DOCSDIR%%/png/maille.png
%%PORTDOCS%%%%DOCSDIR%%/png/maille_0D.png
%%PORTDOCS%%%%DOCSDIR%%/png/maille_1D.png
%%PORTDOCS%%%%DOCSDIR%%/png/maille_2D.png
%%PORTDOCS%%%%DOCSDIR%%/png/maille_3D.png
%%PORTDOCS%%%%DOCSDIR%%/png/med.png
%%PORTDOCS%%%%DOCSDIR%%/png/noeud.png
%%PORTDOCS%%%%DOCSDIR%%/png/numerotation_grille.png
%%PORTDOCS%%%%DOCSDIR%%/png/package.png
%%PORTDOCS%%%%DOCSDIR%%/png/points_de_gauss_par_element.png
%%PORTDOCS%%%%DOCSDIR%%/png/profil.png
%%PORTDOCS%%%%DOCSDIR%%/png/resultat.png
%%PORTDOCS%%%%DOCSDIR%%/png/sequence_de_calcul.png
%%PORTDOCS%%%%DOCSDIR%%/png/sous-domaines.png
%%PORTDOCS%%%%DOCSDIR%%/png/temp-vitesse.png
%%PORTDOCS%%%%DOCSDIR%%/png/types_de_base.png
%%PORTDOCS%%%%DOCSDIR%%/png/valeur_sur_entite.png
%%PORTDOCS%%%%DOCSDIR%%/png/variable_scalaire_numerique.png
%%PORTDOCS%%%%DOCSDIR%%/tests/mdump.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test1.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test1.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test10.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test10.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test11.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test11.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test12.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test12.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test13.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test13.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test14.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test14.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test15.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test15.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test16.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test16.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test17.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test17.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test18.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test18.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test19.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test19.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test2.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test2.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test20.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test20.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test21.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test21.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test22.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test22.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test23.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test23.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test24.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test24.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test25.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test25.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test26.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test26.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test27.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test27.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test28.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test28.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test29.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test29.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test3.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test3.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test30.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test30.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test31.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test31.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test32.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test32.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test4.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test4.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test5.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test5.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test6.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test6.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test7.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test7.f90.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test8.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test8.f.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test9.c.html
%%PORTDOCS%%%%DOCSDIR%%/tests/test9.f90.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tests
%%PORTDOCS%%@dirrm %%DOCSDIR%%/png
%%PORTDOCS%%@dirrm %%DOCSDIR%%/jpg
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/gif
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%EXAMPLESDIR%%/testf
@dirrm %%EXAMPLESDIR%%/testc
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%