summaryrefslogtreecommitdiff
path: root/chat/amsn/Makefile
blob: 0861db8520c2d8ece3e32ceb8a09356e45e28ae2 (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
# $NetBSD: Makefile,v 1.16 2010/06/25 08:30:23 obache Exp $
#

DISTNAME=		amsn-0.98.3
PKGREVISION=		2
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

PKG_DESTDIR_SUPPORT=	user-destdir
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_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
USE_TOOLS+=		perl:run bash:run

USE_TOOLS+=		gmake

CHECK_PORTABILITY_SKIP=	utils/macosx/finishbuild.sh

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