aboutsummaryrefslogtreecommitdiffstats
path: root/science/v_sim
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-05-26 05:49:03 +0800
committerthierry <thierry@FreeBSD.org>2008-05-26 05:49:03 +0800
commit995393315b41e75c2d96d44ca0abd4c8a3e4c0b2 (patch)
tree6c02710383afa0e3a116cd589a85a1ceaad336b3 /science/v_sim
parentcf4ffc4864f701b2c183f01e6ad3e19a2a14c535 (diff)
downloadfreebsd-ports-gnome-995393315b41e75c2d96d44ca0abd4c8a3e4c0b2.tar.gz
freebsd-ports-gnome-995393315b41e75c2d96d44ca0abd4c8a3e4c0b2.tar.zst
freebsd-ports-gnome-995393315b41e75c2d96d44ca0abd4c8a3e4c0b2.zip
Introduce NOPORTEXAMPLES.
Suggested by: itetcu
Diffstat (limited to 'science/v_sim')
-rw-r--r--science/v_sim/Makefile6
-rw-r--r--science/v_sim/pkg-plist34
2 files changed, 22 insertions, 18 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index 8855411cf434..8927ba80ee10 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -62,7 +62,11 @@ pre-configure:
${WRKSRC}/Makefile.in
.endif
.if defined(NOPORTDOCS)
- ${REINPLACE_CMD} -e 's|Documentation||;s|pixmaps \\|pixmaps|;s|examples$$||' \
+ ${REINPLACE_CMD} -e 's|Documentation||' \
+ ${WRKSRC}/Makefile.in
+.endif
+.if defined(NOPORTEXAMPLES)
+ ${REINPLACE_CMD} -e 's|pixmaps \\|pixmaps|;s|examples$$||' \
${WRKSRC}/Makefile.in
.endif
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
index c423dc955724..3faec0310c93 100644
--- a/science/v_sim/pkg-plist
+++ b/science/v_sim/pkg-plist
@@ -125,22 +125,22 @@ bin/v_sim
%%PORTDOCS%%%%DOCSDIR%%/licence.fr.txt
%%PORTDOCS%%%%DOCSDIR%%/pot2surf_help
%%PORTDOCS%%%%DOCSDIR%%/readme
-%%PORTDOCS%%%%EXAMPLESDIR%%/aluminium.d3
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo-browser.tar.gz
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo.ascii
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo.d3
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo.xyz
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo_spin.d3
-%%PORTDOCS%%%%EXAMPLESDIR%%/demo_spin.spin
-%%PORTDOCS%%%%EXAMPLESDIR%%/density-sih4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/diff.ascii
-%%PORTDOCS%%%%EXAMPLESDIR%%/diff.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/nq-netcdf.cdl
-%%PORTDOCS%%%%EXAMPLESDIR%%/nq-netcdf.nc
-%%PORTDOCS%%%%EXAMPLESDIR%%/planes.xml
-%%PORTDOCS%%%%EXAMPLESDIR%%/silane.nc
-%%PORTDOCS%%%%EXAMPLESDIR%%/test_isosurfaces.ascii
-%%PORTDOCS%%%%EXAMPLESDIR%%/test_isosurfaces.surf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aluminium.d3
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo-browser.tar.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.ascii
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.d3
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.xyz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_spin.d3
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_spin.spin
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/density-sih4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff.ascii
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nq-netcdf.cdl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nq-netcdf.nc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/planes.xml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/silane.nc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_isosurfaces.ascii
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_isosurfaces.surf
%%NLS%%share/locale/fr/LC_MESSAGES/v_sim.mo
share/pixmaps/v_sim.16.png
share/pixmaps/v_sim.32.png
@@ -193,7 +193,7 @@ share/pixmaps/v_sim.xpm
%%DATADIR%%/v_sim.res
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/APIreference/v_sim
%%PORTDOCS%%@dirrm %%DOCSDIR%%/APIreference
%%PORTDOCS%%@dirrm %%DOCSDIR%%