1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/goldendict/Makefile
Boris Samorodov 4230709751 Adopt using qmake.
Requested by:	makc
2013-11-22 13:34:33 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= goldendict
PORTVERSION= 1.0.1
PORTREVISION= 6
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
LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
USES= dos2unix pkgconfig qmake
DOS2UNIX_FILES= processwrapper.cc
USE_XORG= xtst
USE_QT4= corelib gui webkit phonon \
linguist_build moc_build rcc_build script_build uic_build
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>