freebsd-ports/textproc/goldendict/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

37 lines
1016 B
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= goldendict
PORTVERSION= 1.0.1
PORTREVISION= 8
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 \
libvorbis.so:${PORTSDIR}/audio/libvorbis
NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
USES= dos2unix execinfo iconv pkgconfig qmake tar:bzip2
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>