1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Remove obsolete sites from MASTER_SITES

- Support PREFIX/LOCALBASE properly

PR:		18436
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Chris D. Faulhaber 2000-05-07 21:32:50 +00:00
parent 719a27bfda
commit 89f97c7ac7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28353
3 changed files with 26 additions and 18 deletions

View File

@ -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>

View File

@ -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

View File

@ -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