diff options
author | Martin Matuska <mm@FreeBSD.org> | 2011-05-14 13:02:32 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2011-05-14 13:02:32 +0000 |
commit | bd14ded547fc4303f0a6541009830907d95d01a1 (patch) | |
tree | 77761dce13ac51904b42da0f895577f9790015cf /devel/orc | |
parent | 576dcaed69959a0033ae41f328188d0c30939bc8 (diff) | |
download | ports-bd14ded547fc4303f0a6541009830907d95d01a1.tar.gz ports-bd14ded547fc4303f0a6541009830907d95d01a1.zip |
Notes
Diffstat (limited to 'devel/orc')
-rw-r--r-- | devel/orc/Makefile | 16 | ||||
-rw-r--r-- | devel/orc/pkg-plist | 16 |
2 files changed, 28 insertions, 4 deletions
diff --git a/devel/orc/Makefile b/devel/orc/Makefile index d3428ed65325..030c33692308 100644 --- a/devel/orc/Makefile +++ b/devel/orc/Makefile @@ -6,6 +6,7 @@ PORTNAME= orc PORTVERSION= 0.4.14 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://code.entropywave.com/download/orc/ @@ -24,6 +25,10 @@ CONFIGURE_ARGS+= --disable-gtk-doc SUBDIRS= orc orc-test tools +EXAMPLES_DATA= example1orc.orc example2orc.orc example3orc.orc \ + mt19937arorc.orc +EXAMPLES_EXEC= example1 example2 example3 mt19937ar volscale + OPTIONS= DOCS "Include gtk-doc documentation" off \ EXAMPLES "Install example files" off @@ -49,4 +54,15 @@ post-patch: -e 's|pkgconfigdir=.*|pkgconfigdir=\"\\$$(prefix)/libdata/pkgconfig\"|g' \ ${WRKSRC}/configure +post-install: +.if defined(WITH_EXAMPLES) && !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} +.for FILE in ${EXAMPLES_DATA} + @${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR}/${FILE} +.endfor +.for FILE in ${EXAMPLES_EXEC} + @${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR}/${FILE} +.endfor +.endif + .include <bsd.port.post.mk> diff --git a/devel/orc/pkg-plist b/devel/orc/pkg-plist index 5a41b1a0c03c..21b7e37e9899 100644 --- a/devel/orc/pkg-plist +++ b/devel/orc/pkg-plist @@ -30,10 +30,16 @@ lib/liborc-test-0.4.a lib/liborc-test-0.4.la lib/liborc-test-0.4.so lib/liborc-test-0.4.so.0 -%%PORTEXAMPLES%%lib/orc/example1 -%%PORTEXAMPLES%%lib/orc/mt19937ar -%%PORTEXAMPLES%%lib/orc/volscale libdata/pkgconfig/orc-0.4.pc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1orc.orc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2orc.orc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3orc.orc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mt19937ar +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mt19937arorc.orc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/volscale %%PORTDOCS%%share/gtk-doc/html/orc/ch01.html %%PORTDOCS%%share/gtk-doc/html/orc/ch02.html %%PORTDOCS%%share/gtk-doc/html/orc/ch03.html @@ -59,6 +65,8 @@ libdata/pkgconfig/orc-0.4.pc %%PORTDOCS%%share/gtk-doc/html/orc/orc-concepts.html %%PORTDOCS%%share/gtk-doc/html/orc/orc-misc.html %%PORTDOCS%%share/gtk-doc/html/orc/orc-opcodes.html +%%PORTDOCS%%share/gtk-doc/html/orc/orc-runninging.html +%%PORTDOCS%%share/gtk-doc/html/orc/orc-tutorial.html %%PORTDOCS%%share/gtk-doc/html/orc/orc-x86.html %%PORTDOCS%%share/gtk-doc/html/orc/orc.devhelp %%PORTDOCS%%share/gtk-doc/html/orc/orc.devhelp2 @@ -69,7 +77,7 @@ libdata/pkgconfig/orc-0.4.pc @dirrm include/orc-0.4/orc @dirrm include/orc-0.4/orc-test @dirrm include/orc-0.4 -%%PORTEXAMPLES%%@dirrm lib/orc +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm share/gtk-doc/html/orc %%PORTDOCS%%@dirrmtry share/gtk-doc/html %%PORTDOCS%%@dirrmtry share/gtk-doc |