aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-08 06:28:25 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-08 06:28:25 +0800
commit2a37c0541a37538bc5fec8b2878e6da48044316c (patch)
tree9b0f9db729c1c361870ec3cbfc4bf3e28c0b6bef /graphics
parent7df7556949a06a0fda4470d0130d660bf75fccd0 (diff)
downloadfreebsd-ports-gnome-2a37c0541a37538bc5fec8b2878e6da48044316c.tar.gz
freebsd-ports-gnome-2a37c0541a37538bc5fec8b2878e6da48044316c.tar.zst
freebsd-ports-gnome-2a37c0541a37538bc5fec8b2878e6da48044316c.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Diffstat (limited to 'graphics')
-rw-r--r--graphics/phplot/Makefile7
-rw-r--r--graphics/phplot/pkg-plist74
2 files changed, 43 insertions, 38 deletions
diff --git a/graphics/phplot/Makefile b/graphics/phplot/Makefile
index a5c84dbacef3..1cf5536639f1 100644
--- a/graphics/phplot/Makefile
+++ b/graphics/phplot/Makefile
@@ -84,11 +84,16 @@ LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
.endif
do-install:
- @${MKDIR} ${PHPLOT_DIR} ${EXAMPLESDIR}/images ${DOCSDIR}
+ @${MKDIR} ${PHPLOT_DIR}
@${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/,} ${PHPLOT_DIR}/
.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKDIR}/phplotdocs/,} ${DOCSDIR}/
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}/images
@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKDIR}/phplotdocs/examples/,} ${EXAMPLESDIR}/
@${INSTALL_DATA} ${IMAGES:S,^,${WRKDIR}/phplotdocs/images/,} ${EXAMPLESDIR}/images/
.endif
+
.include <bsd.port.mk>
diff --git a/graphics/phplot/pkg-plist b/graphics/phplot/pkg-plist
index bc8dc01c5ca5..53b4dabd6b18 100644
--- a/graphics/phplot/pkg-plist
+++ b/graphics/phplot/pkg-plist
@@ -161,42 +161,42 @@ include/php/phplot/rgb.inc.php
%%PORTDOCS%%%%DOCSDIR%%/starting-next.html
%%PORTDOCS%%%%DOCSDIR%%/starting-simple.html
%%PORTDOCS%%%%DOCSDIR%%/starting.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/colors.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/error-image.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/fonts.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/gdinfo.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/labels-pie.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/labels.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/layout.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/legend-layout.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/legendstyle.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/ticksize.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/typical-grid.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/typical-legend.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/images/typical-titles.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/area1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/bars1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/bars2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/bars3.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/bars4.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/linepoints1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/lines1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/lines2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/pie1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/pie2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/pie3.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/points1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/points2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/qs1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/qs2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/qs3.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/squared1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/stackedbars1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/stackedbars2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/thinbarline1.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/thinbarline2.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/twoplot1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/colors.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/error-image.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/fonts.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/gdinfo.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/labels-pie.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/labels.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/layout.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/legend-layout.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/legendstyle.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/ticksize.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/typical-grid.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/typical-legend.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/typical-titles.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/area1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bars1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bars2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bars3.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bars4.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/linepoints1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lines1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lines2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pie1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pie2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pie3.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/points1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/points2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qs1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qs2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qs3.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/squared1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stackedbars1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stackedbars2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thinbarline1.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thinbarline2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/twoplot1.png
@dirrmtry include/php/phplot
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/images
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%