aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-08-31 09:55:15 +0800
committerjylefort <jylefort@FreeBSD.org>2005-08-31 09:55:15 +0800
commitb11adee8229c9cbfb61f75eef23c88ff5bccf342 (patch)
tree2142a0c7336880ef48b8b6c31883d80193f26104 /games
parent363e2a29e141907fffcabc08b676d859ab62c080 (diff)
downloadfreebsd-ports-gnome-b11adee8229c9cbfb61f75eef23c88ff5bccf342.tar.gz
freebsd-ports-gnome-b11adee8229c9cbfb61f75eef23c88ff5bccf342.tar.zst
freebsd-ports-gnome-b11adee8229c9cbfb61f75eef23c88ff5bccf342.zip
Add q15.
q15 is a simple Qt-based game fifteen with a customisable background. Author: Denis Kozadaev WWW: http://www.silversoft.net/ PR: ports/85473 Submitted by: Andrej Zverev <az@inec.ru>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/q15/Makefile26
-rw-r--r--games/q15/distinfo2
-rw-r--r--games/q15/files/patch-qt.FreeBSD.mk26
-rw-r--r--games/q15/pkg-descr4
5 files changed, 59 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 5440743ea8cd..e5c8e88fc02e 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -416,6 +416,7 @@
SUBDIR += pysol-cardsets
SUBDIR += pysol-music
SUBDIR += pythoong
+ SUBDIR += q15
SUBDIR += q3-paks
SUBDIR += q3server
SUBDIR += q3server-excessive
diff --git a/games/q15/Makefile b/games/q15/Makefile
new file mode 100644
index 000000000000..c43fecf7b926
--- /dev/null
+++ b/games/q15/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: q15
+# Date created: 2005-08-30
+# Whom: Andrej Zverev <az@inec.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= q15
+PORTVERSION= 1.0
+CATEGORIES= games
+MASTER_SITES= http://silversoft.net/src/
+
+MAINTAINER= az@inec.ru
+COMMENT= A Qt-based game fifteen
+
+USE_BZIP2= yes
+USE_QT_VER= 3
+USE_X_PREFIX= yes
+MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+PLIST_FILES= bin/q15
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/q15 ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/q15/distinfo b/games/q15/distinfo
new file mode 100644
index 000000000000..d763cbf1cc26
--- /dev/null
+++ b/games/q15/distinfo
@@ -0,0 +1,2 @@
+MD5 (q15-1.0.tar.bz2) = e87b46ceee61176a4d2f6e0acc0b00b4
+SIZE (q15-1.0.tar.bz2) = 114514
diff --git a/games/q15/files/patch-qt.FreeBSD.mk b/games/q15/files/patch-qt.FreeBSD.mk
new file mode 100644
index 000000000000..df426ccdd13f
--- /dev/null
+++ b/games/q15/files/patch-qt.FreeBSD.mk
@@ -0,0 +1,26 @@
+--- qt.FreeBSD.mk.orig Wed Aug 31 03:43:55 2005
++++ qt.FreeBSD.mk Wed Aug 31 03:45:04 2005
+@@ -1,13 +1,13 @@
+ # $Id: qt.FreeBSD.mk,v 1.0 2004/11/05 10:22:11 denis Exp $
+
+-QTDIR= /usr/X11R6
++QTDIR= ${X11BASE}
+ MOC= ${QTDIR}/bin/moc
+ LUPDATE= ${QTDIR}/bin/lupdate
+ LRELEASE= ${QTDIR}/bin/lrelease
+-QTCFLAGS= ${QTDIR}/include -DQT_NO_COMPAT -pthread
+-QTLFLAGS= -L${QTDIR}/lib -lqt-mt -pthread
++QTCFLAGS= -I${QTDIR}/include -DQT_NO_COMPAT ${PTHREAD_CFLAGS}
++QTLFLAGS= -L${QTDIR}/lib -lqt-mt ${PTHREAD_LIBS}
+
+-CFLAGS+= -I${QTCFLAGS}
++CXXFLAGS+= ${QTCFLAGS}
+ LDADD+= ${QTLFLAGS}
+
+ SRCMOC= ${MOCS:M*.h:R:S/$/.cxx/g}
+@@ -21,4 +21,4 @@
+ ${MOC} ${.IMPSRC} -o ${.TARGET}
+
+ .cxx.mo:
+- ${CXX} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++ ${CXX} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
diff --git a/games/q15/pkg-descr b/games/q15/pkg-descr
new file mode 100644
index 000000000000..872c81d27aba
--- /dev/null
+++ b/games/q15/pkg-descr
@@ -0,0 +1,4 @@
+q15 is a simple Qt-based game fifteen with a customisable background.
+
+Author: Denis Kozadaev
+WWW: http://www.silversoft.net/