aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/freesynd/Makefile36
-rw-r--r--games/freesynd/distinfo3
-rw-r--r--games/freesynd/files/freesynd.sh.in5
-rw-r--r--games/freesynd/files/patch-src-Makefile15
-rw-r--r--games/freesynd/pkg-descr4
-rw-r--r--games/freesynd/pkg-plist389
7 files changed, 453 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index fc8c91916fbf..3d99336b120a 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -226,6 +226,7 @@
SUBDIR += freera
SUBDIR += freesci
SUBDIR += freesweep
+ SUBDIR += freesynd
SUBDIR += freetennis
SUBDIR += fretsonfire
SUBDIR += fretsonfire-data
diff --git a/games/freesynd/Makefile b/games/freesynd/Makefile
new file mode 100644
index 000000000000..1eefce71b582
--- /dev/null
+++ b/games/freesynd/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: freesynd
+# Date created: 2007-05-27
+# Whom: Lars Engels <lars.engels@0x20.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freesynd
+PORTVERSION= 0.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= freesynd
+
+MAINTAINER= lars.engels@0x20.net
+COMMENT= FreeSynd GPLed reimplementation of the classic Bullfrog game Syndicate
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+USE_GMAKE= yes
+USE_ZIP= yes
+USE_SDL= sdl mixer
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+
+SUB_FILES= freesynd.sh
+
+do-install:
+ ${MKDIR} ${DATADIR}/data
+ ${INSTALL_PROGRAM} ${WRKSRC}/freesynd ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/freesynd.sh ${PREFIX}/bin
+ ${CP} ${WRKDIR}/${PORTNAME}/assassinate.mp3 ${DATADIR}
+.for datafile in ${WRKDIR}/${PORTNAME}/data/*
+ ${INSTALL_DATA} ${WRKDIR}/${datafile} ${DATADIR}/data
+.endfor
+
+.include <bsd.port.mk>
diff --git a/games/freesynd/distinfo b/games/freesynd/distinfo
new file mode 100644
index 000000000000..7a392856571b
--- /dev/null
+++ b/games/freesynd/distinfo
@@ -0,0 +1,3 @@
+MD5 (freesynd-0.2.zip) = e51dab2a2783ae9cc522b8fa363aa420
+SHA256 (freesynd-0.2.zip) = 41a7df4ee16cf69e3933c609e6d8863b816a66028069293eb028ab076bd522aa
+SIZE (freesynd-0.2.zip) = 11711244
diff --git a/games/freesynd/files/freesynd.sh.in b/games/freesynd/files/freesynd.sh.in
new file mode 100644
index 000000000000..6fd08fce7969
--- /dev/null
+++ b/games/freesynd/files/freesynd.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+%%PREFIX%%/share/freesynd/freesynd -p %%PREFIX%%/share/freesynd/data/ "$@"
+
+exit 0
diff --git a/games/freesynd/files/patch-src-Makefile b/games/freesynd/files/patch-src-Makefile
new file mode 100644
index 000000000000..3a9f422f100f
--- /dev/null
+++ b/games/freesynd/files/patch-src-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Sun May 27 15:52:04 2007
++++ Makefile Sun May 27 15:52:29 2007
+@@ -37,10 +37,10 @@
+ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SDL_LIBS) $(SDL_MIXER_LIBS) -lpng
+
+ $(DUMP_TARGET): $(DUMP_OBJS)
+- $(CXX) $(LDFLAGS) -o $@ $(DUMP_OBJS) -lpng
++ $(CXX) $(LDFLAGS) -o $@ $(DUMP_OBJS) -lpng -L/usr/local/lib
+
+ $(DUMPMAPS_TARGET): $(DUMPMAPS_OBJS)
+- $(CXX) $(LDFLAGS) -o $@ $(DUMPMAPS_OBJS) -lpng
++ $(CXX) $(LDFLAGS) -o $@ $(DUMPMAPS_OBJS) -lpng -L/usr/local/lib
+
+ .cpp.o:
+ $(CXX) $(CXXFLAGS) -MMD -c $< -o $*.o
diff --git a/games/freesynd/pkg-descr b/games/freesynd/pkg-descr
new file mode 100644
index 000000000000..1fc658286a36
--- /dev/null
+++ b/games/freesynd/pkg-descr
@@ -0,0 +1,4 @@
+FreeSynd is a cross-platform, GPLed reimplementation of the classic
+Bullfrog game, Syndicate.
+
+WWW: http://freesynd.sourceforge.net/
diff --git a/games/freesynd/pkg-plist b/games/freesynd/pkg-plist
new file mode 100644
index 000000000000..6761c9921a5c
--- /dev/null
+++ b/games/freesynd/pkg-plist
@@ -0,0 +1,389 @@
+bin/freesynd.sh
+%%DATADIR%%/assassinate.mp3
+%%DATADIR%%/data/col01.dat
+%%DATADIR%%/data/game01.dat
+%%DATADIR%%/data/game02.dat
+%%DATADIR%%/data/game03.dat
+%%DATADIR%%/data/game04.dat
+%%DATADIR%%/data/game05.dat
+%%DATADIR%%/data/game06.dat
+%%DATADIR%%/data/game07.dat
+%%DATADIR%%/data/game08.dat
+%%DATADIR%%/data/game09.dat
+%%DATADIR%%/data/game10.dat
+%%DATADIR%%/data/game11.dat
+%%DATADIR%%/data/game12.dat
+%%DATADIR%%/data/game13.dat
+%%DATADIR%%/data/game14.dat
+%%DATADIR%%/data/game15.dat
+%%DATADIR%%/data/game16.dat
+%%DATADIR%%/data/game17.dat
+%%DATADIR%%/data/game18.dat
+%%DATADIR%%/data/game19.dat
+%%DATADIR%%/data/game20.dat
+%%DATADIR%%/data/game21.dat
+%%DATADIR%%/data/game22.dat
+%%DATADIR%%/data/game23.dat
+%%DATADIR%%/data/game24.dat
+%%DATADIR%%/data/game25.dat
+%%DATADIR%%/data/game26.dat
+%%DATADIR%%/data/game27.dat
+%%DATADIR%%/data/game28.dat
+%%DATADIR%%/data/game29.dat
+%%DATADIR%%/data/game30.dat
+%%DATADIR%%/data/game31.dat
+%%DATADIR%%/data/game32.dat
+%%DATADIR%%/data/game33.dat
+%%DATADIR%%/data/game34.dat
+%%DATADIR%%/data/game35.dat
+%%DATADIR%%/data/game36.dat
+%%DATADIR%%/data/game37.dat
+%%DATADIR%%/data/game38.dat
+%%DATADIR%%/data/game39.dat
+%%DATADIR%%/data/game40.dat
+%%DATADIR%%/data/game41.dat
+%%DATADIR%%/data/game42.dat
+%%DATADIR%%/data/game43.dat
+%%DATADIR%%/data/game44.dat
+%%DATADIR%%/data/game45.dat
+%%DATADIR%%/data/game46.dat
+%%DATADIR%%/data/game47.dat
+%%DATADIR%%/data/game48.dat
+%%DATADIR%%/data/game49.dat
+%%DATADIR%%/data/game50.dat
+%%DATADIR%%/data/game90.dat
+%%DATADIR%%/data/game91.dat
+%%DATADIR%%/data/game92.dat
+%%DATADIR%%/data/game93.dat
+%%DATADIR%%/data/game94.dat
+%%DATADIR%%/data/game95.dat
+%%DATADIR%%/data/game96.dat
+%%DATADIR%%/data/game97.dat
+%%DATADIR%%/data/game98.dat
+%%DATADIR%%/data/game99.dat
+%%DATADIR%%/data/hblk01.dat
+%%DATADIR%%/data/hele-0.ani
+%%DATADIR%%/data/hele-0.txt
+%%DATADIR%%/data/hfnt01.dat
+%%DATADIR%%/data/hfra-0.ani
+%%DATADIR%%/data/hfra-0.txt
+%%DATADIR%%/data/hpal01.dat
+%%DATADIR%%/data/hpal02.dat
+%%DATADIR%%/data/hpal03.dat
+%%DATADIR%%/data/hpal04.dat
+%%DATADIR%%/data/hpal05.dat
+%%DATADIR%%/data/hpalette.dat
+%%DATADIR%%/data/hpointer.dat
+%%DATADIR%%/data/hpointer.tab
+%%DATADIR%%/data/hreq.dat
+%%DATADIR%%/data/hspr-0.dat
+%%DATADIR%%/data/hspr-0.tab
+%%DATADIR%%/data/hsta-0.ani
+%%DATADIR%%/data/hsta-0.txt
+%%DATADIR%%/data/intro.dat
+%%DATADIR%%/data/intro.xmi
+%%DATADIR%%/data/isnds-0.dat
+%%DATADIR%%/data/isnds-0.tab
+%%DATADIR%%/data/isnds-1.dat
+%%DATADIR%%/data/isnds-1.tab
+%%DATADIR%%/data/map01.dat
+%%DATADIR%%/data/map02.dat
+%%DATADIR%%/data/map03.dat
+%%DATADIR%%/data/map04.dat
+%%DATADIR%%/data/map05.dat
+%%DATADIR%%/data/map06.dat
+%%DATADIR%%/data/map07.dat
+%%DATADIR%%/data/map08.dat
+%%DATADIR%%/data/map09.dat
+%%DATADIR%%/data/map10.dat
+%%DATADIR%%/data/map11.dat
+%%DATADIR%%/data/map12.dat
+%%DATADIR%%/data/map13.dat
+%%DATADIR%%/data/map15.dat
+%%DATADIR%%/data/map16.dat
+%%DATADIR%%/data/map17.dat
+%%DATADIR%%/data/map18.dat
+%%DATADIR%%/data/map19.dat
+%%DATADIR%%/data/map20.dat
+%%DATADIR%%/data/map21.dat
+%%DATADIR%%/data/map31.dat
+%%DATADIR%%/data/map32.dat
+%%DATADIR%%/data/map34.dat
+%%DATADIR%%/data/map35.dat
+%%DATADIR%%/data/map37.dat
+%%DATADIR%%/data/map38.dat
+%%DATADIR%%/data/map39.dat
+%%DATADIR%%/data/map40.dat
+%%DATADIR%%/data/map41.dat
+%%DATADIR%%/data/map43.dat
+%%DATADIR%%/data/map50.dat
+%%DATADIR%%/data/map51.dat
+%%DATADIR%%/data/map52.dat
+%%DATADIR%%/data/map53.dat
+%%DATADIR%%/data/map54.dat
+%%DATADIR%%/data/map55.dat
+%%DATADIR%%/data/map56.dat
+%%DATADIR%%/data/map57.dat
+%%DATADIR%%/data/map58.dat
+%%DATADIR%%/data/map60.dat
+%%DATADIR%%/data/map61.dat
+%%DATADIR%%/data/map62.dat
+%%DATADIR%%/data/map63.dat
+%%DATADIR%%/data/map64.dat
+%%DATADIR%%/data/map65.dat
+%%DATADIR%%/data/map66.dat
+%%DATADIR%%/data/map67.dat
+%%DATADIR%%/data/map70.dat
+%%DATADIR%%/data/map71.dat
+%%DATADIR%%/data/map72.dat
+%%DATADIR%%/data/map73.dat
+%%DATADIR%%/data/map80.dat
+%%DATADIR%%/data/map81.dat
+%%DATADIR%%/data/map82.dat
+%%DATADIR%%/data/map90.dat
+%%DATADIR%%/data/map91.dat
+%%DATADIR%%/data/map92.dat
+%%DATADIR%%/data/map93.dat
+%%DATADIR%%/data/map94.dat
+%%DATADIR%%/data/mbrief.dat
+%%DATADIR%%/data/mbrieout.dat
+%%DATADIR%%/data/mconfout.dat
+%%DATADIR%%/data/mconfup.dat
+%%DATADIR%%/data/mconscr.dat
+%%DATADIR%%/data/mdebrief.dat
+%%DATADIR%%/data/mdeout.dat
+%%DATADIR%%/data/mendlose.dat
+%%DATADIR%%/data/mendwin.dat
+%%DATADIR%%/data/mfnt-0.dat
+%%DATADIR%%/data/mfnt-0.tab
+%%DATADIR%%/data/mgamewin.dat
+%%DATADIR%%/data/miss01.dat
+%%DATADIR%%/data/miss02.dat
+%%DATADIR%%/data/miss03.dat
+%%DATADIR%%/data/miss04.dat
+%%DATADIR%%/data/miss05.dat
+%%DATADIR%%/data/miss06.dat
+%%DATADIR%%/data/miss07.dat
+%%DATADIR%%/data/miss08.dat
+%%DATADIR%%/data/miss09.dat
+%%DATADIR%%/data/miss10.dat
+%%DATADIR%%/data/miss101.dat
+%%DATADIR%%/data/miss102.dat
+%%DATADIR%%/data/miss103.dat
+%%DATADIR%%/data/miss104.dat
+%%DATADIR%%/data/miss105.dat
+%%DATADIR%%/data/miss106.dat
+%%DATADIR%%/data/miss107.dat
+%%DATADIR%%/data/miss108.dat
+%%DATADIR%%/data/miss109.dat
+%%DATADIR%%/data/miss11.dat
+%%DATADIR%%/data/miss110.dat
+%%DATADIR%%/data/miss111.dat
+%%DATADIR%%/data/miss112.dat
+%%DATADIR%%/data/miss113.dat
+%%DATADIR%%/data/miss114.dat
+%%DATADIR%%/data/miss115.dat
+%%DATADIR%%/data/miss116.dat
+%%DATADIR%%/data/miss117.dat
+%%DATADIR%%/data/miss118.dat
+%%DATADIR%%/data/miss119.dat
+%%DATADIR%%/data/miss12.dat
+%%DATADIR%%/data/miss120.dat
+%%DATADIR%%/data/miss121.dat
+%%DATADIR%%/data/miss122.dat
+%%DATADIR%%/data/miss123.dat
+%%DATADIR%%/data/miss124.dat
+%%DATADIR%%/data/miss125.dat
+%%DATADIR%%/data/miss126.dat
+%%DATADIR%%/data/miss127.dat
+%%DATADIR%%/data/miss128.dat
+%%DATADIR%%/data/miss129.dat
+%%DATADIR%%/data/miss13.dat
+%%DATADIR%%/data/miss130.dat
+%%DATADIR%%/data/miss131.dat
+%%DATADIR%%/data/miss132.dat
+%%DATADIR%%/data/miss133.dat
+%%DATADIR%%/data/miss134.dat
+%%DATADIR%%/data/miss135.dat
+%%DATADIR%%/data/miss136.dat
+%%DATADIR%%/data/miss137.dat
+%%DATADIR%%/data/miss138.dat
+%%DATADIR%%/data/miss139.dat
+%%DATADIR%%/data/miss14.dat
+%%DATADIR%%/data/miss140.dat
+%%DATADIR%%/data/miss141.dat
+%%DATADIR%%/data/miss142.dat
+%%DATADIR%%/data/miss143.dat
+%%DATADIR%%/data/miss144.dat
+%%DATADIR%%/data/miss145.dat
+%%DATADIR%%/data/miss146.dat
+%%DATADIR%%/data/miss147.dat
+%%DATADIR%%/data/miss148.dat
+%%DATADIR%%/data/miss149.dat
+%%DATADIR%%/data/miss15.dat
+%%DATADIR%%/data/miss150.dat
+%%DATADIR%%/data/miss16.dat
+%%DATADIR%%/data/miss17.dat
+%%DATADIR%%/data/miss18.dat
+%%DATADIR%%/data/miss19.dat
+%%DATADIR%%/data/miss20.dat
+%%DATADIR%%/data/miss201.dat
+%%DATADIR%%/data/miss202.dat
+%%DATADIR%%/data/miss203.dat
+%%DATADIR%%/data/miss204.dat
+%%DATADIR%%/data/miss205.dat
+%%DATADIR%%/data/miss206.dat
+%%DATADIR%%/data/miss207.dat
+%%DATADIR%%/data/miss208.dat
+%%DATADIR%%/data/miss209.dat
+%%DATADIR%%/data/miss21.dat
+%%DATADIR%%/data/miss210.dat
+%%DATADIR%%/data/miss211.dat
+%%DATADIR%%/data/miss212.dat
+%%DATADIR%%/data/miss213.dat
+%%DATADIR%%/data/miss214.dat
+%%DATADIR%%/data/miss215.dat
+%%DATADIR%%/data/miss216.dat
+%%DATADIR%%/data/miss217.dat
+%%DATADIR%%/data/miss218.dat
+%%DATADIR%%/data/miss219.dat
+%%DATADIR%%/data/miss22.dat
+%%DATADIR%%/data/miss220.dat
+%%DATADIR%%/data/miss221.dat
+%%DATADIR%%/data/miss222.dat
+%%DATADIR%%/data/miss223.dat
+%%DATADIR%%/data/miss224.dat
+%%DATADIR%%/data/miss225.dat
+%%DATADIR%%/data/miss226.dat
+%%DATADIR%%/data/miss227.dat
+%%DATADIR%%/data/miss228.dat
+%%DATADIR%%/data/miss229.dat
+%%DATADIR%%/data/miss23.dat
+%%DATADIR%%/data/miss230.dat
+%%DATADIR%%/data/miss231.dat
+%%DATADIR%%/data/miss232.dat
+%%DATADIR%%/data/miss233.dat
+%%DATADIR%%/data/miss234.dat
+%%DATADIR%%/data/miss235.dat
+%%DATADIR%%/data/miss236.dat
+%%DATADIR%%/data/miss237.dat
+%%DATADIR%%/data/miss238.dat
+%%DATADIR%%/data/miss239.dat
+%%DATADIR%%/data/miss24.dat
+%%DATADIR%%/data/miss240.dat
+%%DATADIR%%/data/miss241.dat
+%%DATADIR%%/data/miss242.dat
+%%DATADIR%%/data/miss243.dat
+%%DATADIR%%/data/miss244.dat
+%%DATADIR%%/data/miss245.dat
+%%DATADIR%%/data/miss246.dat
+%%DATADIR%%/data/miss247.dat
+%%DATADIR%%/data/miss248.dat
+%%DATADIR%%/data/miss249.dat
+%%DATADIR%%/data/miss25.dat
+%%DATADIR%%/data/miss250.dat
+%%DATADIR%%/data/miss26.dat
+%%DATADIR%%/data/miss27.dat
+%%DATADIR%%/data/miss28.dat
+%%DATADIR%%/data/miss29.dat
+%%DATADIR%%/data/miss30.dat
+%%DATADIR%%/data/miss301.dat
+%%DATADIR%%/data/miss302.dat
+%%DATADIR%%/data/miss303.dat
+%%DATADIR%%/data/miss304.dat
+%%DATADIR%%/data/miss305.dat
+%%DATADIR%%/data/miss306.dat
+%%DATADIR%%/data/miss307.dat
+%%DATADIR%%/data/miss308.dat
+%%DATADIR%%/data/miss309.dat
+%%DATADIR%%/data/miss31.dat
+%%DATADIR%%/data/miss310.dat
+%%DATADIR%%/data/miss311.dat
+%%DATADIR%%/data/miss312.dat
+%%DATADIR%%/data/miss313.dat
+%%DATADIR%%/data/miss314.dat
+%%DATADIR%%/data/miss315.dat
+%%DATADIR%%/data/miss316.dat
+%%DATADIR%%/data/miss317.dat
+%%DATADIR%%/data/miss318.dat
+%%DATADIR%%/data/miss319.dat
+%%DATADIR%%/data/miss32.dat
+%%DATADIR%%/data/miss320.dat
+%%DATADIR%%/data/miss321.dat
+%%DATADIR%%/data/miss322.dat
+%%DATADIR%%/data/miss323.dat
+%%DATADIR%%/data/miss324.dat
+%%DATADIR%%/data/miss325.dat
+%%DATADIR%%/data/miss326.dat
+%%DATADIR%%/data/miss327.dat
+%%DATADIR%%/data/miss328.dat
+%%DATADIR%%/data/miss329.dat
+%%DATADIR%%/data/miss33.dat
+%%DATADIR%%/data/miss330.dat
+%%DATADIR%%/data/miss331.dat
+%%DATADIR%%/data/miss332.dat
+%%DATADIR%%/data/miss333.dat
+%%DATADIR%%/data/miss334.dat
+%%DATADIR%%/data/miss335.dat
+%%DATADIR%%/data/miss336.dat
+%%DATADIR%%/data/miss337.dat
+%%DATADIR%%/data/miss338.dat
+%%DATADIR%%/data/miss339.dat
+%%DATADIR%%/data/miss34.dat
+%%DATADIR%%/data/miss340.dat
+%%DATADIR%%/data/miss341.dat
+%%DATADIR%%/data/miss342.dat
+%%DATADIR%%/data/miss343.dat
+%%DATADIR%%/data/miss344.dat
+%%DATADIR%%/data/miss345.dat
+%%DATADIR%%/data/miss346.dat
+%%DATADIR%%/data/miss347.dat
+%%DATADIR%%/data/miss348.dat
+%%DATADIR%%/data/miss349.dat
+%%DATADIR%%/data/miss35.dat
+%%DATADIR%%/data/miss350.dat
+%%DATADIR%%/data/miss36.dat
+%%DATADIR%%/data/miss37.dat
+%%DATADIR%%/data/miss38.dat
+%%DATADIR%%/data/miss39.dat
+%%DATADIR%%/data/miss40.dat
+%%DATADIR%%/data/miss41.dat
+%%DATADIR%%/data/miss42.dat
+%%DATADIR%%/data/miss43.dat
+%%DATADIR%%/data/miss44.dat
+%%DATADIR%%/data/miss45.dat
+%%DATADIR%%/data/miss46.dat
+%%DATADIR%%/data/miss47.dat
+%%DATADIR%%/data/miss48.dat
+%%DATADIR%%/data/miss49.dat
+%%DATADIR%%/data/miss50.dat
+%%DATADIR%%/data/mlogos.dat
+%%DATADIR%%/data/mlosa.dat
+%%DATADIR%%/data/mlosaout.dat
+%%DATADIR%%/data/mlosegam.dat
+%%DATADIR%%/data/mmap.dat
+%%DATADIR%%/data/mmapblk.dat
+%%DATADIR%%/data/mmapout.dat
+%%DATADIR%%/data/mminlogo.dat
+%%DATADIR%%/data/mmulti.dat
+%%DATADIR%%/data/mmultout.dat
+%%DATADIR%%/data/moption.dat
+%%DATADIR%%/data/moptout.dat
+%%DATADIR%%/data/mresout.dat
+%%DATADIR%%/data/mresrch.dat
+%%DATADIR%%/data/mscrenup.dat
+%%DATADIR%%/data/mselect.dat
+%%DATADIR%%/data/mselect.pal
+%%DATADIR%%/data/mselout.dat
+%%DATADIR%%/data/mspr-0.dat
+%%DATADIR%%/data/mspr-0.tab
+%%DATADIR%%/data/mtitle.dat
+%%DATADIR%%/data/sound-0.dat
+%%DATADIR%%/data/sound-0.tab
+%%DATADIR%%/data/sound-1.dat
+%%DATADIR%%/data/sound-1.tab
+%%DATADIR%%/data/syngame.xmi
+%%DATADIR%%/freesynd
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
+@dirrm share/freesynd