Subject: pkg/29128: update of graphics/compface to 1.5.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Osamu OISHI <oishi@alef.ims.ac.jp>
List: pkgsrc-bugs
Date: 01/26/2005 16:28:00
>Number:         29128
>Category:       pkg
>Synopsis:       update of graphics/compface to 1.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 26 16:28:00 +0000 2005
>Originator:     Osamu OISHI
>Release:        NetBSD-current
>Organization:
	
>Environment:
	
	
System: NetBSD alef.ims.ac.jp 2.0 NetBSD 2.0 (alef) #0: Mon Dec 13 20:16:32 UTC 2004 root@alef.ims.ac.jp:/sys/arch/i386/compile/alef i386
Architecture: i386
Machine: i386
>Description:
1. update to 1.5.1
2. installation of converter script "bin/xbm2xface.pl"
3. change files
   Makefile, PLIST, distinfo
4. following is the patch of graphics/compface

diff -Nur compface.orig/Makefile compface/Makefile
--- compface.orig/Makefile	2005-01-11 03:36:36.000000000 +0000
+++ compface/Makefile	2005-01-26 22:22:21.000000000 +0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.6 2004/03/23 04:41:00 jlam Exp $
 
-DISTNAME=	compface-1.5
+DISTNAME=	compface-1.5.1
 CATEGORIES=	graphics
 MASTER_SITES=	http://freshmeat.net/redir/compface/1439/url_tgz/
 
@@ -16,6 +16,14 @@
 
 pre-configure:
 	cd ${WRKSRC}; ${AUTOCONF}
+	cat ${WRKSRC}/xbm2xface.pl | \
+		tr -d '\015' | \
+		${SED} -e 's|/usr/bin|${PREFIX}/bin|g' \
+		> ${WRKSRC}/xbm2xface.pl.bak
+	${MV} -f ${WRKSRC}/xbm2xface.pl.bak ${WRKSRC}/xbm2xface.pl
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/xbm2xface.pl ${PREFIX}/bin
 
 .include "../../mk/autoconf.mk"
 .include "../../mk/bsd.pkg.mk"
diff -Nur compface.orig/PLIST compface/PLIST
--- compface.orig/PLIST	2003-11-28 11:31:30.000000000 +0000
+++ compface/PLIST	2005-01-26 22:23:31.000000000 +0000
@@ -1,6 +1,7 @@
 @comment $NetBSD: PLIST,v 1.2 2003/11/28 11:31:30 adam Exp $
 bin/compface
 bin/uncompface
+bin/xbm2xface.pl
 lib/libcompface.a
 include/compface.h
 man/man1/compface.1
diff -Nur compface.orig/distinfo compface/distinfo
--- compface.orig/distinfo	2005-01-13 03:47:50.000000000 +0000
+++ compface/distinfo	2005-01-25 23:11:50.000000000 +0000
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.3 2005/01/10 13:40:02 adam Exp $
 
-SHA1 (compface-1.5.tar.gz) = 2a8f2b5251725d0070ab915bf9ecfc8f47041cc1
-Size (compface-1.5.tar.gz) = 18122 bytes
+SHA1 (compface-1.5.1.tar.gz) = d97f3dd098da94e6869a8a82c225a902fe297b2b
+Size (compface-1.5.1.tar.gz) = 30565 bytes
 SHA1 (patch-aa) = 43d8996c8c8f8f72e78a81ae469832224c95c067
 SHA1 (patch-ab) = 17e9948122b39ce284ca64a3aa6b83f67b6f93df
 SHA1 (patch-ac) = ef118806906f8f945e9f4df50c27208d682ce341

>How-To-Repeat:
	
>Fix:
	

>Unformatted: