[BACK]Return to patch-Makefile.in CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / xgalaga / patches

Annotation of pkgsrc/games/xgalaga/patches/patch-Makefile.in, Revision 1.1

1.1     ! nia         1: $NetBSD$
        !             2:
        !             3: Correct installation paths.
        !             4:
        !             5: --- Makefile.in.orig   2008-03-05 21:58:16.000000000 +0000
        !             6: +++ Makefile.in
        !             7: @@ -11,12 +11,13 @@ VPATH = @srcdir@
        !             8:  .SUFFIXES: .c .o
        !             9:
        !            10:  prefix = @prefix@
        !            11: +datadir = @datadir@/xgalaga
        !            12: +docdir = @docdir@/xgalaga
        !            13:  exec_prefix = @exec_prefix@
        !            14:  bindir = $(exec_prefix)
        !            15:  libdir = $(prefix)/lib
        !            16:  infodir = $(prefix)/info
        !            17: -#mandir = @mandir@
        !            18: -mandir = /usr/share/man
        !            19: +mandir = @mandir@
        !            20:  creditsfile = @CREDITSFILE@
        !            21:  distversion = 2.1.1.0
        !            22:
        !            23: @@ -27,11 +28,11 @@ SOUNDSRVDIR = @SOUNDSRVDIR@
        !            24:  SOUNDOBJS = xgal.sndsrv.linux.o
        !            25:  SOUNDSRCS = xgal.sndsrv.linux.c
        !            26:
        !            27: -SOUNDDEFS = -DSOUNDSERVER=\"$(prefix)$(SOUNDSRVDIR)/@SOUNDSERVER@\"
        !            28: +SOUNDDEFS = -DSOUNDSERVER=\"$(prefix)$(SOUNDSRVDIR)/xgal.sndsrv\"
        !            29:
        !            30:  RM = rm -f
        !            31:  CC = @CC@
        !            32: -CFLAGS = -I. @CFLAGS@ @DEFS@ @X_CFLAGS@ -DXGALAGADIR=\"@prefix@/\" $(SOUNDDEFS)
        !            33: +CFLAGS = -I. @CFLAGS@ @DEFS@ @X_CFLAGS@ -DXGALAGADIR=\"@datadir@/xgalaga/levels\" $(SOUNDDEFS)
        !            34:  LDFLAGS = @LDFLAGS@
        !            35:  LIBS = libsprite/libsprite.a @LIBS@ @X_LIBS@
        !            36:  INSTALL = @INSTALL@
        !            37: @@ -58,15 +59,16 @@ install: all
        !            38:        $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
        !            39:        $(INSTALL) $(TARGET2) $(DESTDIR)$(bindir)/$(TARGET2)
        !            40:        if test ! "$(SOUNDSRV)" = ""; then \
        !            41: -              $(INSTALL) $(SOUNDSRV) $(DESTDIR)$(prefix)$(SOUNDSRVDIR)/$(SOUNDSRV); \
        !            42: +              $(INSTALL) $(SOUNDSRV) $(DESTDIR)$(prefix)$(SOUNDSRVDIR)/xgal.sndsrv; \
        !            43:        fi
        !            44: -      ./mkinstalldirs $(DESTDIR)$(prefix)/sounds
        !            45: -      ./mkinstalldirs $(DESTDIR)$(prefix)/levels
        !            46: -      for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
        !            47: -      for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
        !            48: -      $(INSTALL) CREDITS $(DESTDIR)$(creditsfile)
        !            49: -      $(INSTALL) xgalaga.6x.gz $(mandir)/man6/xgalaga.6x.gz
        !            50: -      chmod 644 $(mandir)/man6/xgalaga.6x.gz
        !            51: +      ./mkinstalldirs $(DESTDIR)$(datadir)/sounds
        !            52: +      ./mkinstalldirs $(DESTDIR)$(datadir)/levels
        !            53: +      for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(datadir)/$$i ; done
        !            54: +      for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(datadir)/$$i ; done
        !            55: +      ./mkinstalldirs $(DESTDIR)$(docdir)
        !            56: +      $(INSTALL) CREDITS $(DESTDIR)$(docdir)/CREDITS
        !            57: +      $(INSTALL) xgalaga.6x $(DESTDIR)$(mandir)/man6/xgalaga.6x
        !            58: +      chmod 644 $(DESTDIR)$(mandir)/man6/xgalaga.6x
        !            59:  #     touch $(prefix)/scores
        !            60:  #     chmod 666 $(prefix)/scores
        !            61:  #       chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores

CVSweb <webmaster@jp.NetBSD.org>