diff options
author | pawel <pawel@FreeBSD.org> | 2013-02-23 00:03:46 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-02-23 00:03:46 +0800 |
commit | 8fb74f6326c07fd69a3b04e2f96ec0b0cd7cee9c (patch) | |
tree | 081bab1ff381ec1df3a83e22aeeb86541e722036 /games | |
parent | 4801aa7b3910b869d5501b0bfcb026bb6a00474a (diff) | |
download | freebsd-ports-gnome-8fb74f6326c07fd69a3b04e2f96ec0b0cd7cee9c.tar.gz freebsd-ports-gnome-8fb74f6326c07fd69a3b04e2f96ec0b0cd7cee9c.tar.zst freebsd-ports-gnome-8fb74f6326c07fd69a3b04e2f96ec0b0cd7cee9c.zip |
QTads is a cross-platform, multimedia interpreter for Tads games,
compatible with HTML TADS. Both Tads versions in use today (Tads 2 and
Tads 3) are supported.
WWW: http://qtads.sourceforge.net/
PR: ports/175863
Submitted by: Kai Wang <kaiwang27@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/qtads/Makefile | 28 | ||||
-rw-r--r-- | games/qtads/distinfo | 2 | ||||
-rw-r--r-- | games/qtads/files/patch-src-osqt.h | 12 | ||||
-rw-r--r-- | games/qtads/pkg-descr | 5 |
5 files changed, 48 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index b18d25d8e091..6926a74a057f 100644 --- a/games/Makefile +++ b/games/Makefile @@ -750,6 +750,7 @@ SUBDIR += qnetwalk SUBDIR += qonk SUBDIR += qstat + SUBDIR += qtads SUBDIR += qtv SUBDIR += quackle SUBDIR += quadra diff --git a/games/qtads/Makefile b/games/qtads/Makefile new file mode 100644 index 000000000000..7b86b6cd6f88 --- /dev/null +++ b/games/qtads/Makefile @@ -0,0 +1,28 @@ +# Created by: Kai Wang <kaiwang27@gmail.com> +# $FreeBSD$ + +PORTNAME= qtads +PORTVERSION= 2.1.6 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-2.x/${PORTVERSION} + +MAINTAINER= kaiwang27@gmail.com +COMMENT= Cross-platform multimedia interpreter for TADS games + +LICENSE= GPLv2 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_QT4= gui moc_build network qmake_build rcc_build uic_build +USE_SDL= sdl mixer sound +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/qtads + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/games/qtads/distinfo b/games/qtads/distinfo new file mode 100644 index 000000000000..fc22f0180bdd --- /dev/null +++ b/games/qtads/distinfo @@ -0,0 +1,2 @@ +SHA256 (qtads-2.1.6.tar.bz2) = 33f29b4c1b225f1a1e7ad1405a1bb7eb8ec4b1d567eac48a120071f7793373c8 +SIZE (qtads-2.1.6.tar.bz2) = 2523761 diff --git a/games/qtads/files/patch-src-osqt.h b/games/qtads/files/patch-src-osqt.h new file mode 100644 index 000000000000..3009a5ed56a0 --- /dev/null +++ b/games/qtads/files/patch-src-osqt.h @@ -0,0 +1,12 @@ +--- src/osqt.h.orig 2013-02-05 12:40:00.000000000 +0100 ++++ src/osqt.h 2013-02-05 12:40:26.000000000 +0100 +@@ -35,6 +35,9 @@ + #endif + #endif + ++/* FreeBSD doesn't have ulong defined. */ ++#undef OS_ULONG_DEFINED ++ + #define OSNOUI_OMIT_OS_FPRINTZ + #define OSNOUI_OMIT_OS_FPRINT + #define OSNOUI_OMIT_OS_CVT_URL_DIR diff --git a/games/qtads/pkg-descr b/games/qtads/pkg-descr new file mode 100644 index 000000000000..1c7231cb94ef --- /dev/null +++ b/games/qtads/pkg-descr @@ -0,0 +1,5 @@ +QTads is a cross-platform, multimedia interpreter for Tads games, +compatible with HTML TADS. Both Tads versions in use today (Tads 2 and +Tads 3) are supported. + +WWW: http://qtads.sourceforge.net/ |