aboutsummaryrefslogtreecommitdiffstats
path: root/science/v_sim
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2009-11-07 22:36:46 +0800
committerthierry <thierry@FreeBSD.org>2009-11-07 22:36:46 +0800
commita1361b57b2c65a91477164ab26ed5cdea2757d10 (patch)
tree983ea2d8cdfa3d3a2d2595fa4cdb7f853b0a7464 /science/v_sim
parent0f0c1a36a10bca3e9c817d1ee33202f5bc39188f (diff)
downloadfreebsd-ports-gnome-a1361b57b2c65a91477164ab26ed5cdea2757d10.tar.gz
freebsd-ports-gnome-a1361b57b2c65a91477164ab26ed5cdea2757d10.tar.zst
freebsd-ports-gnome-a1361b57b2c65a91477164ab26ed5cdea2757d10.zip
Fix plist when NOPORTDOCS / NOPORTEXAMPLES are defined.
Reported by: QAT
Diffstat (limited to 'science/v_sim')
-rw-r--r--science/v_sim/Makefile4
-rw-r--r--science/v_sim/pkg-plist6
2 files changed, 6 insertions, 4 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index 2f79f74c560c..d62302d3b0f9 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -70,9 +70,11 @@ pre-configure:
.if defined(NOPORTEXAMPLES)
${REINPLACE_CMD} -e 's|pixmaps \\|pixmaps|;s|examples$$||' \
${WRKSRC}/Makefile.in
- ${FIND} ${WRKSRC}/src/plug-ins -name Makefile.in | ${XARGS} \
+ ${FIND} ${WRKSRC}/lib/plug-ins -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e \
's|install-v_simexamplesDATA install-v_simpixmapsDATA|install-v_simpixmapsDATA|'
+ ${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \
+ ${WRKSRC}/lib/python/Makefile.in
.endif
.include <bsd.port.mk>
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
index 85bfb92b14d3..01aa32b85100 100644
--- a/science/v_sim/pkg-plist
+++ b/science/v_sim/pkg-plist
@@ -7,8 +7,8 @@ lib/libv_sim.so.1
%%BABEL%%lib/v_sim/plug-ins/libobloader.la
%%BABEL%%lib/v_sim/plug-ins/libobloader.so
%%BABEL%%lib/v_sim/plug-ins/libobloader.so.1
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.en
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.fr
+%%DOCSDIR%%/ChangeLog.en
+%%DOCSDIR%%/ChangeLog.fr
%%PORTDOCS%%%%DOCSDIR%%/authors
%%PORTDOCS%%%%DOCSDIR%%/licence.en.txt
%%PORTDOCS%%%%DOCSDIR%%/licence.fr.txt
@@ -204,6 +204,6 @@ share/pixmaps/v_sim.xpm
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DOCSDIR%%
@dirrm lib/v_sim/plug-ins
@dirrm lib/v_sim