summaryrefslogtreecommitdiff
path: root/games/xqf/Makefile
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/Makefile
parent- Support PTHREAD_CFLAGS properly (diff)
- Update to version 0.9.14
PR: ports/65083 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=105981
Diffstat (limited to 'games/xqf/Makefile')
-rw-r--r--games/xqf/Makefile15
1 files changed, 12 insertions, 3 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}