summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-12-03 23:08:56 +0000
committerxtraeme <xtraeme>2003-12-03 23:08:56 +0000
commitdb7fa621d484b74297fed175b2c8625b94e6f5bd (patch)
tree65e10174a3df78c50e8a4ce3ec8a0183587d6ce1
parent96bdfc5e25d2305b6e1108b01d3776427f344b4d (diff)
downloadpkgsrc-db7fa621d484b74297fed175b2c8625b94e6f5bd.tar.gz
Initial import of crack-attack 1.1.10 from pkgsrc-wip packaged
by Soren Jacobsen. Crack Attack! is an addictive (hence the name) OpenGL game based on the Tetris Attack game for Super Nintendo. The goal is to keep your stack from reaching the top of the screen. To prevent this, you line up blocks of the same color.
-rw-r--r--games/crack-attack/DESCR5
-rw-r--r--games/crack-attack/Makefile25
-rw-r--r--games/crack-attack/PLIST167
-rw-r--r--games/crack-attack/distinfo5
-rw-r--r--games/crack-attack/patches/patch-aa35
5 files changed, 237 insertions, 0 deletions
diff --git a/games/crack-attack/DESCR b/games/crack-attack/DESCR
new file mode 100644
index 00000000000..91540377938
--- /dev/null
+++ b/games/crack-attack/DESCR
@@ -0,0 +1,5 @@
+Crack Attack! is an addictive (hence the name) OpenGL game based on
+the Tetris Attack game for Super Nintendo.
+
+The goal is to keep your stack from reaching the top of the screen.
+To prevent this, you line up blocks of the same color.
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
new file mode 100644
index 00000000000..9da19fef2c0
--- /dev/null
+++ b/games/crack-attack/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 23:08:56 xtraeme Exp $
+#
+
+DISTNAME= crack-attack-1.1.10
+CATEGORIES= games
+MASTER_SITES= http://aluminumangel.org/cgi-bin/download_counter.cgi?attack_linux+attack/
+
+MAINTAINER= snj@pobox.com
+HOMEPAGE= http://aluminumangel.org/attack/
+COMMENT= Tetris Attack inspired game
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+USE_X11= YES
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/html/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${PREFIX}/share/doc/html/${PKGBASE}
+
+.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/glut/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/crack-attack/PLIST b/games/crack-attack/PLIST
new file mode 100644
index 00000000000..01775568b5d
--- /dev/null
+++ b/games/crack-attack/PLIST
@@ -0,0 +1,167 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 23:08:57 xtraeme Exp $
+bin/crack-attack
+share/crack-attack/clock_0.tga
+share/crack-attack/clock_1.tga
+share/crack-attack/clock_2.tga
+share/crack-attack/clock_3.tga
+share/crack-attack/clock_4.tga
+share/crack-attack/clock_5.tga
+share/crack-attack/clock_6.tga
+share/crack-attack/clock_7.tga
+share/crack-attack/clock_8.tga
+share/crack-attack/clock_9.tga
+share/crack-attack/clock_extra.tga
+share/crack-attack/count_down_1.tga
+share/crack-attack/count_down_2.tga
+share/crack-attack/count_down_3.tga
+share/crack-attack/count_down_go.tga
+share/crack-attack/default_record
+share/crack-attack/flavor_1.tga
+share/crack-attack/flavor_2.tga
+share/crack-attack/font0_0.tga
+share/crack-attack/font0_1.tga
+share/crack-attack/font0_2.tga
+share/crack-attack/font0_3.tga
+share/crack-attack/font0_4.tga
+share/crack-attack/font0_5.tga
+share/crack-attack/font0_6.tga
+share/crack-attack/font0_7.tga
+share/crack-attack/font0_8.tga
+share/crack-attack/font0_9.tga
+share/crack-attack/font0_a.tga
+share/crack-attack/font0_and.tga
+share/crack-attack/font0_at.tga
+share/crack-attack/font0_b.tga
+share/crack-attack/font0_br.tga
+share/crack-attack/font0_c.tga
+share/crack-attack/font0_ca.tga
+share/crack-attack/font0_cb.tga
+share/crack-attack/font0_cc.tga
+share/crack-attack/font0_cd.tga
+share/crack-attack/font0_ce.tga
+share/crack-attack/font0_cf.tga
+share/crack-attack/font0_cg.tga
+share/crack-attack/font0_ch.tga
+share/crack-attack/font0_ci.tga
+share/crack-attack/font0_cj.tga
+share/crack-attack/font0_ck.tga
+share/crack-attack/font0_cl.tga
+share/crack-attack/font0_cln.tga
+share/crack-attack/font0_cm.tga
+share/crack-attack/font0_cma.tga
+share/crack-attack/font0_cn.tga
+share/crack-attack/font0_co.tga
+share/crack-attack/font0_cp.tga
+share/crack-attack/font0_cq.tga
+share/crack-attack/font0_cr.tga
+share/crack-attack/font0_cs.tga
+share/crack-attack/font0_ct.tga
+share/crack-attack/font0_cu.tga
+share/crack-attack/font0_cv.tga
+share/crack-attack/font0_cw.tga
+share/crack-attack/font0_cx.tga
+share/crack-attack/font0_cy.tga
+share/crack-attack/font0_cz.tga
+share/crack-attack/font0_d.tga
+share/crack-attack/font0_ds.tga
+share/crack-attack/font0_e.tga
+share/crack-attack/font0_ep.tga
+share/crack-attack/font0_eq.tga
+share/crack-attack/font0_f.tga
+share/crack-attack/font0_g.tga
+share/crack-attack/font0_gt.tga
+share/crack-attack/font0_h.tga
+share/crack-attack/font0_i.tga
+share/crack-attack/font0_j.tga
+share/crack-attack/font0_k.tga
+share/crack-attack/font0_l.tga
+share/crack-attack/font0_lt.tga
+share/crack-attack/font0_m.tga
+share/crack-attack/font0_mn.tga
+share/crack-attack/font0_n.tga
+share/crack-attack/font0_o.tga
+share/crack-attack/font0_p.tga
+share/crack-attack/font0_pd.tga
+share/crack-attack/font0_pe.tga
+share/crack-attack/font0_pl.tga
+share/crack-attack/font0_pr.tga
+share/crack-attack/font0_ps.tga
+share/crack-attack/font0_pu.tga
+share/crack-attack/font0_q.tga
+share/crack-attack/font0_qm.tga
+share/crack-attack/font0_r.tga
+share/crack-attack/font0_s.tga
+share/crack-attack/font0_sl.tga
+share/crack-attack/font0_t.tga
+share/crack-attack/font0_td.tga
+share/crack-attack/font0_u.tga
+share/crack-attack/font0_v.tga
+share/crack-attack/font0_w.tga
+share/crack-attack/font0_x.tga
+share/crack-attack/font0_y.tga
+share/crack-attack/font0_z.tga
+share/crack-attack/font0_za.tga
+share/crack-attack/font0_zb.tga
+share/crack-attack/font0_zc.tga
+share/crack-attack/font0_zd.tga
+share/crack-attack/garbage_flavor_000.tga
+share/crack-attack/garbage_flavor_001.tga
+share/crack-attack/garbage_flavor_002.tga
+share/crack-attack/garbage_flavor_003.tga
+share/crack-attack/garbage_flavor_004.tga
+share/crack-attack/garbage_flavor_005.tga
+share/crack-attack/garbage_flavor_logo.tga
+share/crack-attack/garbage_flavor_logo_x.tga
+share/crack-attack/garbage_lightmap_0.tga
+share/crack-attack/garbage_lightmap_1.tga
+share/crack-attack/garbage_lightmap_2.tga
+share/crack-attack/garbage_lightmap_3.tga
+share/crack-attack/garbage_lightmap_4.tga
+share/crack-attack/garbage_lightmap_5.tga
+share/crack-attack/logo.tga
+share/crack-attack/logo_x.tga
+share/crack-attack/message_anykey.tga
+share/crack-attack/message_game_over.tga
+share/crack-attack/message_loser.tga
+share/crack-attack/message_paused.tga
+share/crack-attack/message_waiting.tga
+share/crack-attack/message_winner.tga
+share/crack-attack/sign_10.tga
+share/crack-attack/sign_11.tga
+share/crack-attack/sign_12.tga
+share/crack-attack/sign_4.tga
+share/crack-attack/sign_5.tga
+share/crack-attack/sign_6.tga
+share/crack-attack/sign_7.tga
+share/crack-attack/sign_8.tga
+share/crack-attack/sign_9.tga
+share/crack-attack/sign_bonus.tga
+share/crack-attack/sign_x10.tga
+share/crack-attack/sign_x11.tga
+share/crack-attack/sign_x12.tga
+share/crack-attack/sign_x2.tga
+share/crack-attack/sign_x3.tga
+share/crack-attack/sign_x4.tga
+share/crack-attack/sign_x5.tga
+share/crack-attack/sign_x6.tga
+share/crack-attack/sign_x7.tga
+share/crack-attack/sign_x8.tga
+share/crack-attack/sign_x9.tga
+share/doc/html/crack-attack/dl_ii_linux.html
+share/doc/html/crack-attack/dl_ii_windows.html
+share/doc/html/crack-attack/index.html
+share/doc/html/crack-attack/logo_big.jpg
+share/doc/html/crack-attack/screen_explanation.jpg
+share/doc/html/crack-attack/tn_screen_shot_0.jpg
+share/doc/html/crack-attack/tn_screen_shot_1.jpg
+share/doc/html/crack-attack/tn_screen_shot_2.jpg
+share/doc/html/crack-attack/tn_screen_shot_3.jpg
+share/doc/html/crack-attack/tn_screen_shot_4.jpg
+share/doc/html/crack-attack/tn_screen_shot_5.jpg
+share/doc/html/crack-attack/tn_screen_shot_6.jpg
+share/doc/html/crack-attack/tn_screen_shot_7.jpg
+share/doc/html/crack-attack/tn_screen_shot_8.jpg
+share/doc/html/crack-attack/tn_wallpaper_a.jpg
+share/doc/html/crack-attack/tn_wallpaper_b.jpg
+@dirrm share/doc/html/crack-attack
+@dirrm share/crack-attack
diff --git a/games/crack-attack/distinfo b/games/crack-attack/distinfo
new file mode 100644
index 00000000000..58476180563
--- /dev/null
+++ b/games/crack-attack/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/03 23:08:56 xtraeme Exp $
+
+SHA1 (crack-attack-1.1.10.tar.gz) = 49e3526af9c71b1f1adf96978b11c2cbde709a97
+Size (crack-attack-1.1.10.tar.gz) = 596062 bytes
+SHA1 (patch-aa) = 6a462e9c9beb9d6e6c1509d3f2891e35b4e9e16f
diff --git a/games/crack-attack/patches/patch-aa b/games/crack-attack/patches/patch-aa
new file mode 100644
index 00000000000..cf3ab3ada0b
--- /dev/null
+++ b/games/crack-attack/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:08:57 xtraeme Exp $
+
+--- src/Makefile.in.orig 2003-10-16 07:39:27.000000000 -0700
++++ src/Makefile.in 2003-11-21 18:05:31.000000000 -0800
+@@ -67,10 +67,10 @@
+
+ crack_attack_SOURCES = Attack.cxx Block.cxx BlockManager.cxx CelebrationManager.cxx Clock.cxx ComboManager.cxx ComboTabulator.cxx Communicator.cxx Controller.cxx CountDownManager.cxx Creep.cxx Displayer.cxx Game.cxx Garbage.cxx GarbageFlavorImage.cxx GarbageGenerator.cxx GarbageManager.cxx Grid.cxx LevelLights.cxx LightManager.cxx LoseBar.cxx MessageManager.cxx MetaState.cxx Random.cxx Sine.cxx Score.cxx ScoreRecordManager.cxx Swapper.cxx SparkleManager.cxx Spring.cxx SignManager.cxx String.cxx TextureLoader.cxx WinRecord.cxx X.cxx DrawBlocks.cxx DrawGarbage.cxx DrawCandy.cxx DrawScoreRecord.cxx DrawSwapper.cxx DrawExternalCandy.cxx DrawLevelLights.cxx DrawCountDown.cxx DrawMessages.cxx DrawWinRecord.cxx obj_block.cxx obj_garbage.cxx obj_garbage_thin_middle.cxx obj_garbage_thin_cap.cxx obj_garbage_thick_corner.cxx obj_garbage_thick_edge.cxx obj_garbage_thick_middle.cxx obj_garbage_small.cxx obj_sparkle.cxx obj_sign.cxx obj_swapper.cxx obj_external_candy.cxx obj_level_lights.cxx obj_messages.cxx obj_clock.cxx obj_name.cxx obj_score_record.cxx Attack.h Block.h BlockManager.h CelebrationManager.h Clock.h ComboManager.h ComboTabulator.h Communicator.h Controller.h CountDownManager.h Creep.h Displayer.h Game.h Garbage.h GarbageFlavorImage.h GarbageGenerator.h GarbageManager.h Grid.h LevelLights.h LightManager.h LoseBar.h MessageManager.h MetaState.h Random.h Sine.h Score.h ScoreRecordManager.h Swapper.h SparkleManager.h Spring.h SignManager.h String.h TextureLoader.h WinRecord.h X.h
+
+-CXXFLAGS = -O6 -s
++#CXXFLAGS = -O6 -s
+ INCLUDES = -DNDEBUG -DDATA_DIRECTORY='"${pkgdatadir}/"'
+
+-LDFLAGS = ${all_libraries}
++LDFLAGS += ${all_libraries}
+ LDADD = ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS} -lGL -lGLU -lglut -lXi -lX11 -lXmu
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
+@@ -106,7 +106,7 @@
+ crack_attack_LDFLAGS =
+ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ CXXLD = $(CXX)
+-CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
++CXXLINK = $(CXXLD) -o $@
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+@@ -206,7 +206,7 @@
+
+ crack-attack: $(crack_attack_OBJECTS) $(crack_attack_DEPENDENCIES)
+ @rm -f crack-attack
+- $(CXXLINK) $(crack_attack_LDFLAGS) $(crack_attack_OBJECTS) $(crack_attack_LDADD) $(LIBS)
++ $(CXXLINK) $(crack_attack_LDFLAGS) $(crack_attack_OBJECTS) $(LDFLAGS) $(crack_attack_LDADD) $(LIBS)
+ .cxx.o:
+ $(CXXCOMPILE) -c $<
+