mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- 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)
This commit is contained in:
parent
08e029aa36
commit
b309d8545d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208308
@ -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>
|
||||
|
@ -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
|
||||
|
10
textproc/qstardict/files/patch-qstardict.pro
Normal file
10
textproc/qstardict/files/patch-qstardict.pro
Normal file
@ -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 \
|
Loading…
Reference in New Issue
Block a user