diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-02 14:20:47 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-02 14:20:47 +0800 |
commit | 19b5f8c4579f82aa2756cec84eaaca4a78ffe86e (patch) | |
tree | 13eadec95bd4fdd23334aef8a8b1abc0a6037741 /textproc | |
parent | 53b27a88128d362dee393212cf126e99c7614299 (diff) | |
download | freebsd-ports-gnome-19b5f8c4579f82aa2756cec84eaaca4a78ffe86e.tar.gz freebsd-ports-gnome-19b5f8c4579f82aa2756cec84eaaca4a78ffe86e.tar.zst freebsd-ports-gnome-19b5f8c4579f82aa2756cec84eaaca4a78ffe86e.zip |
- Update to 0.08
- Add OPTIONS for dbus and nls
PR: ports/119457
Submitted by: Max Brazhnikov <makc at issp.ac.ru>
Approved by: maintainer timeout (2 months)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/qstardict/Makefile | 21 | ||||
-rw-r--r-- | textproc/qstardict/distinfo | 6 | ||||
-rw-r--r-- | textproc/qstardict/files/patch-qstardict.pro | 10 |
3 files changed, 30 insertions, 7 deletions
diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile index 6b1712e92ad0..ab2c6c04317b 100644 --- a/textproc/qstardict/Makefile +++ b/textproc/qstardict/Makefile @@ -6,8 +6,7 @@ # PORTNAME= qstardict -PORTVERSION= 0.05 -PORTREVISION= 1 +PORTVERSION= 0.08 CATEGORIES= textproc MASTER_SITES= http://qstardict.ylsoftware.com/files/ \ ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ @@ -23,6 +22,20 @@ DICPATH= ${PREFIX}/share/stardict/dic PORTDOCS= AUTHORS COPYNG ChangeLog INSTALL README THANKS +OPTIONS= DBUS "Enable D-BUS support" on + +.include <bsd.port.pre.mk> +.if defined(WITHOUT_NLS) +QMAKE_ARGS+= NO_TRANSLATIONS=1 +.endif + +.if defined(WITHOUT_DBUS) +QMAKE_ARGS+= NO_DBUS=1 +.else +#QMAKE_ARGS+= "CONFIG+=qdbus" +LIB_DEPENDS+= QtDBus.4:${PORTSDIR}/devel/dbus-qt4 +.endif + post-patch: @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ ${WRKSRC}/qstardict.pro @@ -30,7 +43,7 @@ post-patch: ${WRKSRC}/src/dictcore.cpp post-configure: - @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} + cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} post-install: .if !defined(NOPORTDOCS) @@ -41,4 +54,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/qstardict/distinfo b/textproc/qstardict/distinfo index 69952d0f758a..34a83bbf8417 100644 --- a/textproc/qstardict/distinfo +++ b/textproc/qstardict/distinfo @@ -1,3 +1,3 @@ -MD5 (qstardict-0.05.tar.bz2) = 9ace1928edcc808f3c4b9a827e050a39 -SHA256 (qstardict-0.05.tar.bz2) = 9a54124ed97f01af780430f124937afe680509cfa5a02677fb98c0080b3f08ac -SIZE (qstardict-0.05.tar.bz2) = 170500 +MD5 (qstardict-0.08.tar.bz2) = f3bbb1ab807a3558615fcb36e2824260 +SHA256 (qstardict-0.08.tar.bz2) = b33a93f4c7b85997e50bd161035c783e134438bc741ead7325f762d737e96e1b +SIZE (qstardict-0.08.tar.bz2) = 184903 diff --git a/textproc/qstardict/files/patch-qstardict.pro b/textproc/qstardict/files/patch-qstardict.pro new file mode 100644 index 000000000000..cd444a07593f --- /dev/null +++ b/textproc/qstardict/files/patch-qstardict.pro @@ -0,0 +1,10 @@ +--- ./qstardict.pro.orig 2007-11-11 16:32:55.000000000 +0300 ++++ ./qstardict.pro 2007-11-19 01:48:14.000000000 +0300 +@@ -5,7 +5,6 @@ + VERSION = 0.08 + DEFINES += QSTARDICT_VERSION=\\\"$$VERSION\\\" + +-unix:isEmpty(NO_DBUS):!contains(QT_CONFIG, qdbus): NO_DBUS = 1 + + QT = \ + gui \ |