From b5637284d827bf2b728ca41447de5f2f8be2bf49 Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 21 Jun 2000 17:12:44 +0000 Subject: - Update MASTER_SITES and WWW: line of pkg/DESCR - Support LOCALBASE properly PR: 19220 Submitted by: KATO Tsuguru (aka Ports Fury ;) --- games/merlin/Makefile | 13 +++++++------ games/merlin/files/patch-aa | 6 +++--- games/merlin/pkg-descr | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'games/merlin') diff --git a/games/merlin/Makefile b/games/merlin/Makefile index 49ed84a..47349b9 100644 --- a/games/merlin/Makefile +++ b/games/merlin/Makefile @@ -8,7 +8,7 @@ PORTNAME= merlin PORTVERSION= 1.0 CATEGORIES= games -MASTER_SITES= http://outoften.doc.ic.ac.uk/~np2/software/download/ +MASTER_SITES= http://www-dse.doc.ic.ac.uk/~np2/software/download/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org @@ -19,14 +19,15 @@ NO_WRKSUBDIR= yes NO_BUILD= yes USE_X_PREFIX= yes -post-extract: - @ ${MV} ${WRKSRC}/merlin.tcl ${WRKSRC}/merlin +post-patch: + @${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ + ${WRKSRC}/merlin.tcl > ${WRKSRC}/merlin do-install: - @ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/merlin ${PREFIX}/bin .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/merlin - @ ${INSTALL_DATA} ${WRKSRC}/merlin.README.txt ${PREFIX}/share/doc/merlin/README + @${MKDIR} ${PREFIX}/share/doc/merlin + ${INSTALL_DATA} ${WRKSRC}/merlin.README.txt ${PREFIX}/share/doc/merlin/README .endif .include diff --git a/games/merlin/files/patch-aa b/games/merlin/files/patch-aa index 589bb71..d06a98b 100644 --- a/games/merlin/files/patch-aa +++ b/games/merlin/files/patch-aa @@ -1,8 +1,8 @@ ---- merlin.orig Mon Jul 7 11:28:19 1997 -+++ merlin Sun Aug 23 18:09:17 1998 +--- merlin.tcl.orig Mon Jul 7 11:28:19 1997 ++++ merlin.tcl Sun Aug 23 18:09:17 1998 @@ -1,4 +1,4 @@ -#!/usr/local/bin/wish4.1 -+#!/usr/local/bin/wish8.2 ++#!%%LOCALBASE%%/bin/wish8.2 # # Merlin - a pointless puzzle game # diff --git a/games/merlin/pkg-descr b/games/merlin/pkg-descr index 3b8a498..da1f337 100644 --- a/games/merlin/pkg-descr +++ b/games/merlin/pkg-descr @@ -8,4 +8,4 @@ button costs a point. If you clear the board, you get some more points and a new level to solve. If you run out of points, the game is over. Merlin records the high-score and the high-level between games. -WWW: http://outofnet.doc.ac.ic.uk/~np2/software/merlin.html +WWW: http://www-dse.doc.ac.ic.uk/~np2/software/merlin.html -- cgit v1.1