pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Can we get Gargoyle packaged?



New to pkgsrc, I apologize in advance if this is not how this is done.

Gargoyle, a kind of interpreter for many kinds of Interactive Fiction builds pretty excellently on NetBSD with just a few changes to some of it's build files. (Mainly Jamrules). Ive attached a patch of the changes I had to make to get it to build with Jam. Ive not made much headway in building my own pkgsrc package yet, but id love to see it get into the repository.

http://ccxvii.net/gargoyle/
https://github.com/garglk/garglk

diff Jamrules.old Jamrules.new
8a9
> STATIC = yes ;
102a104,120
>     case NETBSD :
>         Echo "OS is NETBSD ($(GUILIB))" ;
>         PKGCONFIG = "pkg-config freetype2 gtk+-x11-2.0 gdk-x11-2.0 gobject-2.0 glib-2.0 fontconfig libpng16" ;
> 
>         GARGLKCCFLAGS = "`$(PKGCONFIG) --cflags`" -fPIC ;
>         GARGLKLIBS = "`$(PKGCONFIG) --libs`" -ljpeg -lz ;
>         LINKLIBS = -lz -lm "`$(PKGCONFIG) --libs`" ;
> 
>         if $(USESDL) = yes
>         {
>             GARGLKCCFLAGS += -I/usr/pkg/include/SDL ;
>             GARGLKLIBS += -lSDL_mixer -lSDL_sound -lSDL -lsmpeg -lvorbisfile ;
>         }
> 
>         if $(STATIC) { LINKLIBS += $(GARGLKLIBS) ; }
>         else      { SHRLINKLIBS += $(GARGLKLIBS) ; }
> 
Only in garglk-stable-2011.1.old: build
Common subdirectories: garglk-stable-2011.1/fonts and garglk-stable-2011.1.old/fonts
Common subdirectories: garglk-stable-2011.1/garglk and garglk-stable-2011.1.old/garglk
Common subdirectories: garglk-stable-2011.1/licenses and garglk-stable-2011.1.old/licenses
Common subdirectories: garglk-stable-2011.1/support and garglk-stable-2011.1.old/support
Common subdirectories: garglk-stable-2011.1/tads and garglk-stable-2011.1.old/tads
Common subdirectories: garglk-stable-2011.1/terps and garglk-stable-2011.1.old/terps


Home | Main Index | Thread Index | Old Index