pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tuxpaint-config Use BSD_INSTALL_*.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/899024a6b3ae
branches:  trunk
changeset: 481572:899024a6b3ae
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 07 15:40:23 2004 +0000

description:
Use BSD_INSTALL_*.

diffstat:

 graphics/tuxpaint-config/Makefile         |   3 +-
 graphics/tuxpaint-config/PLIST            |   4 +-
 graphics/tuxpaint-config/distinfo         |   4 +-
 graphics/tuxpaint-config/patches/patch-aa |  57 +++++++++++++++++++++++++++++-
 4 files changed, 60 insertions(+), 8 deletions(-)

diffs (111 lines):

diff -r 72e1b4d7d8bf -r 899024a6b3ae graphics/tuxpaint-config/Makefile
--- a/graphics/tuxpaint-config/Makefile Thu Oct 07 15:32:56 2004 +0000
+++ b/graphics/tuxpaint-config/Makefile Thu Oct 07 15:40:23 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/07 15:40:23 wiz Exp $
 #
 
 DISTNAME=              tuxpaint-config-0.0.5
@@ -12,7 +12,6 @@
 USE_BUILDLINK3=                YES
 USE_GNU_TOOLS+=                make
 USE_X11=               YES
-MANCOMPRESSED=         YES
 
 post-install:
        -${FIND} ${PREFIX}/share/tuxpaint-config -name CVS -exec ${RM} -r {} \; 2>/dev/null
diff -r 72e1b4d7d8bf -r 899024a6b3ae graphics/tuxpaint-config/PLIST
--- a/graphics/tuxpaint-config/PLIST    Thu Oct 07 15:32:56 2004 +0000
+++ b/graphics/tuxpaint-config/PLIST    Thu Oct 07 15:40:23 2004 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/10/07 15:40:23 wiz Exp $
 bin/tuxpaint-config
-man/man1/tuxpaint-config.1.gz
+man/man1/tuxpaint-config.1
 share/doc/tuxpaint-config/AUTHORS.txt
 share/doc/tuxpaint-config/CHANGES.txt
 share/doc/tuxpaint-config/COPYING.txt
diff -r 72e1b4d7d8bf -r 899024a6b3ae graphics/tuxpaint-config/distinfo
--- a/graphics/tuxpaint-config/distinfo Thu Oct 07 15:32:56 2004 +0000
+++ b/graphics/tuxpaint-config/distinfo Thu Oct 07 15:40:23 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/10/07 15:40:23 wiz Exp $
 
 SHA1 (tuxpaint-config-0.0.5.tar.gz) = fc3056b24743377366cef630584cd5cb7262dc55
 Size (tuxpaint-config-0.0.5.tar.gz) = 82736 bytes
-SHA1 (patch-aa) = 4e18cd02cc146087f1a899e0fb80a57012908e16
+SHA1 (patch-aa) = 033b4cf539b1fff0039575249c402fb3258c321b
diff -r 72e1b4d7d8bf -r 899024a6b3ae graphics/tuxpaint-config/patches/patch-aa
--- a/graphics/tuxpaint-config/patches/patch-aa Thu Oct 07 15:32:56 2004 +0000
+++ b/graphics/tuxpaint-config/patches/patch-aa Thu Oct 07 15:40:23 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2004/10/07 15:40:23 wiz Exp $
 
 --- Makefile.orig      2004-09-11 11:59:03.000000000 +0200
 +++ Makefile
@@ -39,7 +39,60 @@
        @echo
        @echo "All done! Now (preferably NOT as 'root' superuser),"
        @echo "you can type the command 'tuxpaint-config' to run the"
-@@ -245,7 +244,7 @@ install-man:
+@@ -190,8 +189,7 @@ install-icon:
+ install-bin:
+       @echo
+       @echo "...Installing program itself..."
+-      cp tuxpaint-config $(BIN_PREFIX)
+-      chmod a+rx,g-w,o-w $(BIN_PREFIX)/tuxpaint-config
++      ${BSD_INSTALL_PROGRAM} tuxpaint-config $(BIN_PREFIX)
+ 
+ 
+ # Install the data (sound, graphics, fonts):
+@@ -199,7 +197,7 @@ install-bin:
+ install-data:
+       @echo
+       @echo "...Installing data files..."
+-      install -d $(DATA_PREFIX)
++      ${BSD_INSTALL_DATA_DIR} $(DATA_PREFIX)
+       cp -R data/* $(DATA_PREFIX)
+       chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
+ 
+@@ -218,26 +216,20 @@ install-doc:
+       @echo
+       @echo "...Installing documentation..."
+       @echo "(English)"
+-      install -d $(DOC_PREFIX)
+-      cp docs/AUTHORS.txt $(DOC_PREFIX)
+-      cp docs/CHANGES.txt $(DOC_PREFIX)
+-      cp docs/COPYING.txt $(DOC_PREFIX)
+-      cp docs/README.txt $(DOC_PREFIX)
+-      cp docs/TODO.txt $(DOC_PREFIX)
+-      @echo "(...Setting permissions)"
+-      chmod a+rx,g-w,o-w $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA_DIR} $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA} docs/AUTHORS.txt $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA} docs/CHANGES.txt $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA} docs/COPYING.txt $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA} docs/README.txt $(DOC_PREFIX)
++      ${BSD_INSTALL_DATA} docs/TODO.txt $(DOC_PREFIX)
+ 
+ 
+ # Install the man page:
+ 
+ install-man:
+       @echo "...Installing man pages..."
+-      # man1 directory...
+-      install -d $(MAN_PREFIX)/man1/
+       # tuxpaint-config.1
+-      cp src/tuxpaint-config.1 $(MAN_PREFIX)/man1/
+-      gzip -f $(MAN_PREFIX)/man1/tuxpaint-config.1
+-      chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint-config.1.gz
++      ${BSD_INSTALL_MAN} src/tuxpaint-config.1 $(MAN_PREFIX)/man1/
+ 
+ 
+ # Build the program!
+@@ -245,7 +237,7 @@ install-man:
  tuxpaint-config:      obj/tuxpaint-config.o obj/tuxpaint-config2.o    \
                        obj/defaults.o
        $(CXX) $(CFLAGS) -o tuxpaint-config obj/tuxpaint-config.o       \



Home | Main Index | Thread Index | Old Index