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

(-)qstardict/Makefile (-11 / +1 lines)
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
(-)qstardict/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qstardict-0.03.tar.bz2) = 5e4ba2a3fcf712b4a30bd2d1cb4889fd
1
MD5 (qstardict-0.05.tar.bz2) = 9ace1928edcc808f3c4b9a827e050a39
2
SHA256 (qstardict-0.03.tar.bz2) = a710c4e3c9894a2243b44798f35782cdc27f8d92a1b4acf7bc83ffa13e98a9a0
2
SHA256 (qstardict-0.05.tar.bz2) = 9a54124ed97f01af780430f124937afe680509cfa5a02677fb98c0080b3f08ac
3
SIZE (qstardict-0.03.tar.bz2) = 179052
3
SIZE (qstardict-0.05.tar.bz2) = 170500
(-)qstardict/pkg-plist (-4 lines)
Lines 1-8 Link Here
1
bin/qstardict
1
bin/qstardict
2
share/applications/qstardict.desktop
2
share/applications/qstardict.desktop
3
share/pixmaps/qstardict.png
3
share/pixmaps/qstardict.png
4
%%NLS%%%%DATADIR%%/translations/qstardict-ru_RU.qm
5
%%NLS%%%%DATADIR%%/translations/qstardict-zh_TW.qm
6
%%NLS%%@dirrm %%DATADIR%%/translations
7
%%NLS%%@dirrm %%DATADIR%%
8
@dirrmtry share/applications
4
@dirrmtry share/applications

Return to bug 115039