Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= qstardict |
8 |
PORTNAME= qstardict |
9 |
PORTVERSION= 0.12.7 |
9 |
PORTVERSION= 0.12.9 |
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 19-28
Link Here
|
19 |
USE_QT_VER= 4 |
18 |
USE_QT_VER= 4 |
20 |
QT_COMPONENTS= gui network xml qmake_build uic_build moc_build rcc_build |
19 |
QT_COMPONENTS= gui network xml qmake_build uic_build moc_build rcc_build |
21 |
QMAKE_ARGS+= -recursive SEPARATE_TRANSLATIONS=1 |
20 |
QMAKE_ARGS+= -recursive SEPARATE_TRANSLATIONS=1 |
|
|
21 |
USE_DOS2UNIX= qstardict.pri |
22 |
|
22 |
|
23 |
DICPATH= ${PREFIX}/share/stardict/dic |
23 |
DICPATH= ${PREFIX}/share/stardict/dic |
24 |
|
24 |
|
25 |
PORTDOCS= AUTHORS COPYNG ChangeLog INSTALL README THANKS |
25 |
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS |
26 |
|
26 |
|
27 |
OPTIONS= DBUS "Enable D-BUS support" on |
27 |
OPTIONS= DBUS "Enable D-BUS support" on |
28 |
|
28 |
|
Lines 44-49
Link Here
|
44 |
post-patch: |
44 |
post-patch: |
45 |
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ |
45 |
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ |
46 |
${WRKSRC}/qstardict.pri |
46 |
${WRKSRC}/qstardict.pri |
|
|
47 |
@${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \ |
48 |
${WRKSRC}/qstardict.pro |
47 |
@${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \ |
49 |
@${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \ |
48 |
${WRKSRC}/plugins/stardict/stardict.cpp |
50 |
${WRKSRC}/plugins/stardict/stardict.cpp |
49 |
|
51 |
|