pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/screws Use "install -c" in Makefile so that the fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85f202e8305d
branches:  trunk
changeset: 480615:85f202e8305d
user:      he <he%pkgsrc.org@localhost>
date:      Thu Sep 16 18:45:09 2004 +0000

description:
Use "install -c" in Makefile so that the files remain in the source
tree for later use by the package's Makefile.

diffstat:

 www/screws/distinfo         |   3 ++-
 www/screws/patches/patch-aa |  42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r 0d5e869bf486 -r 85f202e8305d www/screws/distinfo
--- a/www/screws/distinfo       Thu Sep 16 17:57:02 2004 +0000
+++ b/www/screws/distinfo       Thu Sep 16 18:45:09 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/06/22 12:11:01 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2004/09/16 18:45:09 he Exp $
 
 SHA1 (screws-0.54.tar.gz) = 87114e17d14f092e943a3a29345a532cfa7e3ca5
 Size (screws-0.54.tar.gz) = 828711 bytes
+SHA1 (patch-aa) = e66df78e90ab66cc51060bfeea1f807d95256fc6
diff -r 0d5e869bf486 -r 85f202e8305d www/screws/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/screws/patches/patch-aa       Thu Sep 16 18:45:09 2004 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.3 2004/09/16 18:45:09 he Exp $
+
+--- Makefile.orig      Mon May 31 12:56:24 2004
++++ Makefile
+@@ -55,9 +55,9 @@ install: all
+       #install -d -m 0755 ${PREFIX}/libexec/screws/modules
+       install -d -m 0755 ${PREFIX}/man/man8 ${PREFIX}/etc ${PREFIX}/var/log
+       @echo "==> Installing binaries"
+-      install -m 0755 src/Utils/screwsctl ${PREFIX}/sbin/
+-      install -m 0755 src/Server/screwsd  ${PREFIX}/sbin/
+-      install -m 0755 src/Hsml/hsml       ${PREFIX}/bin/
++      install -c -m 0755 src/Utils/screwsctl ${PREFIX}/sbin/
++      install -c -m 0755 src/Server/screwsd  ${PREFIX}/sbin/
++      install -c -m 0755 src/Hsml/hsml       ${PREFIX}/bin/
+       @echo "==> Installing standard includes for HSML"
+       mkdir -p ${DIP}
+       cp -rf ./src/Hsml/hsml-inc/* ${DIP}/
+@@ -71,16 +71,16 @@ install: all
+       @echo "==> Examples Documentation and Example files"
+       @for A in doc/server/* ; do \
+       echo ... $$A ; \
+-      install -m 0644 $$A ${PREFIX}/share/doc/screws/ ; \
++      install -c -m 0644 $$A ${PREFIX}/share/doc/screws/ ; \
+       done
+-      install -m 0644 doc/images/screws.png ${PREFIX}/share/doc/screws/
+-      install -m 0644 doc/manpage/screwsd.8 ${PREFIX}/man/man8/screwsd.8
+-      install -m 0644 doc/manpage/screwsctl.1 ${PREFIX}/man/man1/screwsctl.1
+-      install -m 0644 doc/manpage/screws.conf.5 ${PREFIX}/man/man5/screws.conf.5
+-      install -m 0644 conf/*.conf ${PREFIX}/share/examples/screws/
+-      install -m 0644 src/Utils/mime.types ${PREFIX}/share/screws/
++      install -c -m 0644 doc/images/screws.png ${PREFIX}/share/doc/screws/
++      install -c -m 0644 doc/manpage/screwsd.8 ${PREFIX}/man/man8/screwsd.8
++      install -c -m 0644 doc/manpage/screwsctl.1 ${PREFIX}/man/man1/screwsctl.1
++      install -c -m 0644 doc/manpage/screws.conf.5 ${PREFIX}/man/man5/screws.conf.5
++      install -c -m 0644 conf/*.conf ${PREFIX}/share/examples/screws/
++      install -c -m 0644 src/Utils/mime.types ${PREFIX}/share/screws/
+       if [ ! -e "${CFGFILE}" ] ; then \
+-      install -m 0644 conf/default.conf ${CFGFILE} ; \
++      install -c -m 0644 conf/default.conf ${CFGFILE} ; \
+       fi
+       @echo ; \
+       echo "***************************************" \



Home | Main Index | Thread Index | Old Index