diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:32:50 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:32:50 +0000 |
commit | 89f97c7ac7086fd2675ee7ddbae10bbf29ccd1ec (patch) | |
tree | 198f8443c5b5f058835a0b82a87cf9ce321b30eb | |
parent | 719a27bfda6ccb287b12ebb64cb81cf54663a2c7 (diff) | |
download | ports-89f97c7ac7086fd2675ee7ddbae10bbf29ccd1ec.tar.gz ports-89f97c7ac7086fd2675ee7ddbae10bbf29ccd1ec.zip |
Notes
-rw-r--r-- | games/agm/Makefile | 23 | ||||
-rw-r--r-- | games/agm/files/patch-aa | 15 | ||||
-rw-r--r-- | games/agm/files/patch-ab | 6 |
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 |