summaryrefslogtreecommitdiff
path: root/chat/amsn/Makefile
blob: 85acb0f03cbf1faf90f2526c5d8e1d6a007ee6af (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# $NetBSD: Makefile,v 1.24 2012/10/03 00:02:33 asau Exp $
#

DISTNAME=		amsn-0.98.3
PKGREVISION=	5
CATEGORIES=		chat
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=amsn/}
DISTFILES=		${DISTNAME}-src.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.amsn-project.net/
COMMENT=		Alvaro\'s MSN messenger client
LICENSE=		gnu-gpl-v2

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
USE_LANGUAGES=		c c++
AUTO_MKDIRS=		yes

REPLACE_INTERPRETER+=	WISH
REPLACE.WISH.old=	.*wish
REPLACE.WISH.new=	${PREFIX}/bin/wish
REPLACE_FILES.WISH=	amsn-remote
REPLACE_FILES.WISH+=	skins/Dark\ Matter\ 4.0/pixmapscroll/test.tcl
REPLACE_FILES.WISH+=	skins/Oxygen/pixmapscroll/test.tcl
REPLACE_FILES.WISH+=	utils/linux/capture/test.tcl
REPLACE_FILES.WISH+=	utils/pixmapbutton/test.tcl
REPLACE_FILES.WISH+=	utils/pixmapprogbar/test.tcl
REPLACE_FILES.WISH+=	utils/pixmapscroll/test.tcl
REPLACE_FILES.WISH+=	utils/voipcontrols/test.tcl

REPLACE_INTERPRETER+=	TCLSH
REPLACE.TCLSH.old=	.*tclsh
REPLACE.TCLSH.new=	${PREFIX}/bin/tclsh
REPLACE_FILES.TCLSH=	amsn-remote-CLI lang/convert.tcl

REPLACE_PERL=		utils/amsnctl.pl lang/complete.pl
REPLACE_PERL+=		plugins/music/infogmusicbrowser
REPLACE_BASH=		utils/update-amsn.sh
REPLACE_BASH+=		plugins/music/infoamarok2
REPLACE_BASH+=		plugins/music/infoexaile
REPLACE_BASH+=		plugins/music/infojuk2
REPLACE_BASH+=		plugins/music/infolastfm
REPLACE_BASH+=		plugins/music/infomoc
REPLACE_BASH+=		plugins/music/infompris
REPLACE_BASH+=		plugins/music/inforhythmbox
REPLACE_BASH+=		plugins/music/infospotify
REPLACE_BASH+=		plugins/music/infovlc
REPLACE_PYTHON+=	plugins/music/infosongbird
REPLACE_PYTHON+=	lang/missing.py
USE_TOOLS+=		perl:run bash:run

USE_TOOLS+=		gmake

CHECK_PORTABILITY_SKIP=	utils/macosx/finishbuild.sh

.include "../../lang/python/application.mk"
.include "../../security/tcl-tls/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"