diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-06-29 16:12:23 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-06-29 16:12:23 +0000 |
commit | 75b40d1db2a979f5696f964ecf1b9bffee086b71 (patch) | |
tree | 3d6e37790a2568545f708beb9ef1c30e6bcd598e /graphics/gdchart | |
parent | 56ae4435c043493786cbd50e17363285f1a56407 (diff) |
Notes
Diffstat (limited to 'graphics/gdchart')
-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%% |