aboutsummaryrefslogtreecommitdiff
path: root/graphics/gdchart
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-29 16:12:23 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-29 16:12:23 +0000
commit75b40d1db2a979f5696f964ecf1b9bffee086b71 (patch)
tree3d6e37790a2568545f708beb9ef1c30e6bcd598e /graphics/gdchart
parent56ae4435c043493786cbd50e17363285f1a56407 (diff)
downloadports-75b40d1db2a979f5696f964ecf1b9bffee086b71.tar.gz
ports-75b40d1db2a979f5696f964ecf1b9bffee086b71.zip
- respect NOPORTDOCS and NOPORTEXAMPLES
- fis plist dor -DNOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Notes
Notes: svn path=/head/; revision=215950
Diffstat (limited to 'graphics/gdchart')
-rw-r--r--graphics/gdchart/Makefile6
-rw-r--r--graphics/gdchart/pkg-plist14
2 files changed, 11 insertions, 9 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 8adb02800b8f..97e1d3a746af 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdchart
PORTVERSION= 0.11.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.fred.net/brv/chart/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -48,12 +48,14 @@ post-patch:
-e 's/^#include "gdc\.h"/#include "gdchart.h"/' \
${WRKSRC}/gdc_pie_samp.c
-.if !defined(NOPORTDOCS)
post-install:
+.if !defined(NOPORTDOCS)
.for f in ${DOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
.for f in ${EXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}/
diff --git a/graphics/gdchart/pkg-plist b/graphics/gdchart/pkg-plist
index c971924c31d3..b29f8d702eef 100644
--- a/graphics/gdchart/pkg-plist
+++ b/graphics/gdchart/pkg-plist
@@ -5,10 +5,10 @@ lib/libgdc.a
lib/libgdc.so
lib/libgdc.so.1
%%PROFILE%%lib/libgdc_p.a
-%%DOCSDIR%%/README.txt
-@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/ft_samp.c
-%%EXAMPLESDIR%%/gdc_samp1.c
-%%EXAMPLESDIR%%/gdc_samp2.c
-%%EXAMPLESDIR%%/gdc_pie_samp.c
-@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ft_samp.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_samp1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_samp2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdc_pie_samp.c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%