Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 May 2000 11:50:36 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/18436: Update port: games/agm
Message-ID:  <20000507185036.26E9C37BA5C@hub.freebsd.org>

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

>Number:         18436
>Category:       ports
>Synopsis:       Update port: games/agm
>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 May 07 12:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Remove obsolete sites from MASTER_SITES
- Support PREFIX/LOCALBASE properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/agm/Makefile games/agm/Makefile
--- /usr/ports/games/agm/Makefile	Fri Apr 14 18:48:46 2000
+++ games/agm/Makefile	Wed May  3 12:00:00 2000
@@ -5,20 +5,21 @@
 # $FreeBSD: ports/games/agm/Makefile,v 1.6 2000/04/14 00:45:22 mharo Exp $
 #
 
-PORTNAME=		agm
-PORTVERSION=		1.4
-CATEGORIES=		games
-MASTER_SITES=		${MASTER_SITE_SUNSITE} \
-			http://users.gtn.net/fraserm/
-MASTER_SITE_SUBDIR=	games/amusements
+PORTNAME=	agm
+PORTVERSION=	1.4
+CATEGORIES=	games
+MASTER_SITES=	http://users.gtn.net/fraserm/
 
-MAINTAINER=		ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 
-MAN6=			agm.6
+MAN6=		agm.6
+
+post-patch:
+	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/xagm
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/agm ${PREFIX}/bin
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/xagm ${PREFIX}/bin
-	@ ${INSTALL_MAN} ${WRKSRC}/agm.6 ${PREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/agm ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/xagm ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/agm.6 ${PREFIX}/man/man6
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/agm/patches/patch-aa games/agm/patches/patch-aa
--- /usr/ports/games/agm/patches/patch-aa	Mon Jan 11 03:37:29 1999
+++ games/agm/patches/patch-aa	Wed May  3 12:00:00 2000
@@ -1,8 +1,15 @@
---- Makefile	Sat Oct 17 15:21:25 1998
-+++ /home/andy/tmp/wrk/Makefile	Wed Jan  6 16:40:21 1999
-@@ -55,13 +55,13 @@
+--- Makefile.orig	Sun Oct 18 00:21:25 1998
++++ Makefile	Wed May  3 12:00:00 2000
+@@ -50,18 +50,18 @@
+ RELEASE=-DRELEASE=\"$(VER)\"
+ # Set this to the destination directory for the executable
+ #BINDIR=../../bin/`uname`
+-BINDIR=/usr/local/bin
++BINDIR=${PREFIX}/bin
+ # Location of manual pages
  #MANDIR=../../man
- MANDIR=/usr/local/man
+-MANDIR=/usr/local/man
++MANDIR=${PREFIX}/man
  # Location of the word file
 -WORDDIR=/usr/local/lib
 +WORDDIR=/usr/share/dict
diff -urN /usr/ports/games/agm/patches/patch-ab games/agm/patches/patch-ab
--- /usr/ports/games/agm/patches/patch-ab	Mon Apr 20 00:34:14 1998
+++ games/agm/patches/patch-ab	Wed May  3 12:00:00 2000
@@ -1,5 +1,5 @@
---- xagm	Wed Mar 18 01:02:29 1998
-+++ /home/andy/tmp/wrk/xagm	Sun Mar 22 10:57:38 1998
+--- xagm.orig	Wed Mar 18 01:02:29 1998
++++ xagm	Wed May  3 12:00:00 2000
 @@ -1,1 +1,1 @@
 -#!/usr/bin/wish
-+#!/usr/local/bin/wish8.0
++#!%%LOCALBASE%%/bin/wish8.0


>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?20000507185036.26E9C37BA5C>