Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 01:30:34 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65083: Update port: games/xqf to 0.9.14
Message-ID:  <20040403013034.5daa3a0d.tkato@prontomail.com>
Resent-Message-ID: <200404021640.i32GeMHp033535@freefall.freebsd.org>

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

>Number:         65083
>Category:       ports
>Synopsis:       Update port: games/xqf to 0.9.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 02 08:40:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.14

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xqf/Makefile games/xqf/Makefile
--- /usr/ports/games/xqf/Makefile	Wed Feb  4 18:59:06 2004
+++ games/xqf/Makefile	Mon Mar 29 22:37:54 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	xqf
-PORTVERSION=	0.9.13
-PORTREVISION=	1
+PORTVERSION=	0.9.14
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,8 +16,10 @@
 
 RUN_DEPENDS=	qstat:${PORTSDIR}/games/qstat
 
+USE_GNOME=	gnometarget intlhack
 USE_GETOPT_LONG=	yes
-USE_GNOME=	gnometarget
+USE_GETTEXT=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -31,6 +32,7 @@
 .if defined(WITH_GTK2)
 USE_GNOME+=	gtk20
 CONFIGURE_ARGS+=	--enable-gtk2
+PKGNAMESUFFIX=	-gtk2
 .else
 USE_GNOME+=	gdkpixbuf
 .endif
@@ -48,7 +50,14 @@
 .endif
 .endif
 
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|: install-ApplicationsDATA|:|g ; \
+		 s|$$(datadir)/pixmaps|$$(pkgdatadir)/pixmaps|g'
+
 post-install:
+	@${MKDIR} ${DATADIR}/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/pixmaps/xqf_48x48.png ${DATADIR}/pixmaps
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${DOCSDIR}
diff -urN /usr/ports/games/xqf/distinfo games/xqf/distinfo
--- /usr/ports/games/xqf/distinfo	Thu Jan 29 20:25:34 2004
+++ games/xqf/distinfo	Mon Mar 29 20:10:11 2004
@@ -1,2 +1,2 @@
-MD5 (xqf-0.9.13.tar.gz) = d4d71965cbcd56ea363ab4c92bfbe91b
-SIZE (xqf-0.9.13.tar.gz) = 890697
+MD5 (xqf-0.9.14.tar.gz) = e2d1d5c3d3b1f6e669958752b10b8d3d
+SIZE (xqf-0.9.14.tar.gz) = 819210
diff -urN /usr/ports/games/xqf/pkg-plist games/xqf/pkg-plist
--- /usr/ports/games/xqf/pkg-plist	Thu Dec  4 22:36:00 2003
+++ games/xqf/pkg-plist	Mon Mar 29 22:22:24 2004
@@ -8,7 +8,9 @@
 share/locale/fr/LC_MESSAGES/xqf.mo
 %%DATADIR%%/default/flags/lan.png
 %%DATADIR%%/default/splash.png
+%%DATADIR%%/pixmaps/xqf_48x48.png
 %%DATADIR%%/qstat.cfg
+@dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%/default/flags
 @dirrm %%DATADIR%%/default
 @dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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