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> |