aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-05-08 05:32:50 +0800
committerjedgar <jedgar@FreeBSD.org>2000-05-08 05:32:50 +0800
commit16c62ab5b99d6a9ed966dc7829ab04b5f9a960ea (patch)
tree89a7a0f86e9a9d17c88b97e44cfdff303d163707 /games
parentfcdb42357770a45289ddd97acd08afe2e8e64cdd (diff)
downloadfreebsd-ports-gnome-16c62ab5b99d6a9ed966dc7829ab04b5f9a960ea.tar.gz
freebsd-ports-gnome-16c62ab5b99d6a9ed966dc7829ab04b5f9a960ea.tar.zst
freebsd-ports-gnome-16c62ab5b99d6a9ed966dc7829ab04b5f9a960ea.zip
- Remove obsolete sites from MASTER_SITES
- Support PREFIX/LOCALBASE properly PR: 18436 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games')
-rw-r--r--games/agm/Makefile23
-rw-r--r--games/agm/files/patch-aa15
-rw-r--r--games/agm/files/patch-ab6
3 files changed, 26 insertions, 18 deletions
diff --git a/games/agm/Makefile b/games/agm/Makefile
index 32bc4cbdfe44..96bb9a6661f8 100644
--- a/games/agm/Makefile
+++ b/games/agm/Makefile
@@ -5,20 +5,21 @@
# $FreeBSD$
#
-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 --git a/games/agm/files/patch-aa b/games/agm/files/patch-aa
index 4559d993dda0..7377c00e7807 100644
--- a/games/agm/files/patch-aa
+++ b/games/agm/files/patch-aa
@@ -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 --git a/games/agm/files/patch-ab b/games/agm/files/patch-ab
index f51e9ebcb7ea..0d1ef3f087b9 100644
--- a/games/agm/files/patch-ab
+++ b/games/agm/files/patch-ab
@@ -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