diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-24 06:01:01 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-24 06:01:01 +0000 |
commit | 289b6f579d5eba304c73885178144f2814452776 (patch) | |
tree | f7914a889d889f7c4992296a39f44a639b0ac527 /games | |
parent | - Support CC/CFLAGS properly (diff) |
- Add primary site to MASTER_SITES
- Support CFLAGS properly
- /usr/bin/perl -> PERL
- Add WWW: line into pkg/DESCR
PR: 16279
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games')
-rw-r--r-- | games/xscrabble/Makefile | 8 | ||||
-rw-r--r-- | games/xscrabble/files/patch-aa | 19 | ||||
-rw-r--r-- | games/xscrabble/files/patch-ab | 8 | ||||
-rw-r--r-- | games/xscrabble/pkg-descr | 5 |
4 files changed, 23 insertions, 17 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> diff --git a/games/xscrabble/files/patch-aa b/games/xscrabble/files/patch-aa index 0ca4c7e06c59..5374e08e2ca8 100644 --- a/games/xscrabble/files/patch-aa +++ b/games/xscrabble/files/patch-aa @@ -1,13 +1,20 @@ ---- Imakefile.orig Tue Mar 11 06:56:29 1997 -+++ Imakefile Sun Jul 27 10:43:53 1997 +--- Imakefile.orig Tue Mar 11 14:56:29 1997 ++++ Imakefile Tue Jan 18 00:00:00 2000 +@@ -1,5 +1,5 @@ + +-#define PassCDebugFlags 'CDEBUGFLAGS= -O' ++#define PassCDebugFlags 'CDEBUGFLAGS= $(CDEBUGFLAGS)' + #define IHaveSubdirs + + SUBDIRS = Xc src @@ -9,3 +9,10 @@ MakeLintLibSubdirs($(SUBDIRS)) MakeLintSubdirs($(SUBDIRS),install.ln,install.ln) +InstallNamedNonExec(XScrabble.ad,XScrabble,$(LIBDIR)/app-defaults) -+InstallNonExecFile(OSPD3.gz,@XSCRABBLEDIR@) -+InstallNonExecFile(scrabble_permutations,@XSCRABBLEDIR@) -+InstallNonExecFile(xscrabble.scores,@XSCRABBLEDIR@) ++InstallNonExecFile(OSPD3.gz,$(LIBDIR)/xscrabble) ++InstallNonExecFile(scrabble_permutations,$(LIBDIR)/xscrabble) ++InstallNonExecFile(xscrabble.scores,$(LIBDIR)/xscrabble) + +install:: -+ @chmod a+rw @XSCRABBLEDIR@/xscrabble.scores ++ @chmod a+rw $(LIBDIR)/xscrabble/xscrabble.scores diff --git a/games/xscrabble/files/patch-ab b/games/xscrabble/files/patch-ab index dac2cbd54197..c1fa4bfe45fa 100644 --- a/games/xscrabble/files/patch-ab +++ b/games/xscrabble/files/patch-ab @@ -1,5 +1,5 @@ --- XScrabble.ad.orig Tue Mar 11 06:57:16 1997 -+++ XScrabble.ad Sun Jul 27 09:53:56 1997 ++++ XScrabble.ad Tue Jan 18 00:00:00 1997 @@ -1,9 +1,9 @@ ! *** XScrabble resource file *** @@ -7,9 +7,9 @@ -XScrabble.dictfile: /usr/local/lib/OSPD3 -XScrabble.permfile: /usr/local/lib/scrabble_permutations -XScrabble.scorefile: /usr/local/lib/xscrabble.scores -+XScrabble.dictfile: @XSCRABBLEDIR@/OSPD3 -+XScrabble.permfile: @XSCRABBLEDIR@/scrabble_permutations -+XScrabble.scorefile: @XSCRABBLEDIR@/xscrabble.scores ++XScrabble.dictfile: %%PREFIX%%/lib/X11/xscrabble/OSPD3 ++XScrabble.permfile: %%PREFIX%%/lib/X11/xscrabble/scrabble_permutations ++XScrabble.scorefile: %%PREFIX%%/lib/X11/xscrabble/xscrabble.scores ! version string, to make sure correct resource file is loaded XScrabble*version: 100 diff --git a/games/xscrabble/pkg-descr b/games/xscrabble/pkg-descr index 8b763b58ed0c..b5a2641ac3d5 100644 --- a/games/xscrabble/pkg-descr +++ b/games/xscrabble/pkg-descr @@ -16,5 +16,6 @@ releases. Have fun, Matt Chapman. -E-mail: matt@belgarath.demon.co.uk (no longer csuoq@csv.warwick.ac.uk) - +E-mail: matt@belgarath.demon.co.uk (no longer csuoq@csv.warwick.ac.uk) + +WWW: http://www.belgarath.demon.co.uk/programs/index.html#XScrabble |