View | Details | Raw Unified | Return to bug 119457
Collapse All | Expand All

(-)/home/makc/porting/ports/textproc/qstardict/Makefile (-5 / +18 lines)
Lines 2-13 Link Here
2
# Date created:		12 Jul 2007
2
# Date created:		12 Jul 2007
3
# Whom:			Yinghong.Liu <relaxbsd@gmail.com>
3
# Whom:			Yinghong.Liu <relaxbsd@gmail.com>
4
#
4
#
5
# $FreeBSD: ports/textproc/qstardict/Makefile,v 1.4 2007/12/15 00:04:47 pav Exp $
5
# $FreeBSD: ports/textproc/qstardict/Makefile,v 1.3 2007/08/11 09:17:11 rafan Exp $
6
#
6
#
7
7
8
PORTNAME=	qstardict
8
PORTNAME=	qstardict
9
PORTVERSION=	0.05
9
PORTVERSION=	0.08
10
PORTREVISION=	1
11
CATEGORIES=	textproc
10
CATEGORIES=	textproc
12
MASTER_SITES=	http://qstardict.ylsoftware.com/files/ \
11
MASTER_SITES=	http://qstardict.ylsoftware.com/files/ \
13
		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
12
		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
Lines 23-28 Link Here
23
22
24
PORTDOCS=	AUTHORS COPYNG ChangeLog INSTALL README THANKS
23
PORTDOCS=	AUTHORS COPYNG ChangeLog INSTALL README THANKS
25
24
25
OPTIONS=	DBUS "Enable D-BUS support" on
26
27
.include <bsd.port.pre.mk>
28
.if defined(WITHOUT_NLS)
29
QMAKE_ARGS+=	NO_TRANSLATIONS=1
30
.endif
31
32
.if defined(WITHOUT_DBUS)
33
QMAKE_ARGS+=	NO_DBUS=1
34
.else
35
#QMAKE_ARGS+=	"CONFIG+=qdbus"
36
LIB_DEPENDS+=	QtDBus.4:${PORTSDIR}/devel/dbus-qt4
37
.endif
38
26
post-patch:
39
post-patch:
27
	@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \
40
	@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \
28
		${WRKSRC}/qstardict.pro
41
		${WRKSRC}/qstardict.pro
Lines 30-36 Link Here
30
		${WRKSRC}/src/dictcore.cpp
43
		${WRKSRC}/src/dictcore.cpp
31
44
32
post-configure:
45
post-configure:
33
	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
46
	cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
34
47
35
post-install:
48
post-install:
36
.if !defined(NOPORTDOCS)
49
.if !defined(NOPORTDOCS)
Lines 41-44 Link Here
41
.endif
54
.endif
42
	@${CAT} ${PKGMESSAGE}
55
	@${CAT} ${PKGMESSAGE}
43
56
44
.include <bsd.port.mk>
57
.include <bsd.port.post.mk>
(-)/home/makc/porting/ports/textproc/qstardict/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qstardict-0.05.tar.bz2) = 9ace1928edcc808f3c4b9a827e050a39
1
MD5 (qstardict-0.08.tar.bz2) = f3bbb1ab807a3558615fcb36e2824260
2
SHA256 (qstardict-0.05.tar.bz2) = 9a54124ed97f01af780430f124937afe680509cfa5a02677fb98c0080b3f08ac
2
SHA256 (qstardict-0.08.tar.bz2) = b33a93f4c7b85997e50bd161035c783e134438bc741ead7325f762d737e96e1b
3
SIZE (qstardict-0.05.tar.bz2) = 170500
3
SIZE (qstardict-0.08.tar.bz2) = 184903
(-)/home/makc/porting/ports/textproc/qstardict/files/patch-qstardict.pro (+10 lines)
Line 0 Link Here
1
--- ./qstardict.pro.orig	2007-11-11 16:32:55.000000000 +0300
2
+++ ./qstardict.pro	2007-11-19 01:48:14.000000000 +0300
3
@@ -5,7 +5,6 @@
4
 VERSION = 0.08
5
 DEFINES += QSTARDICT_VERSION=\\\"$$VERSION\\\"
6
 
7
-unix:isEmpty(NO_DBUS):!contains(QT_CONFIG, qdbus): NO_DBUS = 1
8
 
9
 QT = \
10
     gui \

Return to bug 119457