diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-07-24 04:36:50 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-07-24 04:36:50 +0800 |
commit | e7231503e3efa4c2926e4b26f54eb9e4f18ef823 (patch) | |
tree | 703d764ab77854af1b7d5161314915fa141f392c /graphics | |
parent | 821d1978ba4d987c7e92cd59cdc67dd32aa1b4ac (diff) | |
download | freebsd-ports-gnome-e7231503e3efa4c2926e4b26f54eb9e4f18ef823.tar.gz freebsd-ports-gnome-e7231503e3efa4c2926e4b26f54eb9e4f18ef823.tar.zst freebsd-ports-gnome-e7231503e3efa4c2926e4b26f54eb9e4f18ef823.zip |
- use DOCSDIR and EXAMPLESDIR
- fix plist with NOPORT*
- bump PORTREVISON
Prompted by: QA Tindy run
Approved by: maintainer timeout to BotMail
Diffstat (limited to 'graphics')
-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%% |