Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 01:56:10 +0900
From:      "KATO Tsuguru" <tkato@prontomail.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16783: Update port: games/wmtimebomb
Message-ID:  <CB720644445E3D11787100807CFB3258@tkato.prontomail.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         16783
>Category:       ports
>Synopsis:       Update port: games/wmtimebomb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 09:00:04 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
>Environment:

>Description:
- Support get-wraster-flags
- Remove redundant *_DEPENDS
- Add example preference file

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/wmtimebomb/Makefile games/wmtimebomb/Makefile
--- /usr/ports/games/wmtimebomb/Makefile	Thu Feb 17 20:14:20 2000
+++ games/wmtimebomb/Makefile	Fri Feb 18 01:29:01 2000
@@ -12,20 +12,18 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
-		PropList.2:${PORTSDIR}/devel/libPropList \
-		tiff.4:${PORTSDIR}/graphics/tiff \
-		jpeg.9:${PORTSDIR}/graphics/jpeg \
-		ungif.5:${PORTSDIR}/graphics/libungif \
-		png.3:${PORTSDIR}/graphics/png
-BUILD_DEPENDS=	${X11BASE}/lib/libWMaker.a:${PORTSDIR}/x11-wm/windowmaker
+LIB_DEPENDS=	PropList.2:${PORTSDIR}/devel/libPropList \
+		wraster.3:${PORTSDIR}/x11-wm/windowmaker
 
 WRKSRC=		${WRKDIR}/wmtimebomb.app
 USE_IMAKE=	yes
 NO_INSTALL_MANPAGES=	yes
 
 post-patch:
-	${PERL} -pi -e 's,\@LOCALBASE\@,${LOCALBASE},g' ${WRKSRC}/Imakefile
-	${PERL} -pi -e 's,\@X11BASE\@,${X11BASE},g' ${WRKSRC}/Imakefile
+	@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
+
+post-install:
+	@${MKDIR} ${PREFIX}/lib/X11/wmtimebomb
+	${INSTALL_DATA} ${WRKSRC}/example.modefile ${PREFIX}/lib/X11/wmtimebomb
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/wmtimebomb/patches/patch-aa games/wmtimebomb/patches/patch-aa
--- /usr/ports/games/wmtimebomb/patches/patch-aa	Thu Feb 17 20:14:20 2000
+++ games/wmtimebomb/patches/patch-aa	Fri Feb 18 01:30:08 2000
@@ -1,14 +1,14 @@
---- Imakefile.orig	Thu Apr  8 09:13:44 1999
-+++ Imakefile	Thu Apr  8 09:14:16 1999
+--- Imakefile.orig	Mon Nov 16 21:40:24 1998
++++ Imakefile	Thu Feb 17 23:02:07 2000
 @@ -1,7 +1,9 @@
--XPMLIB = -L/usr/X11R6/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lgif
+-XPMLIB = -L/usr/X11R6/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lungif
 -WMAKER = -L/usr/local/lib -lWMaker -lWINGs -lwraster -lPropList
-+XPMLIB = -L@X11BASE@/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lungif
-+WMAKER = -L@LOCALBASE@/lib -lWMaker -lWINGs -lwraster -lPropList
++XPMLIB = `get-wraster-flags --libs`
++WMAKER = -lWMaker -lWINGs -lPropList -L%%LOCALBASE%%/lib
   
  LOCAL_LIBRARIES = $(WMAKER) $(XPMLIB) $(XLIB)
 +
-+EXTRA_INCLUDES= -I@LOCALBASE@/include
++EXTRA_INCLUDES= `get-wraster-flags --cflags` -I%%LOCALBASE%%/include
  
  SRCS = timebomb.c
  OBJS = timebomb.o
diff -urN /usr/ports/games/wmtimebomb/pkg/DESCR games/wmtimebomb/pkg/DESCR
--- /usr/ports/games/wmtimebomb/pkg/DESCR	Fri Jan 21 20:16:57 2000
+++ games/wmtimebomb/pkg/DESCR	Thu Feb 17 23:39:03 2000
@@ -1,6 +1,12 @@
 Maliwan's Time Bomber
 Mine sweeper like game for WindowMaker.
 
+Install:
+cd to your home directory and
+mkdir .wmtimebomb
+and copy the file example.modefile in /usr/X11R6/lib/X11/wmtimebomb 
+(as usual) into the ".wmtimebomb" directory and rename it to "modefile".
+
 Usage: wmtimebomb -t <time> -b <bombs> -x <width> -y <height> -s -c -h
 -s will start timebomb with clock in its title
 -c will start timebomb with counter in its title
diff -urN /usr/ports/games/wmtimebomb/pkg/PLIST games/wmtimebomb/pkg/PLIST
--- /usr/ports/games/wmtimebomb/pkg/PLIST	Mon Aug 10 16:57:57 1998
+++ games/wmtimebomb/pkg/PLIST	Thu Feb 17 23:32:03 2000
@@ -1 +1,3 @@
 bin/wmtimebomb
+lib/X11/wmtimebomb/example.modefile
+@dirrm lib/X11/wmtimebomb


Sent by Japanese ProntoMail

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB720644445E3D11787100807CFB3258>