aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/qstardict
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-19 07:52:36 +0800
committermiwi <miwi@FreeBSD.org>2008-06-19 07:52:36 +0800
commite0e3f0c7da8de7a9f0f8c134b3190dca93cd12df (patch)
tree503b2ae0cf57cf4b6cd3890c9e38238d84135391 /textproc/qstardict
parent6560b46e60ef33699c98c5143624929aefc86525 (diff)
downloadfreebsd-ports-gnome-e0e3f0c7da8de7a9f0f8c134b3190dca93cd12df.tar.gz
freebsd-ports-gnome-e0e3f0c7da8de7a9f0f8c134b3190dca93cd12df.tar.zst
freebsd-ports-gnome-e0e3f0c7da8de7a9f0f8c134b3190dca93cd12df.zip
- Update to 0.12.9
PR: 124508 Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'textproc/qstardict')
-rw-r--r--textproc/qstardict/Makefile8
-rw-r--r--textproc/qstardict/distinfo6
-rw-r--r--textproc/qstardict/files/patch-qstardict.pri15
3 files changed, 12 insertions, 17 deletions
diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile
index e067aa1a0c52..1273ccb76ce3 100644
--- a/textproc/qstardict/Makefile
+++ b/textproc/qstardict/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= qstardict
-PORTVERSION= 0.12.7
-PORTREVISION= 1
+PORTVERSION= 0.12.9
CATEGORIES= textproc
MASTER_SITES= http://qstardict.ylsoftware.com/files/ \
ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
@@ -19,10 +18,11 @@ USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui network xml qmake_build uic_build moc_build rcc_build
QMAKE_ARGS+= -recursive SEPARATE_TRANSLATIONS=1
+USE_DOS2UNIX= qstardict.pri
DICPATH= ${PREFIX}/share/stardict/dic
-PORTDOCS= AUTHORS COPYNG ChangeLog INSTALL README THANKS
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS
OPTIONS= DBUS "Enable D-BUS support" on
@@ -44,6 +44,8 @@ LIB_DEPENDS+= QtDBus.4:${PORTSDIR}/devel/dbus-qt4
post-patch:
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \
${WRKSRC}/qstardict.pri
+ @${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \
+ ${WRKSRC}/qstardict.pro
@${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \
${WRKSRC}/plugins/stardict/stardict.cpp
diff --git a/textproc/qstardict/distinfo b/textproc/qstardict/distinfo
index 0f131284e87a..8cab421353bd 100644
--- a/textproc/qstardict/distinfo
+++ b/textproc/qstardict/distinfo
@@ -1,3 +1,3 @@
-MD5 (qstardict-0.12.7.tar.bz2) = 9ff267de17bbaa36abaf21e0cb79b7a7
-SHA256 (qstardict-0.12.7.tar.bz2) = 962770c9708edbc3660c4a2ae66990cc66b33a8fbd585eecf93d3f47d1339026
-SIZE (qstardict-0.12.7.tar.bz2) = 303136
+MD5 (qstardict-0.12.9.tar.bz2) = 229f29065fd3831b7b678e85cf3ef2c9
+SHA256 (qstardict-0.12.9.tar.bz2) = f903d6960dd18b54a7442b573bce1f441aff198930380f23ca75c24d09fb673b
+SIZE (qstardict-0.12.9.tar.bz2) = 311769
diff --git a/textproc/qstardict/files/patch-qstardict.pri b/textproc/qstardict/files/patch-qstardict.pri
index 829b122dd358..289ca40fe98a 100644
--- a/textproc/qstardict/files/patch-qstardict.pri
+++ b/textproc/qstardict/files/patch-qstardict.pri
@@ -1,17 +1,10 @@
---- ./qstardict.pri.orig 2008-03-22 18:51:46.000000000 +0300
-+++ ./qstardict.pri 2008-03-24 01:40:52.000000000 +0300
-@@ -37,13 +37,12 @@
- }
+--- ./qstardict.pri.orig 2008-06-12 12:55:49.000000000 +0400
++++ ./qstardict.pri 2008-06-12 12:56:16.000000000 +0400
+@@ -36,7 +36,6 @@
+ windows:LIBS += -lzdll
unix:DEFINES += HAVE_MMAP
-unix:isEmpty(NO_DBUS):!contains(QT_CONFIG, qdbus): NO_DBUS = 1
unix:isEmpty(NO_DBUS):CONFIG += qdbus
unix:isEmpty(NO_DBUS):DEFINES += QSTARDICT_WITH_DBUS
isEmpty(NO_TRANSLATIONS):DEFINES += QSTARDICT_WITH_TRANSLATIONS
-
- unix {
-- isEmpty(INSTALL_PREFIX):INSTALL_PREFIX=/usr
-+ isEmpty(INSTALL_PREFIX):INSTALL_PREFIX=$$(PREFIX)
- isEmpty(BIN_DIR):BIN_DIR=$$INSTALL_PREFIX/bin
- isEmpty(DATA_DIR):DATA_DIR=$$INSTALL_PREFIX/share/qstardict
- isEmpty(NO_TRANSLATIONS):isEmpty(TRANSLATIONS_DIR):TRANSLATIONS_DIR=$$DATA_DIR/translations