summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2006-11-26 17:42:45 +0000
committerAndrej Zverev <az@FreeBSD.org>2006-11-26 17:42:45 +0000
commit62610fb0daec43f39dc24a7e4d734633a37c46ef (patch)
tree625cf6db73291e093cb70d56fc55a66ce4e463d9 /games
parentUpdate to 20061110 (06-314) (diff)
- Do not want USE_X_PREFIX anymore
- Respect X11BASE [1] - bump PORTREVISION Noticed by: kris@ [1]
Notes
Notes: svn path=/head/; revision=178070
Diffstat (limited to 'games')
-rw-r--r--games/qnetchess/Makefile4
-rw-r--r--games/qnetchess/files/patch-qt.FreeBSD.mk10
2 files changed, 12 insertions, 2 deletions
diff --git a/games/qnetchess/Makefile b/games/qnetchess/Makefile
index cc129ec682b7..7fa8073ed121 100644
--- a/games/qnetchess/Makefile
+++ b/games/qnetchess/Makefile
@@ -7,6 +7,7 @@
PORTNAME= QNetChess
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.silversoft.net/src/
@@ -18,9 +19,8 @@ LOCALE_FILE= "${DATADIR}/${PORTNAME}_ru"
USE_BZIP2= yes
USE_QT_VER= 3
-USE_X_PREFIX= yes
-MAKE_ARGS+= LOCALE_FILE="${LOCALE_FILE}"
+MAKE_ARGS+= LOCALE_FILE="${LOCALE_FILE}" QTDIR="${X11BASE}"
PLIST_FILES= bin/QNetChess %%DATADIR%%/${PORTNAME}_ru.qm
PLIST_DIRS= %%DATADIR%%
diff --git a/games/qnetchess/files/patch-qt.FreeBSD.mk b/games/qnetchess/files/patch-qt.FreeBSD.mk
new file mode 100644
index 000000000000..e02f6a456f05
--- /dev/null
+++ b/games/qnetchess/files/patch-qt.FreeBSD.mk
@@ -0,0 +1,10 @@
+--- qt.FreeBSD.mk.orig Sat Mar 26 11:48:31 2005
++++ qt.FreeBSD.mk Sun Nov 26 20:29:14 2006
+@@ -1,6 +1,6 @@
+ # $Id: qt.FreeBSD.mk,v 1.0 2004/11/05 10:22:11 denis Exp $
+
+-QTDIR= /usr/X11R6
++QTDIR?= /usr/X11R6
+ MOC= ${QTDIR}/bin/moc
+ LUPDATE= ${QTDIR}/bin/lupdate
+ LRELEASE= ${QTDIR}/bin/lrelease