summaryrefslogtreecommitdiffstats
path: root/education/tuxmath
diff options
context:
space:
mode:
authorEric Sandall2009-04-12 20:46:10 -0700
committerEric Sandall2009-04-12 20:46:10 -0700
commit182ceac6ffe5c8b229395fb3b6732ee04bd0d374 (patch)
tree5840f3a384efcee67cba57049837a678e644eaaa /education/tuxmath
parent9627564d28925517b991dceb6e94dd3f877a8921 (diff)
tuxmath: Switch from build api 1 to 2
Diffstat (limited to 'education/tuxmath')
-rwxr-xr-xeducation/tuxmath/BUILD12
-rwxr-xr-xeducation/tuxmath/DETAILS3
-rw-r--r--education/tuxmath/HISTORY5
-rwxr-xr-xeducation/tuxmath/INSTALL2
-rwxr-xr-xeducation/tuxmath/PRE_BUILD4
5 files changed, 13 insertions, 13 deletions
diff --git a/education/tuxmath/BUILD b/education/tuxmath/BUILD
index 320f996d45..8f58e6df93 100755
--- a/education/tuxmath/BUILD
+++ b/education/tuxmath/BUILD
@@ -1,11 +1 @@
-(
-
- sedit "s:/local::" Makefile
- sedit "s/-O2/$CFLAGS/" Makefile
- sedit "s:/usr/bin/:/usr/games/:" Makefile
- make &&
- prepare_install &&
- mkdir -p ${INSTALL_ROOT}/usr/games &&
- make install
-
-) > $C_FIFO 2>&1
+make
diff --git a/education/tuxmath/DETAILS b/education/tuxmath/DETAILS
index 864200ef01..fd13825a47 100755
--- a/education/tuxmath/DETAILS
+++ b/education/tuxmath/DETAILS
@@ -4,11 +4,10 @@
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_HASH=sha512:04ce6e7458f7b1a5c7e0c2e2700d89e6f4fafbbcc5452a04e474207b9d402e53cd989816eb795f5496aa5b6ea55c3262adb5e108cf4c7e4050aeae2d6c76648a
- WEB_SITE=http://www.geekcomix.com/dm/tuxmath/
+ WEB_SITE=http://tux4kids.alioth.debian.org/
ENTERED=20020131
UPDATED=20020131
LICENSE[0]=GPL
- BUILD_API=1
SHORT="tuxmath is a game where you do math fast or watch your city get blasted."
cat << EOF
"Tux, of Math Command" is an educational math tutorial game for
diff --git a/education/tuxmath/HISTORY b/education/tuxmath/HISTORY
index 14b26df44f..f609b43f62 100644
--- a/education/tuxmath/HISTORY
+++ b/education/tuxmath/HISTORY
@@ -1,3 +1,8 @@
+2009-04-12 Eric Sandall <sandalle@sourcemage.org>
+ * DETAILS: WEB_SITE changed to http://tux4kids.alioth.debian.org/
+ Removed BUILD_API=1
+ * BUILD,INSTALL: Split into build_api 2
+
2006-09-21 Andra┼ż "ruskie" Levstik <ruskie@mages.ath.cx>
* DETAILS: [automated] Removed MAINTAINER.
diff --git a/education/tuxmath/INSTALL b/education/tuxmath/INSTALL
new file mode 100755
index 0000000000..717f3b292b
--- /dev/null
+++ b/education/tuxmath/INSTALL
@@ -0,0 +1,2 @@
+mkdir -p ${INSTALL_ROOT}/usr/games &&
+default_install
diff --git a/education/tuxmath/PRE_BUILD b/education/tuxmath/PRE_BUILD
new file mode 100755
index 0000000000..30408e30f7
--- /dev/null
+++ b/education/tuxmath/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+sedit "s:/local::" $SOURCE_DIRECTORY/Makefile &&
+sedit "s/-O2/$CFLAGS/" $SOURCE_DIRECTORY/Makefile &&
+sedit "s:/usr/bin/:/usr/games/:" $SOURCE_DIRECTORY/Makefile