File:  [cvs.NetBSD.org] / pkgsrc / editors / qgoogletranslator / Attic / Makefile
Revision 1.13: download - view: text, annotated - select for diffs
Sat Jan 26 21:37:29 2013 UTC (11 years, 10 months ago) by adam
Branches: MAIN
CVS tags: HEAD
Revbump after graphics/jpeg and textproc/icu

# $NetBSD: Makefile,v 1.13 2013/01/26 21:37:29 adam Exp $
#

DISTNAME=	qgoogletranslator-1.2.1
PKGREVISION=	10
CATEGORIES=	editors
MASTER_SITES=	http://qgt.googlecode.com/files/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://code.google.com/p/qgt/
COMMENT=	Qt gui for google translate based on ajax api
LICENSE=	gnu-gpl-v3

DEPENDS+=	mpg123-[0-9]*:../../audio/mpg123

USE_LANGUAGES=	c++ c
USE_CMAKE=	yes

LDFLAGS.DragonFly=	-lX11

FIND_PREFIX:=	MPG123DIR=mpg123
.include "../../mk/find-prefix.mk"

SUBST_CLASSES+=		mpg123-cmd
SUBST_STAGE.mpg123-cmd=	pre-configure
SUBST_FILES.mpg123-cmd=	src/defines.h.in
SUBST_SED.mpg123-cmd=	-e 's,/usr/bin/mpg123,${MPG123DIR}/bin/mpg123,'
SUBST_SED.mpg123-cmd+=	-e 's,/usr/local/bin/mpg123,${MPG123DIR}/bin/mpg123,'

.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>