pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tinyfugue * Need some pre-created directories.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b4c0b027541
branches:  trunk
changeset: 536859:1b4c0b027541
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Dec 27 11:43:51 2007 +0000

description:
* Need some pre-created directories.
 * Avoid check of target directory in configure script, it may not exists.
 * Honor PKGMANDIR.

Bump PKGREVISION.

diffstat:

 net/tinyfugue/Makefile         |   6 ++++--
 net/tinyfugue/distinfo         |   6 +++---
 net/tinyfugue/patches/patch-ab |   6 +++---
 net/tinyfugue/patches/patch-ac |  31 +++++++++++++++++++++++++++----
 4 files changed, 37 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r 02c57646b7a5 -r 1b4c0b027541 net/tinyfugue/Makefile
--- a/net/tinyfugue/Makefile    Thu Dec 27 11:43:37 2007 +0000
+++ b/net/tinyfugue/Makefile    Thu Dec 27 11:43:51 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2007/12/02 13:04:13 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2007/12/27 11:43:51 obache Exp $
 
 DISTNAME=      tf-40s1
 PKGNAME=       tf-4.0s1
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    net games
 MASTER_SITES=  ftp://laurel.actlab.utexas.edu/pub/tinyfugue/ \
                ${MASTER_SITE_SOURCEFORGE:=tinyfugue/}
@@ -19,5 +19,7 @@
 PATCHFILES=    tf-40s1-mccp-patch.gz
 PATCH_DIST_STRIP=-p1
 
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 02c57646b7a5 -r 1b4c0b027541 net/tinyfugue/distinfo
--- a/net/tinyfugue/distinfo    Thu Dec 27 11:43:37 2007 +0000
+++ b/net/tinyfugue/distinfo    Thu Dec 27 11:43:51 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/06/20 03:37:04 minskim Exp $
+$NetBSD: distinfo,v 1.8 2007/12/27 11:43:51 obache Exp $
 
 SHA1 (tf-40s1.tar.gz) = 89ee75d0d8501dd7fe5440c81cf9b294e5ccf746
 RMD160 (tf-40s1.tar.gz) = 2852daa3363bb134f29cc25d3177e9599ecacc1f
@@ -7,6 +7,6 @@
 RMD160 (tf-40s1-mccp-patch.gz) = af0d27a8b3585c8cc61669c79f26a8382c272424
 Size (tf-40s1-mccp-patch.gz) = 7182 bytes
 SHA1 (patch-aa) = 8e6d68c7017ab4f4294451bd0d808f48e413f9b6
-SHA1 (patch-ab) = 1849febe594874cc41b42e3d69a121e3f934112c
-SHA1 (patch-ac) = fddc7d415ca8716be1fc45c95a5b5e6888cbf1ae
+SHA1 (patch-ab) = 2eaa60d90a3f930f10f5b151dee45270946aa13c
+SHA1 (patch-ac) = d56d5c80e922a99a5f9bf62e2898309ec9ed0dc0
 SHA1 (patch-ad) = 4ff9f85b0b05857560b00e354496a9ed2a01e6e2
diff -r 02c57646b7a5 -r 1b4c0b027541 net/tinyfugue/patches/patch-ab
--- a/net/tinyfugue/patches/patch-ab    Thu Dec 27 11:43:37 2007 +0000
+++ b/net/tinyfugue/patches/patch-ab    Thu Dec 27 11:43:51 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.4 2002/12/12 21:02:58 jmmv Exp $
+$NetBSD: patch-ab,v 1.5 2007/12/27 11:43:51 obache Exp $
 
---- unix/Config.orig   Sat Mar  6 23:43:28 1999
+--- unix/Config.orig   1999-03-06 22:43:28.000000000 +0000
 +++ unix/Config
 @@ -33,9 +33,12 @@
  #   even if an old version is currently in use.  You can remove
@@ -25,7 +25,7 @@
 -# MANTYPE="nroff"
 -# MANPAGE="/usr/local/man/man1/tf.1"
 +MANTYPE="nroff"
-+MANPAGE="${PREFIX}/man/man1/tf.1"
++MANPAGE="${PREFIX}/${PKGMANDIR}/man1/tf.1"
  
  
  ### Flags.
diff -r 02c57646b7a5 -r 1b4c0b027541 net/tinyfugue/patches/patch-ac
--- a/net/tinyfugue/patches/patch-ac    Thu Dec 27 11:43:37 2007 +0000
+++ b/net/tinyfugue/patches/patch-ac    Thu Dec 27 11:43:51 2007 +0000
@@ -1,8 +1,31 @@
-$NetBSD: patch-ac,v 1.3 1999/11/27 23:13:43 rh Exp $
+$NetBSD: patch-ac,v 1.4 2007/12/27 11:43:51 obache Exp $
 
---- unix/tfconfig.orig Sun Nov 28 00:12:19 1999
-+++ unix/tfconfig      Sun Nov 28 00:12:19 1999
-@@ -224,17 +224,17 @@
+--- unix/tfconfig.orig 2007-12-27 11:03:19.000000000 +0000
++++ unix/tfconfig
+@@ -168,18 +168,18 @@ fi
+ # The cd;pwd is needed to normalize the directory name in case of links, etc.
+ 
+ DIR1=`echo $TF      | sed 's;/[^/]*$;;'`
+-DIR1=`cd $DIR1 && pwd`
++#DIR1=`cd $DIR1 && pwd`
+ DIR2=`echo $LIBDIR  | sed 's;/[^/]*$;;'`
+-DIR2=`cd $DIR2 && pwd`
++#DIR2=`cd $DIR2 && pwd`
+ DIR3=`echo $SYMLINK | sed 's;/[^/]*$;;'`
+-DIR3=`cd $DIR3 && pwd`
++#DIR3=`cd $DIR3 && pwd`
+ 
+ if [ -z "$DIR1" ] || [ -z "$DIR2" ] || [ -z "$DIR3" ]; then
+     echo "Error in directory."
+     exit 1;
+ fi
+ 
+-DIR1=`cd $DIR1 && pwd || { echo "Error in directory $DIR1."; false; }`
++#DIR1=`cd $DIR1 && pwd || { echo "Error in directory $DIR1."; false; }`
+ 
+ BUILDTREE=`cd .. && pwd`
+ if echo "${DIR1}/" | egrep "^${BUILDTREE}/" >/dev/null 2>&1 ||
+@@ -223,17 +223,17 @@ fi
  echo
  
  echo 'To change these locations type "n" now and edit the unix/Config file.'



Home | Main Index | Thread Index | Old Index