Date: Tue, 27 Aug 1996 18:11:47 -0700 (PDT) From: asami@freebsd.org (Satoshi Asami) To: joerg_wunsch@interface-business.de Cc: ports@freebsd.org Subject: Re: xmahjongg port Message-ID: <199608280111.SAA12617@silvia.HIP.Berkeley.EDU> In-Reply-To: <199608272139.XAA21771@ida.interface-business.de> (message from J Wunsch on Tue, 27 Aug 1996 23:39:58 %2B0200 (MET DST))
next in thread | previous in thread | raw e-mail | index | archive | help
* There are no default imake rules for section 6 man pages, only section * 1 and 3. By now, the xmahjongg man page goes uncompressed. That can be right. ;) I took a look at the xmahjongg source, it is because the man page is called *.6, not *.man. Try the patch below. * Nope. The problem is whether i should run `/usr/X11R6/bin/mkfontdir' * (so root users without X11 in their path will be able to use it), or * simply `mkfontdir', so people with X11 installed in another place will * be able to run it... Uh, I wouldn't worry too much about it. xmkmf is run without a pathname either.... BTW, as Chuck pointed out, this game looks almost exactly like the existing xmj port, although it's written by a different person. Quite interesting. Satoshi ------- Index: Makefile =================================================================== RCS file: /usr/cvs/ports/games/xmahjongg/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 1996/08/27 20:16:32 1.1.1.1 +++ Makefile 1996/08/28 01:00:43 @@ -7,6 +7,7 @@ # DISTNAME= xmahjongg +PKGNAME= xmahjongg-1.0 CATEGORIES+= games # Most Usenet archive sites don't store it as a .tar.gz, but Slackware # and it's mirrors do. @@ -18,5 +19,8 @@ USE_IMAKE= yes NO_CDROM= "Restrictive copyright." + +post-extract: + @cp ${WRKSRC}/xmahjongg.6 ${WRKSRC}/xmahjongg.man .include <bsd.port.mk> Index: patches/patch-aa =================================================================== RCS file: /usr/cvs/ports/games/xmahjongg/patches/patch-aa,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 patch-aa --- patch-aa 1996/08/27 20:16:32 1.1.1.1 +++ patch-aa 1996/08/28 00:56:32 @@ -1,6 +1,6 @@ --- Imakefile.orig Sat Dec 11 03:35:21 1993 +++ Imakefile Fri Aug 16 18:41:38 1996 -@@ -5,7 +5,29 @@ +@@ -5,7 +5,26 @@ # copyright laws of the United States. # LOCAL_LIBRARIES = $(XLIB) @@ -21,9 +21,6 @@ +$(FONT): x.bdf.1 x.bdf.2 x.bdf.3 + @echo "Creating xmahjongg.bdf..."; \ + cat x.bdf.1 x.bdf.2 x.bdf.3 > $(FONT) -+ -+#define InstallManPageLong(file,destdir,dest) @@\ -+InstallNamedTarget(install.man,file.6,$(INSTMANFLAGS),destdir,dest.$(MANSUFFIX)) ComplexProgramTarget(xmahjongg) +InstallTarget(install,$(FONT),$(INSTDATFLAGS),$(FONTDIR)/misc) Index: pkg/PLIST =================================================================== RCS file: /usr/cvs/ports/games/xmahjongg/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- PLIST 1996/08/27 20:16:32 1.1.1.1 +++ PLIST 1996/08/28 01:00:37 @@ -1,5 +1,5 @@ bin/xmahjongg -man/man6/xmahjongg.6 +man/man6/xmahjongg.6.gz lib/X11/xmahjongg @dirrm lib/X11/xmahjongg lib/X11/fonts/misc/xmahjongg.bdf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608280111.SAA12617>