aboutsummaryrefslogtreecommitdiffstats
path: root/games/xqf
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-03 03:03:54 +0800
committerkrion <krion@FreeBSD.org>2004-04-03 03:03:54 +0800
commit0c75f0c13fe51ba1522494add77744f50d78590c (patch)
treebab7a4e72a34c6461fff89bbb419e538118f39a2 /games/xqf
parent6eb859f6a54fd90a36e3d0ed843a0d4636701d6a (diff)
downloadfreebsd-ports-gnome-0c75f0c13fe51ba1522494add77744f50d78590c.tar.gz
freebsd-ports-gnome-0c75f0c13fe51ba1522494add77744f50d78590c.tar.zst
freebsd-ports-gnome-0c75f0c13fe51ba1522494add77744f50d78590c.zip
- Update to version 0.9.14
PR: ports/65083 Submitted by: Ports Fury
Diffstat (limited to 'games/xqf')
-rw-r--r--games/xqf/Makefile15
-rw-r--r--games/xqf/distinfo4
-rw-r--r--games/xqf/pkg-plist2
3 files changed, 16 insertions, 5 deletions
diff --git a/games/xqf/Makefile b/games/xqf/Makefile
index c068fe08eb9c..155abb73668c 100644
--- a/games/xqf/Makefile
+++ b/games/xqf/Makefile
@@ -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 @@ COMMENT= Find quake servers
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 @@ LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITH_GTK2)
USE_GNOME+= gtk20
CONFIGURE_ARGS+= --enable-gtk2
+PKGNAMESUFFIX= -gtk2
.else
USE_GNOME+= gdkpixbuf
.endif
@@ -48,7 +50,14 @@ RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
.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 --git a/games/xqf/distinfo b/games/xqf/distinfo
index 6c6e72507a36..42ea797861c7 100644
--- a/games/xqf/distinfo
+++ b/games/xqf/distinfo
@@ -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 --git a/games/xqf/pkg-plist b/games/xqf/pkg-plist
index 870af289511d..60312b0681a5 100644
--- a/games/xqf/pkg-plist
+++ b/games/xqf/pkg-plist
@@ -8,7 +8,9 @@ share/locale/es/LC_MESSAGES/xqf.mo
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%%