From 0f586ee1247809b6d9096f5120a8e48746a0d32b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev 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 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games/merlin/Makefile') diff --git a/games/merlin/Makefile b/games/merlin/Makefile index 49ed84ae2359..47349b91b4fa 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 -- cgit v1.2.3