aboutsummaryrefslogtreecommitdiffstats
path: root/net/netsaint
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-09-23 10:06:41 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-09-23 10:06:41 +0800
commit100837334526ef2d4a687dde3a4b22bfe14233dd (patch)
tree9f094bf6bccf9fa6bea98738a28ebe44c12474d7 /net/netsaint
parent38cb309a9c76e22b8a5747ddc19e86d558244b9d (diff)
downloadfreebsd-ports-gnome-100837334526ef2d4a687dde3a4b22bfe14233dd.tar.gz
freebsd-ports-gnome-100837334526ef2d4a687dde3a4b22bfe14233dd.tar.zst
freebsd-ports-gnome-100837334526ef2d4a687dde3a4b22bfe14233dd.zip
Add BSD graphics to this port and swap with linux graphics
Bump PORTREVISION PR: 30621 Submitted by: Dan Langille No reaponse: maintainer
Diffstat (limited to 'net/netsaint')
-rw-r--r--net/netsaint/Makefile18
-rw-r--r--net/netsaint/distinfo1
-rw-r--r--net/netsaint/files/patch-aj18
-rw-r--r--net/netsaint/files/patch-ak11
-rw-r--r--net/netsaint/pkg-plist2
5 files changed, 49 insertions, 1 deletions
diff --git a/net/netsaint/Makefile b/net/netsaint/Makefile
index 58dcaa41eea1..058650178987 100644
--- a/net/netsaint/Makefile
+++ b/net/netsaint/Makefile
@@ -7,8 +7,12 @@
PORTNAME= netsaint
PORTVERSION= 0.0.7b6
+PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= http://netsaint.sourceforge.net/download/
+MASTER_SITES= http://netsaint.sourceforge.net/download/ \
+ ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/dwcjr/
+
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} netsaint-graphics.tar.gz
MAINTAINER= blaz@si.FreeBSD.org
@@ -38,4 +42,16 @@ pre-fetch:
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 --git a/net/netsaint/distinfo b/net/netsaint/distinfo
index 71d8a704e864..e40fd57f46c9 100644
--- a/net/netsaint/distinfo
+++ b/net/netsaint/distinfo
@@ -1 +1,2 @@
MD5 (netsaint-0.0.7b6.tar.gz) = ff03fc4d440e4d368b87fe51aae75701
+MD5 (netsaint-graphics.tar.gz) = d959b80cccdee3ff22f4025c6f2446c4
diff --git a/net/netsaint/files/patch-aj b/net/netsaint/files/patch-aj
new file mode 100644
index 000000000000..5906e0fad6d0
--- /dev/null
+++ b/net/netsaint/files/patch-aj
@@ -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 --git a/net/netsaint/files/patch-ak b/net/netsaint/files/patch-ak
new file mode 100644
index 000000000000..b419a9d04564
--- /dev/null
+++ b/net/netsaint/files/patch-ak
@@ -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 --git a/net/netsaint/pkg-plist b/net/netsaint/pkg-plist
index fd71eef30b88..ad222cae64b9 100644
--- a/net/netsaint/pkg-plist
+++ b/net/netsaint/pkg-plist
@@ -119,6 +119,8 @@ share/netsaint/docs/whatsnew.html
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