diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-07-23 20:36:50 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-07-23 20:36:50 +0000 |
commit | ef97e062693007888aad95d9709c6d965ebf074d (patch) | |
tree | 87fda5ad9abefc13ee819c42de90821b3c4ee30b /graphics/Cgraph | |
parent | 7078de9f5399c23d188bb16a105e5e9489fbe088 (diff) | |
download | ports-ef97e062693007888aad95d9709c6d965ebf074d.tar.gz ports-ef97e062693007888aad95d9709c6d965ebf074d.zip |
Notes
Diffstat (limited to 'graphics/Cgraph')
-rw-r--r-- | graphics/Cgraph/Makefile | 20 | ||||
-rw-r--r-- | graphics/Cgraph/pkg-plist | 16 |
2 files changed, 19 insertions, 17 deletions
diff --git a/graphics/Cgraph/Makefile b/graphics/Cgraph/Makefile index 31d397b276ee..1dff6b781b2b 100644 --- a/graphics/Cgraph/Makefile +++ b/graphics/Cgraph/Makefile @@ -7,7 +7,7 @@ PORTNAME= Cgraph PORTVERSION= 2.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.tobez.org/download/port-mirrors/graphics/Cgraph/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -16,6 +16,8 @@ MAINTAINER= tobez@FreeBSD.org COMMENT= A PostScript plotting library in C WRKSRC= ${WRKDIR}/Cgraph/source +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L} +EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:L} USE_LDCONFIG= yes @@ -24,16 +26,16 @@ post-extract: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/cgraph - @${INSTALL_DATA} ${WRKSRC}/../docs/cgraph.ps ${PREFIX}/share/doc/cgraph + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/../docs/cgraph.ps ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${PREFIX}/share/examples/cgraph - @${INSTALL_DATA} ${WRKSRC}/../examples/minimal/CGminimal.c ${PREFIX}/share/examples/cgraph - @${INSTALL_DATA} ${WRKSRC}/../examples/dash/dashlist.c ${PREFIX}/share/examples/cgraph - @${INSTALL_DATA} ${WRKSRC}/../examples/marker/markerlist.c ${PREFIX}/share/examples/cgraph - @${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFopt-lrLog.c ${PREFIX}/share/examples/cgraph - @${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFampspect.dat ${PREFIX}/share/examples/cgraph + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/../examples/minimal/CGminimal.c \ + ${WRKSRC}/../examples/dash/dashlist.c \ + ${WRKSRC}/../examples/marker/markerlist.c \ + ${WRKSRC}/../examples/loglog/TFopt-lrLog.c \ + ${WRKSRC}/../examples/loglog/TFampspect.dat ${EXAMPLESDIR} .endif .include <bsd.port.mk> diff --git a/graphics/Cgraph/pkg-plist b/graphics/Cgraph/pkg-plist index 57b6b486e93c..e817643550d0 100644 --- a/graphics/Cgraph/pkg-plist +++ b/graphics/Cgraph/pkg-plist @@ -3,11 +3,11 @@ lib/libcgraph.a lib/libcgraph_p.a lib/libcgraph.so lib/libcgraph.so.2 -share/doc/cgraph/cgraph.ps -share/examples/cgraph/CGminimal.c -share/examples/cgraph/dashlist.c -share/examples/cgraph/markerlist.c -share/examples/cgraph/TFopt-lrLog.c -share/examples/cgraph/TFampspect.dat -@dirrm share/doc/cgraph -@dirrm share/examples/cgraph +%%PORTDOCS%%%%DOCSDIR%%/cgraph.ps +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CGminimal.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dashlist.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/markerlist.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/TFopt-lrLog.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/TFampspect.dat +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |