summaryrefslogtreecommitdiff
path: root/games/xscrabble/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xscrabble/Makefile')
-rw-r--r--games/xscrabble/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/xscrabble/Makefile b/games/xscrabble/Makefile
index b4b19b031cd9..e91bca1a5413 100644
--- a/games/xscrabble/Makefile
+++ b/games/xscrabble/Makefile
@@ -9,7 +9,8 @@
DISTNAME= xscrabble
PKGNAME= xscrabble-1.0
CATEGORIES= games
-MASTER_SITES= http://www.freebsd.org/~mph/distfiles/
+MASTER_SITES= http://www.belgarath.demon.co.uk/programs/ \
+ http://www.freebsd.org/~mph/distfiles/
MAINTAINER= ports@FreeBSD.org
@@ -19,9 +20,6 @@ USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
post-patch:
- @/usr/bin/perl -pi.bak -e "s|\@XSCRABBLEDIR\@|${PREFIX}/lib/X11/xscrabble|;" \
- ${WRKSRC}/Imakefile
- @/usr/bin/perl -pi.bak -e "s|\@XSCRABBLEDIR\@|${PREFIX}/lib/X11/xscrabble|;" \
- ${WRKSRC}/XScrabble.ad
+ @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/XScrabble.ad
.include <bsd.port.mk>