summaryrefslogtreecommitdiff
path: root/games/merlin/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-21 17:12:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-21 17:12:44 +0000
commit0f586ee1247809b6d9096f5120a8e48746a0d32b (patch)
treeb4aa744be43d0dc9f9ad6671ae6aaeb59103b435 /games/merlin/Makefile
parentUpdate to version 0.8.2. (diff)
- Update MASTER_SITES and WWW: line of pkg/DESCR
- Support LOCALBASE properly PR: 19220 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> (aka Ports Fury ;)
Notes
Notes: svn path=/head/; revision=29752
Diffstat (limited to 'games/merlin/Makefile')
-rw-r--r--games/merlin/Makefile13
1 files changed, 7 insertions, 6 deletions
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 <bsd.port.mk>