aboutsummaryrefslogtreecommitdiff
path: root/games/xqf
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-02 19:03:54 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-02 19:03:54 +0000
commit24a29b8261e9aaca129a99c35b89749d6763b60b (patch)
treeba1041cccd11e44688be19302ddea6a726c1a369 /games/xqf
parent55207f89e7bba1a3f8dc181b361eef6e5a11fc1e (diff)
downloadports-24a29b8261e9aaca129a99c35b89749d6763b60b.tar.gz
ports-24a29b8261e9aaca129a99c35b89749d6763b60b.zip
Notes
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%%