blob: 4e9b6aa88e2167806c962a8bd59bedbec873365a (
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
|
# $NetBSD: Makefile,v 1.20 2011/02/22 08:16:00 obache 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}
PKG_DESTDIR_SUPPORT= user-destdir
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= compat gtk gdk-pixbuf
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
EMUL_PKG_FMT= rpm
RPM2PKG_PREFIX= ${DESTDIR}${PREFIX}
RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
RPM2PKG_STAGE= do-install
RPMIGNOREFILES= ./usr
EMUL_YMESSENGER= ${EMULDIR}/opt/ymessenger/bin/ymessenger
YMESSENGER= ${PREFIX}/bin/ymessenger
INSTALLATION_DIRS+= bin
post-install:
${SED} '1 s,bin,${EMULSUBDIRSLASH}bin,' \
${DESTDIR}${EMUL_YMESSENGER} > ${DESTDIR}${YMESSENGER}
${CHMOD} 755 ${DESTDIR}${YMESSENGER}
.include "../../mk/bsd.pkg.mk"
|