diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-06-30 00:12:23 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-06-30 00:12:23 +0800 |
commit | 5153d398c5a1205d6ef2015e45eb17c4c077d846 (patch) | |
tree | 4d82b532ff4881d8e20d8b9328808812936dcc1a /graphics | |
parent | 8c08a2baa8c07dd943cc8e4d66c14fbe953777ec (diff) | |
download | freebsd-ports-gnome-5153d398c5a1205d6ef2015e45eb17c4c077d846.tar.gz freebsd-ports-gnome-5153d398c5a1205d6ef2015e45eb17c4c077d846.tar.zst freebsd-ports-gnome-5153d398c5a1205d6ef2015e45eb17c4c077d846.zip |
- respect NOPORTDOCS and NOPORTEXAMPLES
- fis plist dor -DNOPORTDOCS
- bump PORTREVISION
Prompted by: QA Tindy run
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gdchart/Makefile | 6 | ||||
-rw-r--r-- | graphics/gdchart/pkg-plist | 14 |
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%% |