The gopher project is now at quux.org, make this the default server
so the client will start up without a server argument. Use PREFIX for substitutions instead of LOCALBASE. Update my email address. ok sturm@
This commit is contained in:
parent
a4745d2080
commit
b1e66ba68f
@ -1,14 +1,15 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
|
# $OpenBSD: Makefile,v 1.2 2006/12/13 23:14:28 deanna Exp $
|
||||||
|
|
||||||
COMMENT= "distributed document delivery client"
|
COMMENT= "distributed document delivery client"
|
||||||
|
|
||||||
DISTNAME= gopher_3.0.11
|
V= 3.0.11
|
||||||
PKGNAME= ${DISTNAME:S/_/-/}
|
DISTNAME= gopher_${V}
|
||||||
|
PKGNAME= gopher-${V}p0
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
HOMEPAGE= http://quux.org/devel/gopher/Downloads/
|
HOMEPAGE= http://quux.org/devel/gopher/Downloads/
|
||||||
|
|
||||||
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
||||||
|
|
||||||
# GPL
|
# GPL
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
@ -26,8 +27,8 @@ MAKE_FLAGS= CLIENTLIB=${SYSCONFDIR}/gopher
|
|||||||
WRKDIST= ${WRKDIR}/gopher
|
WRKDIST= ${WRKDIR}/gopher
|
||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
pre-install:
|
pre-configure:
|
||||||
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
|
@perl -pi -e "s,!!PREFIX!!,${PREFIX},g;" \
|
||||||
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
|
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
12
net/gopher/patches/patch-conf_h
Normal file
12
net/gopher/patches/patch-conf_h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
$OpenBSD: patch-conf_h,v 1.1 2006/12/13 23:14:28 deanna Exp $
|
||||||
|
--- conf.h.orig Wed Jul 20 11:28:52 2005
|
||||||
|
+++ conf.h Wed Dec 13 12:42:51 2006
|
||||||
|
@@ -144,7 +144,7 @@
|
||||||
|
* Set CLIENT2_PORT to 0 if you only want one root machine
|
||||||
|
*/
|
||||||
|
|
||||||
|
-#define CLIENT1_HOST "gopherproject.org"
|
||||||
|
+#define CLIENT1_HOST "quux.org"
|
||||||
|
#define CLIENT1_PATH "/Software/Gopher"
|
||||||
|
#define CLIENT1_PORT 70
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
$OpenBSD: patch-doc_gopher_1,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
|
$OpenBSD: patch-doc_gopher_1,v 1.2 2006/12/13 23:14:29 deanna Exp $
|
||||||
--- doc/gopher.1.orig Sun Jul 30 21:52:38 2006
|
--- doc/gopher.1.orig Sun Jul 30 21:52:38 2006
|
||||||
+++ doc/gopher.1 Sun Jul 30 21:55:12 2006
|
+++ doc/gopher.1 Sun Jul 30 21:55:12 2006
|
||||||
@@ -227,11 +227,11 @@ The program used to print from a pipe.
|
@@ -227,11 +227,11 @@ The program used to print from a pipe.
|
||||||
@ -11,7 +11,7 @@ $OpenBSD: patch-doc_gopher_1,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
|
|||||||
somewhere else on your system)
|
somewhere else on your system)
|
||||||
.TP
|
.TP
|
||||||
-/usr/local/lib/gopher.hlp
|
-/usr/local/lib/gopher.hlp
|
||||||
+!!LOCALBASE!!/share/gopher/gopher.hlp
|
+!!PREFIX!!/share/gopher/gopher.hlp
|
||||||
client help file displayed by the '?' command (default location - may be
|
client help file displayed by the '?' command (default location - may be
|
||||||
somewhere else on your system)
|
somewhere else on your system)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
$OpenBSD: patch-gopher_Makefile_in,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
|
$OpenBSD: patch-gopher_Makefile_in,v 1.2 2006/12/13 23:14:29 deanna Exp $
|
||||||
--- gopher/Makefile.in.orig Fri Jul 28 20:19:27 2006
|
--- gopher/Makefile.in.orig Fri Jul 28 20:19:27 2006
|
||||||
+++ gopher/Makefile.in Fri Jul 28 20:20:44 2006
|
+++ gopher/Makefile.in Fri Jul 28 20:20:44 2006
|
||||||
@@ -132,7 +132,7 @@ OBJS = manager.o gopher.o globals.o ouru
|
@@ -132,7 +132,7 @@ OBJS = manager.o gopher.o globals.o ouru
|
||||||
@ -6,7 +6,7 @@ $OpenBSD: patch-gopher_Makefile_in,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
|
|||||||
CCFLAGS = $(OPT) $(DEBUGGING) -I.. -I$(top_srcdir) -I$(top_srcdir)/object \
|
CCFLAGS = $(OPT) $(DEBUGGING) -I.. -I$(top_srcdir) -I$(top_srcdir)/object \
|
||||||
$(INTLOPTS) $(CLIENTOPTS) -DGOPHERLIB=\"$(CLIENTLIB)\" \
|
$(INTLOPTS) $(CLIENTOPTS) -DGOPHERLIB=\"$(CLIENTLIB)\" \
|
||||||
- -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\" \
|
- -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\" \
|
||||||
+ -DGOPHERHELP=\"${LOCALBASE}/share/gopher/gopher.hlp\" \
|
+ -DGOPHERHELP=\"${PREFIX}/share/gopher/gopher.hlp\" \
|
||||||
-DGLOBALRC=\"$(CLIENTLIB)/gopher.rc\" \
|
-DGLOBALRC=\"$(CLIENTLIB)/gopher.rc\" \
|
||||||
-DREMOTERC=\"$(CLIENTLIB)/gopherremote.rc\"
|
-DREMOTERC=\"$(CLIENTLIB)/gopherremote.rc\"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user