aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-02 22:34:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-02 22:34:48 +0000
commita77e795d1a0a23ab941493406412e9b108f52b8c (patch)
tree433e34f66f1be500d51f6d05a20a6dfddfbe9ec7
parent6e4003ece7bf991ab6fdc8ec78cc5054f1fd396c (diff)
downloadports-a77e795d1a0a23ab941493406412e9b108f52b8c.tar.gz
ports-a77e795d1a0a23ab941493406412e9b108f52b8c.zip
Notes
-rw-r--r--devel/gauche-gaunit/Makefile21
-rw-r--r--devel/gauche-gaunit/distinfo6
-rw-r--r--devel/gauche-gaunit/pkg-plist35
3 files changed, 33 insertions, 29 deletions
diff --git a/devel/gauche-gaunit/Makefile b/devel/gauche-gaunit/Makefile
index eb55daa60d2b..8093e8d04261 100644
--- a/devel/gauche-gaunit/Makefile
+++ b/devel/gauche-gaunit/Makefile
@@ -5,11 +5,9 @@
# $FreeBSD$
PORTNAME= gaunit
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.5
CATEGORIES= devel scheme
-MASTER_SITES= http://www.cozmixng.org/~kou/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= rafan
+MASTER_SITES= http://www.cozmixng.org/~kou/download/
PKGNAMEPREFIX= gauche-
MAINTAINER= ports@FreeBSD.org
@@ -22,20 +20,19 @@ NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
-.if !defined(NOPORTDOCS)
-PORTDOCS= README.* Tutorial.*
-.endif
-
do-install:
cd ${WRKSRC}; ${LOCALBASE}/bin/gosh install/install.scm
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} *.en ${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} *.ja ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/sample; ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
- ${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/sample/* ${EXAMPLESDIR}
test:
cd ${WRKSRC}; ${LOCALBASE}/bin/gosh -I. test/run-test.scm
diff --git a/devel/gauche-gaunit/distinfo b/devel/gauche-gaunit/distinfo
index d42a94abd6b7..ba5a15e0cc20 100644
--- a/devel/gauche-gaunit/distinfo
+++ b/devel/gauche-gaunit/distinfo
@@ -1,3 +1,3 @@
-MD5 (gaunit-0.1.2.tar.gz) = e0f9e0a8dae45c27858977ea8a3c1103
-SHA256 (gaunit-0.1.2.tar.gz) = 9a0de7f56bcfe09658a350930b9a34b96de70f15fbd13a464aefc679fb33ab83
-SIZE (gaunit-0.1.2.tar.gz) = 32810
+MD5 (gaunit-0.1.5.tar.gz) = f3c20d0ee472a9792e37b08c362a5409
+SHA256 (gaunit-0.1.5.tar.gz) = 2bed2bf7345f467107a34980335f821cf30c26b5cb58a2077305211141f87f24
+SIZE (gaunit-0.1.5.tar.gz) = 36781
diff --git a/devel/gauche-gaunit/pkg-plist b/devel/gauche-gaunit/pkg-plist
index dc01c969a777..76bcb862fe20 100644
--- a/devel/gauche-gaunit/pkg-plist
+++ b/devel/gauche-gaunit/pkg-plist
@@ -1,22 +1,29 @@
-share/gauche/site/lib/test/unit.scm
+%%PORTDOCS%%%%DOCSDIR%%/NEWS.en
+%%PORTDOCS%%%%DOCSDIR%%/NEWS.ja
+%%PORTDOCS%%%%DOCSDIR%%/README.en
+%%PORTDOCS%%%%DOCSDIR%%/README.ja
+%%PORTDOCS%%%%DOCSDIR%%/Tutorial.ja
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/symdiff/lib/symdiff.scm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/symdiff/test/run-test.scm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/symdiff/test/test-symdiff.scm
share/gauche/site/lib/test/unit/assertions.scm
-share/gauche/site/lib/test/unit/autorunner.scm
+share/gauche/site/lib/test/unit/auto-runner.scm
share/gauche/site/lib/test/unit/base.scm
+share/gauche/site/lib/test/unit/color.scm
share/gauche/site/lib/test/unit/common.scm
-share/gauche/site/lib/test/unit/result.scm
-share/gauche/site/lib/test/unit/ui.scm
+share/gauche/site/lib/test/unit/listener.scm
+share/gauche/site/lib/test/unit/pending.scm
+share/gauche/site/lib/test/unit/run-context.scm
+share/gauche/site/lib/test/unit/test-case.scm
share/gauche/site/lib/test/unit/ui/gtk.scm
share/gauche/site/lib/test/unit/ui/text.scm
+share/gauche/site/lib/test/unit/ui.scm
+share/gauche/site/lib/test/unit.scm
@dirrm share/gauche/site/lib/test/unit/ui
@dirrm share/gauche/site/lib/test/unit
@dirrmtry share/gauche/site/lib/test
-%%EXAMPLESDIR%%/site-lisp/run-test-setting.el
-%%EXAMPLESDIR%%/site-lisp/run-test.el
-%%EXAMPLESDIR%%/symdiff/lib/symdiff.scm
-%%EXAMPLESDIR%%/symdiff/test/run-test.scm
-%%EXAMPLESDIR%%/symdiff/test/test-symdiff.scm
-@dirrm %%EXAMPLESDIR%%/symdiff/test
-@dirrm %%EXAMPLESDIR%%/symdiff/lib
-@dirrm %%EXAMPLESDIR%%/symdiff
-@dirrm %%EXAMPLESDIR%%/site-lisp
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/symdiff/test
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/symdiff/lib
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/symdiff
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%