Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= qstardict |
8 |
PORTNAME= qstardict |
9 |
PORTVERSION= 0.03 |
9 |
PORTVERSION= 0.05 |
10 |
CATEGORIES= textproc |
10 |
CATEGORIES= textproc |
11 |
MASTER_SITES= http://qstardict.ylsoftware.com/files/ \ |
11 |
MASTER_SITES= http://qstardict.ylsoftware.com/files/ \ |
12 |
ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ |
12 |
ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ |
Lines 22-33
Link Here
|
22 |
|
22 |
|
23 |
PORTDOCS= AUTHORS COPYNG ChangeLog INSTALL README THANKS |
23 |
PORTDOCS= AUTHORS COPYNG ChangeLog INSTALL README THANKS |
24 |
|
24 |
|
25 |
.if !defined(WITHOUT_NLS) |
|
|
26 |
PLIST_SUB+= NLS="" |
27 |
.else |
28 |
PLIST_SUB+= NLS="@comment " |
29 |
.endif |
30 |
|
31 |
post-patch: |
25 |
post-patch: |
32 |
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ |
26 |
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ |
33 |
${WRKSRC}/qstardict.pro |
27 |
${WRKSRC}/qstardict.pro |
Lines 38-47
Link Here
|
38 |
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} |
32 |
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} |
39 |
|
33 |
|
40 |
post-install: |
34 |
post-install: |
41 |
.if !defined(WITHOUT_NLS) |
|
|
42 |
@${MKDIR} ${DATADIR}/translations |
43 |
(cd ${WRKSRC}/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations) |
44 |
.endif |
45 |
.if !defined(NOPORTDOCS) |
35 |
.if !defined(NOPORTDOCS) |
46 |
@${MKDIR} ${DOCSDIR} |
36 |
@${MKDIR} ${DOCSDIR} |
47 |
.for doc in AUTHORS COPYNG ChangeLog INSTALL README THANKS |
37 |
.for doc in AUTHORS COPYNG ChangeLog INSTALL README THANKS |