summaryrefslogtreecommitdiff
path: root/chat/ymessenger/Makefile
blob: 7c06ed517248e3410dc089ad92e12a12c7678ce2 (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
# $NetBSD: Makefile,v 1.18 2007/07/29 05:18:37 jlam Exp $

DISTNAME=		rh9.ymessenger-1.0.4-1.i386
PKGNAME=		ymessenger-1.0.4
CATEGORIES=		chat
MASTER_SITES=		http://download.yahoo.com/dl/unix/
EXTRACT_SUFX=		.rpm

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://messenger.yahoo.com/
COMMENT=		Yahoo! instant messaging client

LICENSE=		generic-nonlicense
RESTRICTED=		Commercial software (no permission to copy is evident).
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

EMUL_PLATFORMS=		linux-i386
EMUL_MODULES.linux=	compat gtk gdk-pixbuf

WRKSRC=			${WRKDIR}
BUILD_DIRS=		# empty

EMUL_PKG_FMT=		rpm
RPM2PKG_PREFIX=		${PREFIX}
RPM2PKG_SUBPREFIX=	${EMULSUBDIR}
RPM2PKG_STAGE=		do-install
RPMIGNOREFILES=		./usr

EMUL_YMESSENGER=	${EMULDIR}/opt/ymessenger/bin/ymessenger
YMESSENGER=		${PREFIX}/bin/ymessenger

post-install:
	${SED} '1 s,bin,${EMULSUBDIRSLASH}bin,'				\
		${EMUL_YMESSENGER} > ${YMESSENGER}
	${CHMOD} 755 ${YMESSENGER}

.include "../../mk/bsd.pkg.mk"