the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: dopewars
Version: 1.5.12
Revision: 1013
###
Depends: atk1-shlibs (>= 1.20.0-1), audiofile-shlibs, esound-shlibs (>= 0.2.38-1), glib2-shlibs (>= 2.14.0-1), gtk+2-shlibs (>= 2.12.0-1), gtk+2 (>= 2.12.0-1), libgettext3-shlibs, libiconv, libncurses5-shlibs, pango1-xft2-ft219-shlibs (>= 1.18.4-4), sdl-shlibs, x11
BuildDepends: cairo (>= 1.6-1), glitz, expat1, libpng3, atk1 (>= 1.20.0-1), audiofile, esound (>= 0.2.38-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>= 2.3.5-1), glib2-dev (>= 2.14.0-1), gtk+2-dev (>= 2.12.0-1), libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, libncurses5, gtk-doc (>= 1.8-1), pixman (>= 0.10.0-1), pango1-xft2-ft219-dev (>= 1.18.4-4), sdl, x11-dev, xft2-dev, pkgconfig (>= 0.21-1)
###
#GCC: 4.0
###
Source: mirror:sourceforge:dopewars/%n-%v.tar.gz
Source-MD5: debf749de9053dc2fb2e74c37ae06206
###
PatchScript: <<
## Fix Darwin relinking
perl -pi -e 's,need_relink=yes,need_relink=no,g' ltmain.sh
## Remvome Depends build since we are using fink
perl -pi -e 's, \$\(dopewars_DEPENDENCIES\),,g' src/Makefile.in
## Fix Darwin plugins
perl -pi -e 's,LIBADD =,LIBADD = -module -avoid-version,g' src/plugins/Makefile.in
<<
###
SetCPPFLAGS: -I%p/lib/pango-ft219/include/pango-1.0 -I%p/lib/pango-ft219/include -I%p/lib/freetype219/include/freetype2 -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
SetLIBS: -L%p/lib
SetCFLAGS: -Os -pipe
# --without-sdl
ConfigureParams: --enable-curses-client --enable-gui-server --enable-gui-client --enable-networking --enable-plugins --with-pic -enable-shared --enable-static --disable-dependency-tracking --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib --disable-sdltest
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
./configure %c
make
<<
###
DocFiles: ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO
ConfFiles: %p/var/dopewars.sco
###
Description: Drug dealing game set in New York
DescDetail: <<
Dopewars is a UNIX rewrite of the MS-DOS program of the same name, which
in turn was inspired by John E. Dell's "Drug Wars" game. You have one month
to buy and sell drugs on the streets of New York, the aim being first to
pay off your debt to the loan shark and then to make a fortune. And if you
have to shoot a few cops in the process, well... The game includes TCP
networking allowing you to meet (and shoot) other human drug dealers.
Computer drug dealers are currently in development.
<<
###
License: GPL
Maintainer: Justin F. Hallett
Homepage: http://dopewars.sourceforge.net/
diff -ruN dopewars-1.5.9.orig/ltmain.sh dopewars-1.5.9/ltmain.sh
--- dopewars-1.5.9.orig/ltmain.sh Mon Jun 2 11:40:22 2003
+++ dopewars-1.5.9/ltmain.sh Thu Nov 6 14:18:00 2003
@@ -1772,7 +1772,7 @@
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
+ need_relink=no
fi
if test -n "$old_archive_from_expsyms_cmds"; then
diff -ruN dopewars-1.5.9.orig/src/Makefile.in dopewars-1.5.9/src/Makefile.in
--- dopewars-1.5.9.orig/src/Makefile.in Fri Jun 6 13:19:22 2003
+++ dopewars-1.5.9/src/Makefile.in Thu Nov 6 14:09:52 2003
@@ -245,7 +245,7 @@
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
-dopewars$(EXEEXT): $(dopewars_OBJECTS) $(dopewars_DEPENDENCIES)
+dopewars$(EXEEXT): $(dopewars_OBJECTS)
@rm -f dopewars$(EXEEXT)
$(LINK) $(dopewars_LDFLAGS) $(dopewars_OBJECTS) $(dopewars_LDADD) $(LIBS)
diff -ruN dopewars-1.5.9.orig/src/plugins/Makefile.in dopewars-1.5.9/src/plugins/Makefile.in
--- dopewars-1.5.9.orig/src/plugins/Makefile.in Fri Jun 6 13:19:23 2003
+++ dopewars-1.5.9/src/plugins/Makefile.in Thu Nov 6 14:21:50 2003
@@ -152,14 +152,14 @@
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)
-libsound_esd_la_LIBADD =
+libsound_esd_la_LIBADD = -module -avoid-version
am_libsound_esd_la_OBJECTS = sound_esd.lo
libsound_esd_la_OBJECTS = $(am_libsound_esd_la_OBJECTS)
-libsound_sdl_la_LIBADD =
+libsound_sdl_la_LIBADD = -module -avoid-version
am_libsound_sdl_la_OBJECTS = sound_sdl.lo
libsound_sdl_la_OBJECTS = $(am_libsound_sdl_la_OBJECTS)
libsound_winmm_la_LDFLAGS =
-libsound_winmm_la_LIBADD =
+libsound_winmm_la_LIBADD = -module -avoid-version
am_libsound_winmm_la_OBJECTS = sound_winmm.lo
libsound_winmm_la_OBJECTS = $(am_libsound_winmm_la_OBJECTS)
Package: dopewars
Version: 1.5.12
Revision: 1013
###
Depends: atk1-shlibs (>= 1.20.0-1), audiofile-shlibs, esound-shlibs (>= 0.2.38-1), glib2-shlibs (>= 2.14.0-1), gtk+2-shlibs (>= 2.12.0-1), gtk+2 (>= 2.12.0-1), libgettext3-shlibs, libiconv, libncurses5-shlibs, pango1-xft2-ft219-shlibs (>= 1.18.4-4), sdl-shlibs, x11
BuildDepends: cairo (>= 1.6-1), glitz, expat1, libpng3, atk1 (>= 1.20.0-1), audiofile, esound (>= 0.2.38-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>= 2.3.5-1), glib2-dev (>= 2.14.0-1), gtk+2-dev (>= 2.12.0-1), libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, libncurses5, gtk-doc (>= 1.8-1), pixman (>= 0.10.0-1), pango1-xft2-ft219-dev (>= 1.18.4-4), sdl, x11-dev, xft2-dev, pkgconfig (>= 0.21-1)
###
#GCC: 4.0
###
Source: mirror:sourceforge:dopewars/%n-%v.tar.gz
Source-MD5: debf749de9053dc2fb2e74c37ae06206
###
PatchScript: <<
## Fix Darwin relinking
perl -pi -e 's,need_relink=yes,need_relink=no,g' ltmain.sh
## Remvome Depends build since we are using fink
perl -pi -e 's, \$\(dopewars_DEPENDENCIES\),,g' src/Makefile.in
## Fix Darwin plugins
perl -pi -e 's,LIBADD =,LIBADD = -module -avoid-version,g' src/plugins/Makefile.in
<<
###
SetCPPFLAGS: -I%p/lib/pango-ft219/include/pango-1.0 -I%p/lib/pango-ft219/include -I%p/lib/freetype219/include/freetype2 -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
SetLIBS: -L%p/lib
SetCFLAGS: -Os -pipe
# --without-sdl
ConfigureParams: --enable-curses-client --enable-gui-server --enable-gui-client --enable-networking --enable-plugins --with-pic -enable-shared --enable-static --disable-dependency-tracking --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib --disable-sdltest
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
./configure %c
make
<<
###
DocFiles: ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO
ConfFiles: %p/var/dopewars.sco
###
Description: Drug dealing game set in New York
DescDetail: <<
Dopewars is a UNIX rewrite of the MS-DOS program of the same name, which
in turn was inspired by John E. Dell's "Drug Wars" game. You have one month
to buy and sell drugs on the streets of New York, the aim being first to
pay off your debt to the loan shark and then to make a fortune. And if you
have to shoot a few cops in the process, well... The game includes TCP
networking allowing you to meet (and shoot) other human drug dealers.
Computer drug dealers are currently in development.
<<
###
License: GPL
Maintainer: Justin F. Hallett
Homepage: http://dopewars.sourceforge.net/