blob: 66e7b865895b7d6aecd8d9a1386ed7b0436145d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= goldendict
PORTVERSION= 1.0.1
PORTREVISION= 15
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= bsam@FreeBSD.org
COMMENT= Feature-rich Qt4 based dictionary lookup program
LICENSE= GPLv3
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \
libvorbis.so:audio/libvorbis
NO_WRKSUBDIR= yes
USES= compiler:c++11-lang dos2unix iconv:wchar_t pkgconfig qmake qt:4 tar:bzip2
DOS2UNIX_FILES= processwrapper.cc
USE_XORG= xtst
USE_QT= corelib gui webkit phonon \
linguist_build moc_build rcc_build script_build uic_build
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
INSTALLS_ICONS= yes
post-patch:
@${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/locale
${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|