aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--games/Makefile1
-rw-r--r--games/njam/Makefile41
-rw-r--r--games/njam/distinfo3
-rw-r--r--games/njam/pkg-descr15
-rw-r--r--games/njam/pkg-plist115
6 files changed, 175 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index bd5b41d22639..85ebccf325b1 100644
--- a/MOVED
+++ b/MOVED
@@ -4019,7 +4019,6 @@ devel/p5-VCP||2009-06-13|Removed
devel/ruby-p4||2009-06-13|Removed
devel/tcl-trf||2009-06-13|Removed
games/fgsd||2009-06-13|Removed
-games/njam||2009-06-13|Removed
graphics/demeter||2009-06-13|Removed
irc/ircg||2009-06-13|Removed
mail/silkymail||2009-06-13|Removed
diff --git a/games/Makefile b/games/Makefile
index b053152fa508..b31fa1af2600 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -560,6 +560,7 @@
SUBDIR += nil
SUBDIR += nimuh
SUBDIR += ninix-aya
+ SUBDIR += njam
SUBDIR += noegnud-addons
SUBDIR += noegnud-data
SUBDIR += noegnud-littlehack
diff --git a/games/njam/Makefile b/games/njam/Makefile
new file mode 100644
index 000000000000..a4d463981c8b
--- /dev/null
+++ b/games/njam/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: njam
+# Date created: 10 November 2003
+# Whom: <janos.mohacsi@bsd.hu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= njam
+PORTVERSION= 1.25
+PORTREVISION= 3
+CATEGORIES= games
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Fast paced multiplayer pac-man clone
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D__linux__"
+USE_SDL= mixer image net sdl
+MAKE_JOBS_SAFE= yes
+PORTDOCS= *
+
+post-extract:
+ @${RM} -f ${WRKSRC}/src/*.o
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/var/lib/games|/var/games|' \
+ ${WRKSRC}/src/njam.cpp
+
+post-install:
+ ${CHOWN} :games ${PREFIX}/bin/njam
+ ${CHMOD} g+s ${PREFIX}/bin/njam
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/njam/distinfo b/games/njam/distinfo
new file mode 100644
index 000000000000..9cbf9120e4bf
--- /dev/null
+++ b/games/njam/distinfo
@@ -0,0 +1,3 @@
+MD5 (njam-1.25-src.tar.gz) = b49f65a0c5df83de85df4f985337e2eb
+SHA256 (njam-1.25-src.tar.gz) = fa3036da61a66eb6fb07ee646f8188f844595775ed9e92646b7bf61300c75b7b
+SIZE (njam-1.25-src.tar.gz) = 1822715
diff --git a/games/njam/pkg-descr b/games/njam/pkg-descr
new file mode 100644
index 000000000000..701c49159fe8
--- /dev/null
+++ b/games/njam/pkg-descr
@@ -0,0 +1,15 @@
+Njam is fast-paced cross-platform pac-man-like game. In this arcade you
+move through the maze eating cookies and collecting powerups while trying
+to avoid ghosts who chase you.
+Features:
+
+ * Single and multiplayer mode (local or network)
+ * Duel mode (players compete each other to get more points)
+ * Non-duel mode (players cooperate to finish as many levels as they can)
+ * Great music and sound effects
+ * Customizable level skins
+ * Many different levels
+ * Integrated level editor
+ * Open Source (GPL Licence)
+
+WWW: http://njam.sourceforge.net/
diff --git a/games/njam/pkg-plist b/games/njam/pkg-plist
new file mode 100644
index 000000000000..65e56dd439a8
--- /dev/null
+++ b/games/njam/pkg-plist
@@ -0,0 +1,115 @@
+bin/njam
+%%DATADIR%%/README
+%%DATADIR%%/data/50pts.wav
+%%DATADIR%%/data/bonus.wav
+%%DATADIR%%/data/dali.xm
+%%DATADIR%%/data/dead.wav
+%%DATADIR%%/data/dead2.wav
+%%DATADIR%%/data/dead3.wav
+%%DATADIR%%/data/enter-ip.jpg
+%%DATADIR%%/data/font-blue.bmp
+%%DATADIR%%/data/font-yellow.bmp
+%%DATADIR%%/data/freeze.wav
+%%DATADIR%%/data/gameover.jpg
+%%DATADIR%%/data/hiscore.jpg
+%%DATADIR%%/data/invisible.wav
+%%DATADIR%%/data/juice.wav
+%%DATADIR%%/data/kill.wav
+%%DATADIR%%/data/kill2.wav
+%%DATADIR%%/data/kill3.wav
+%%DATADIR%%/data/killply.wav
+%%DATADIR%%/data/levelset.jpg
+%%DATADIR%%/data/mainmenu.jpg
+%%DATADIR%%/data/mapend.wav
+%%DATADIR%%/data/mapend2.wav
+%%DATADIR%%/data/netsend.jpg
+%%DATADIR%%/data/network.bmp
+%%DATADIR%%/data/njamicon.bmp
+%%DATADIR%%/data/options.jpg
+%%DATADIR%%/data/ritam.s3m
+%%DATADIR%%/data/satisfy.xm
+%%DATADIR%%/data/script.txt
+%%DATADIR%%/data/sprites.bmp
+%%DATADIR%%/data/stats.jpg
+%%DATADIR%%/data/teleport.wav
+%%DATADIR%%/data/trapdoor.wav
+%%DATADIR%%/data/tripleding.wav
+%%DATADIR%%/data/win1.jpg
+%%DATADIR%%/data/win2.jpg
+%%DATADIR%%/data/win3.jpg
+%%DATADIR%%/data/win4.jpg
+%%DATADIR%%/data/winall.jpg
+%%DATADIR%%/hiscore.dat
+%%DATADIR%%/html/assassin.gif
+%%DATADIR%%/html/cookie.gif
+%%DATADIR%%/html/doc-editor.html
+%%DATADIR%%/html/doc.html
+%%DATADIR%%/html/doc2.html
+%%DATADIR%%/html/door.gif
+%%DATADIR%%/html/freezer.gif
+%%DATADIR%%/html/ghactive.gif
+%%DATADIR%%/html/ghinactive.gif
+%%DATADIR%%/html/hunter.gif
+%%DATADIR%%/html/invisible.gif
+%%DATADIR%%/html/juice.gif
+%%DATADIR%%/html/sample.gif
+%%DATADIR%%/html/shaddy.gif
+%%DATADIR%%/html/skin000.gif
+%%DATADIR%%/html/skin001.gif
+%%DATADIR%%/html/skin003.gif
+%%DATADIR%%/html/teleport.gif
+%%DATADIR%%/html/thinline.gif
+%%DATADIR%%/html/trap.gif
+%%DATADIR%%/levels/ALIS.COOP
+%%DATADIR%%/levels/ALISPLUS.COOP
+%%DATADIR%%/levels/ALLSFAIR.DUEL
+%%DATADIR%%/levels/BEAMTEAM.DUEL
+%%DATADIR%%/levels/BEAS.DUEL
+%%DATADIR%%/levels/BUCHI.COOP
+%%DATADIR%%/levels/BUCHI.DUEL
+%%DATADIR%%/levels/CASE.COOP
+%%DATADIR%%/levels/CAT.COOP
+%%DATADIR%%/levels/CLAASSYM.DUEL
+%%DATADIR%%/levels/DEADLYSPIRIT.DUEL
+%%DATADIR%%/levels/DRAGON.COOP
+%%DATADIR%%/levels/DULIO.DUEL
+%%DATADIR%%/levels/DUNGEON.COOP
+%%DATADIR%%/levels/EASY.COOP
+%%DATADIR%%/levels/EIKE.COOP
+%%DATADIR%%/levels/EIKE.DUEL
+%%DATADIR%%/levels/GAUNTLET.COOP
+%%DATADIR%%/levels/HUNT.DUEL
+%%DATADIR%%/levels/INSANIAC.COOP
+%%DATADIR%%/levels/KILLER.COOP
+%%DATADIR%%/levels/KILLER.DUEL
+%%DATADIR%%/levels/LABYRINTHE.COOP
+%%DATADIR%%/levels/LABYRINTHE.DUEL
+%%DATADIR%%/levels/LA_GINECAL.COOP
+%%DATADIR%%/levels/ONE4ALL.COOP
+%%DATADIR%%/levels/ORIGINAL.COOP
+%%DATADIR%%/levels/ORIGINAL.DUEL
+%%DATADIR%%/levels/PACMAN.DUEL
+%%DATADIR%%/levels/RAVENS CURSE.COOP
+%%DATADIR%%/levels/ROOMS.COOP
+%%DATADIR%%/levels/RUN.COOP
+%%DATADIR%%/levels/SNERTGAME.DUEL
+%%DATADIR%%/levels/SPIRITWORLD.COOP
+%%DATADIR%%/levels/STEPHANE.DUEL
+%%DATADIR%%/levels/TIME.COOP
+%%DATADIR%%/levels/TOTALY_IMPOSSIBLE.COOP
+%%DATADIR%%/levels/WEISSBIER.COOP
+%%DATADIR%%/levels/WOLF.COOP
+%%DATADIR%%/levels/readme.txt
+%%DATADIR%%/njam.conf
+%%DATADIR%%/njam.iss
+%%DATADIR%%/njam.rc
+%%DATADIR%%/njamicon.ico
+%%DATADIR%%/skins/Back000.bmp
+%%DATADIR%%/skins/Back001.bmp
+%%DATADIR%%/skins/Back002.bmp
+%%DATADIR%%/skins/Back003.bmp
+@dirrm %%DATADIR%%/skins
+@dirrm %%DATADIR%%/levels
+@dirrm %%DATADIR%%/html
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%