From owner-freebsd-ports Tue Aug 27 18:12:02 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA12850 for ports-outgoing; Tue, 27 Aug 1996 18:12:02 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA12837 for ; Tue, 27 Aug 1996 18:11:58 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id SAA12617; Tue, 27 Aug 1996 18:11:47 -0700 (PDT) Date: Tue, 27 Aug 1996 18:11:47 -0700 (PDT) Message-Id: <199608280111.SAA12617@silvia.HIP.Berkeley.EDU> To: joerg_wunsch@interface-business.de CC: ports@freebsd.org In-reply-to: <199608272139.XAA21771@ida.interface-business.de> (message from J Wunsch on Tue, 27 Aug 1996 23:39:58 +0200 (MET DST)) Subject: Re: xmahjongg port From: asami@freebsd.org (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * 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 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