Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2001 22:49:39 -0400 (EDT)
From:      dan@freebsddiary.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        blaz@si.FreeBSD.org
Subject:   ports/30621: net/netsaint bsd graphics
Message-ID:  <20010917024939.419F47A33@dev.unixathome.org>

next in thread | raw e-mail | index | archive | help

>Number:         30621
>Category:       ports
>Synopsis:       Add BSD graphics to replace the Linux graphics
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 19:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD dev.unixathome.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Aug 7 00:28:41 EDT 2001 root@dev.unixathome.org:/usr/src/sys/compile/DEV i386


>Description:
	NetSaint contains graphics which are Linux-centric. How about we add
	some BSD specific graphics?  See the following URLs to view:
		http://www.freebsddiary.org/samples/bsd_sblogo.gif
		http://www.freebsddiary.org/samples/bsd_logofullsize.gif
>How-To-Repeat:
	
>Fix:

This tarball contains the graphics listed above:
	http://www.freebsddiary.org/netsaint-graphics.tar.gz

Can it be hosted on ftp.freebsd.org?  Sorry, but I didn't know how to specify that 
location within my patch.  Clues please?

The following patch is also available from:
	http://www.freebsddiary.org/netsaint.diff

diff -ruN netsaint.org/Makefile netsaint/Makefile
--- netsaint.org/Makefile	Sun Sep 16 11:36:56 2001
+++ netsaint/Makefile	Sun Sep 16 22:18:59 2001
@@ -10,6 +10,8 @@
 CATEGORIES=	net
 MASTER_SITES=	http://netsaint.sourceforge.net/download/
 
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} netsaint-graphics.tar.gz
+
 MAINTAINER=	blaz@si.FreeBSD.org
 
 LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd \
@@ -37,5 +39,17 @@
 
 pre-install:
 	@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+
+BSDIMAGES=	bsd_logofullsize.gif bsd_sblogo.gif
+
+post-patch:
+	cd ${WRKSRC} && tar zxf ${DISTDIR}/netsaint-graphics.tar.gz
+
+
+post-install:
+.for i in ${BSDIMAGES}
+	${INSTALL_DATA} ${WRKSRC}/html/images/$i ${PREFIX}/share/${PORTNAME}/images/
+.endfor
+
 
 .include <bsd.port.mk>
diff -ruN netsaint.org/distinfo netsaint/distinfo
--- netsaint.org/distinfo	Sun Sep 16 11:36:56 2001
+++ netsaint/distinfo	Sun Sep 16 22:10:11 2001
@@ -1 +1,2 @@
 MD5 (netsaint-0.0.7b6.tar.gz) = ff03fc4d440e4d368b87fe51aae75701
+MD5 (netsaint-graphics.tar.gz) = d959b80cccdee3ff22f4025c6f2446c4
diff -ruN netsaint.org/files/patch-aj netsaint/files/patch-aj
--- netsaint.org/files/patch-aj	Wed Dec 31 19:00:00 1969
+++ netsaint/files/patch-aj	Sun Sep 16 21:55:25 2001
@@ -0,0 +1,18 @@
+--- html/main.html.org	Sun Sep 16 11:36:54 2001
++++ html/main.html	Sun Sep 16 11:38:28 2001
+@@ -27,7 +27,7 @@
+ 
+ <P>
+ <div align="center">
+-<IMG SRC="images/logofullsize.gif" BORDER="0" ALT="NetSaint" width="238" height="227"><br>
++<IMG SRC="images/bsd_logofullsize.gif" BORDER="0" ALT="NetSaint" width="268" height="221"><br>
+ Copyright (c) 1999-2001 Ethan Galstad<br>
+ <a href="mailto:netsaint@netsaint.org">netsaint@netsaint.org</a>
+ </div>
+@@ -81,4 +81,4 @@
+ </div>
+ 
+ </BODY>
+-</HTML>
++</HTML>
+
diff -ruN netsaint.org/files/patch-ak netsaint/files/patch-ak
--- netsaint.org/files/patch-ak	Wed Dec 31 19:00:00 1969
+++ netsaint/files/patch-ak	Sun Sep 16 21:55:46 2001
@@ -0,0 +1,11 @@
+--- html/side.html.in.org	Sun Sep 16 11:36:54 2001
++++ html/side.html.in	Sun Sep 16 11:39:53 2001
+@@ -44,7 +44,7 @@
+ <table width="150" border="0">
+   <tr>
+     <td>
+-      <div align="center"><a href="http://www.netsaint.org" target="_top"><img src="images/sblogo.gif" width="130" height="125" border="0"></a></div>
++      <div align="center"><a href="http://www.netsaint.org" target="_top"><img src="images/bsd_sblogo.gif" width="110" height="95" border="0"></a></div>
+     </td>
+   </tr>
+ </table>
diff -ruN netsaint.org/pkg-plist netsaint/pkg-plist
--- netsaint.org/pkg-plist	Sun Sep 16 11:36:56 2001
+++ netsaint/pkg-plist	Sun Sep 16 11:48:20 2001
@@ -119,6 +119,8 @@
 share/netsaint/docs/xdata-db.html
 share/netsaint/images/ack.gif
 share/netsaint/images/active.gif
+share/netsaint/images/bsd_logofullsize.gif
+share/netsaint/images/bsd_sblogo.gif 
 share/netsaint/images/command.gif
 share/netsaint/images/comment.gif
 share/netsaint/images/config.gif
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010917024939.419F47A33>