summaryrefslogtreecommitdiff
path: root/net/xwhois
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-01-29 23:44:22 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-01-29 23:44:22 +0000
commit602cdefd4c2227a3bf930a7deeb2d0511826b7b6 (patch)
tree1301a7c394dc5b911ca37ef39bb324a59e592f79 /net/xwhois
parentPrepare for the case that the directory ${PREFIX}/info doesn't exist. (diff)
A GTK-based frontend to the whois service (RFC954).
PR: ports/9260 & ports/9671 Submitted By: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
Notes
Notes: svn path=/head/; revision=16423
Diffstat (limited to '')
-rw-r--r--net/xwhois/Makefile37
-rw-r--r--net/xwhois/distinfo1
-rw-r--r--net/xwhois/files/patch-aa40
-rw-r--r--net/xwhois/pkg-comment1
-rw-r--r--net/xwhois/pkg-descr1
-rw-r--r--net/xwhois/pkg-plist9
6 files changed, 89 insertions, 0 deletions
diff --git a/net/xwhois/Makefile b/net/xwhois/Makefile
new file mode 100644
index 000000000000..469f4410f236
--- /dev/null
+++ b/net/xwhois/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: xwhois
+# Version required: 0.2.9
+# Date created: 31 December 1998
+# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
+#
+# $Id$
+#
+
+DISTNAME= xwhois-0.2.9
+CATEGORIES= net
+MASTER_SITES= http://c64.org/~nr/ \
+ http://www.goatnet.ml.org/ \
+ ftp://sangis.kalix.net/pub/nr/xwhois/ \
+ ftp://c64.org/pub/nr/xwhois/ \
+ ftp://ftp.infodrom.north.de/pub/unix/gtkbuffet/apps/xwhois/
+
+MAINTAINER= kkennawa@physics.adelaide.edu.au
+
+LIB_DEPENDS= gtk11.1:${PORTSDIR}/x11-toolkits/gtk11
+
+USE_X_PREFIX= yes
+
+do-install:
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/xwhois ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/xwhois
+ ${MKDIR} ${PREFIX}/share/xwhois/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/xwhois.servers ${PREFIX}/share/xwhois
+ ${INSTALL_DATA} ${WRKSRC}/xwhois.xpm ${PREFIX}/share/xwhois/pixmaps
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/xwhois
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xwhois
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/xwhois
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xwhois
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/xwhois/distinfo b/net/xwhois/distinfo
new file mode 100644
index 000000000000..9635cb4ca378
--- /dev/null
+++ b/net/xwhois/distinfo
@@ -0,0 +1 @@
+MD5 (xwhois-0.2.9.tar.gz) = 64663f0662d34cddedc414b3641666eb
diff --git a/net/xwhois/files/patch-aa b/net/xwhois/files/patch-aa
new file mode 100644
index 000000000000..319131ca573b
--- /dev/null
+++ b/net/xwhois/files/patch-aa
@@ -0,0 +1,40 @@
+--- Makefile.orig Fri Jan 29 17:41:21 1999
++++ Makefile Fri Jan 29 18:10:44 1999
+@@ -1,11 +1,12 @@
+ # Xwhois Makefile
+
+ prefix = /usr/local
+-XWHOIS_SERVERS = $(prefix)/lib/xwhois/xwhois.servers
++XWHOIS_SERVERS = $(prefix)/share/xwhois/xwhois.servers
+
+ # - Standard -
+ CC = gcc
+-CFLAGS = -Wall -g -O2
++CFLAGS ?= -O2
++CFLAGS += -Wall -g
+ OBJECTS = xwhois.c
+ DEFINES = -DSTD -DHAVE_SNPRINTF
+ DEFINES += -DXWHOIS_SERVERS=\"$(XWHOIS_SERVERS)\"
+@@ -32,14 +33,14 @@
+ install -s -m 755 xwhois $(prefix)/bin
+ mkdir -p $(prefix)/share/apps/Network
+ install -m 644 Xwhois.desktop $(prefix)/share/apps/Network
+- mkdir -p $(prefix)/share/pixmaps
+- install -m 644 xwhois.xpm $(prefix)/share/pixmaps
+- mkdir -p $(prefix)/lib/xwhois
+- install -m 644 xwhois.servers $(prefix)/lib/xwhois
+- mkdir -p $(prefix)/doc/xwhois
+- install -m 644 README $(prefix)/doc/xwhois
+- install -m 644 COPYING $(prefix)/doc/xwhois
+- install -m 644 ChangeLog $(prefix)/doc/xwhois
++ mkdir -p $(prefix)/share/xwhois/pixmaps
++ install -m 644 xwhois.xpm $(prefix)/share/xwhois/pixmaps
++ mkdir -p $(prefix)/share/xwhois
++ install -m 644 xwhois.servers $(prefix)/share/xwhois
++ mkdir -p $(prefix)/share/doc/xwhois
++ install -m 644 README $(prefix)/share/doc/xwhois
++ install -m 644 COPYING $(prefix)/share/doc/xwhois
++ install -m 644 ChangeLog $(prefix)/share/doc/xwhois
+
+ clean:
+ rm -f xwhois
diff --git a/net/xwhois/pkg-comment b/net/xwhois/pkg-comment
new file mode 100644
index 000000000000..d47f3f4c3fcb
--- /dev/null
+++ b/net/xwhois/pkg-comment
@@ -0,0 +1 @@
+A GTK-based frontend to the whois service (RFC954).
diff --git a/net/xwhois/pkg-descr b/net/xwhois/pkg-descr
new file mode 100644
index 000000000000..d47f3f4c3fcb
--- /dev/null
+++ b/net/xwhois/pkg-descr
@@ -0,0 +1 @@
+A GTK-based frontend to the whois service (RFC954).
diff --git a/net/xwhois/pkg-plist b/net/xwhois/pkg-plist
new file mode 100644
index 000000000000..07fc50e66c6a
--- /dev/null
+++ b/net/xwhois/pkg-plist
@@ -0,0 +1,9 @@
+bin/xwhois
+share/xwhois/xwhois.servers
+share/xwhois/pixmaps/xwhois.xpm
+share/doc/xwhois/README
+share/doc/xwhois/COPYING
+share/doc/xwhois/ChangeLog
+@dirrm share/xwhois/pixmaps
+@dirrm share/xwhois
+@dirrm share/doc/xwhois