[BACK]Return to patch-aa CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / archivers / pdbar / patches

Annotation of pkgsrc/archivers/pdbar/patches/patch-aa, Revision 1.2

1.2     ! joerg       1: $NetBSD: patch-aa,v 1.1.1.1 2004/12/30 13:04:56 minskim Exp $
1.1       minskim     2:
                      3: --- Makefile.orig      2001-08-17 14:11:42.000000000 -0500
                      4: +++ Makefile
                      5: @@ -21,16 +21,11 @@
                      6:  #
                      7:  # created: djw@djw.org, January 2, 1999.
                      8:  #
                      9: -INSTALL_INCDIR = /usr/local/pilot/include
                     10: -INSTALL_LIBDIR = /usr/local/pilot/lib
                     11: -INSTALL_BINDIR = /usr/local/bin
                     12: -INSTALL_MANDIR = /usr/local/man/man1
                     13: -CC =     gcc
                     14: -CFLAGS = -g -I. -Wall
                     15: -LD =     gcc
                     16: -LDFLAGS = -g
                     17: -AR      = ar
                     18: -RANLIB  = ranlib
                     19: +INSTALL_INCDIR = ${PREFIX}/include
                     20: +INSTALL_LIBDIR = ${PREFIX}/lib
                     21: +INSTALL_BINDIR = ${PREFIX}/bin
                     22: +INSTALL_MANDIR = ${PREFIX}/man/man1
                     23: +LD    = ${CC}
                     24:
                     25:  CFILES = \
                     26:        create.c   \
                     27: @@ -140,19 +135,14 @@ parwin32.zip: $(WINFILES)
                     28:        rm -rf par
                     29:
                     30:  install: libprc.a prc.h par par.man
                     31: -      @test `whoami` = root || (echo "Must be root to install"; false)
                     32: -      mkdir -p $(INSTALL_INCDIR)
                     33: -      mkdir -p $(INSTALL_LIBDIR)
                     34: -      mkdir -p $(INSTALL_BINDIR)
                     35: -      mkdir -p $(INSTALL_MANDIR)
                     36: -      cp prc.h $(INSTALL_INCDIR)/prc.h
                     37: -      chmod 644 $(INSTALL_INCDIR)/prc.h
                     38: -      cp libprc.a $(INSTALL_LIBDIR)/libprc.a
                     39: -      chmod 644 $(INSTALL_LIBDIR)/libprc.a
                     40: -      cp par $(INSTALL_BINDIR)/par
                     41: -      chmod 755 $(INSTALL_BINDIR)/par
                     42: -      cp par.man $(INSTALL_MANDIR)/par.1
                     43: -      chmod 644 $(INSTALL_MANDIR)/par.1
1.2     ! joerg      44: +      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(INSTALL_INCDIR)
        !            45: +      ${BSD_INSTALL_LIB_DIR} ${DESTDIR}$(INSTALL_LIBDIR)
        !            46: +      ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}$(INSTALL_BINDIR)
        !            47: +      ${BSD_INSTALL_MAN_DIR} ${DESTDIR}$(INSTALL_MANDIR)
        !            48: +      ${BSD_INSTALL_DATA} prc.h ${DESTDIR}$(INSTALL_INCDIR)/prc.h
        !            49: +      ${BSD_INSTALL_LIB} libprc.a ${DESTDIR}$(INSTALL_LIBDIR)/libprc.a
        !            50: +      ${BSD_INSTALL_PROGRAM} par ${DESTDIR}$(INSTALL_BINDIR)/pdbar
        !            51: +      ${BSD_INSTALL_MAN} par.man ${DESTDIR}$(INSTALL_MANDIR)/pdbar.1
1.1       minskim    52:
                     53:  TAGS: $(PAR_CFILES) $(CFILES) $(HFILES)
                     54:        etags -r '/^prc[^(]*(/' $(PAR_CFILES) $(CFILES) $(HFILES)

CVSweb <webmaster@jp.NetBSD.org>