blob: a4f92c270d182e4950a2913382fb821a1d2ebda4 (
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
|
# $NetBSD: Makefile,v 1.18 2007/12/12 20:42:28 wiz Exp $
DISTNAME= aim-1.5.286-1.i386
PKGNAME= aim-1.5.286
PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://ftp.newaol.com/aimgen/380469/
EXTRACT_SUFX= .rpm
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.aim.com/
COMMENT= AOL Instant Messenger (SM)
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base compat x11 gtk
.include "../../mk/bsd.prefs.mk"
# This package installs from an RPM directly into "/usr" on a Linux
# system, which can't be managed by pkgsrc unless ${LOCALBASE} == "/usr".
#
.if (${OPSYS} == "Linux") && (${LOCALBASE} != "/usr")
NOT_FOR_PLATFORMS= Linux-*-*
.endif
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
EMUL_PKG_FMT= rpm
RPM2PKG_PREFIX= ${PREFIX}
RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
.if (${OPSYS} == "Linux") && (${LOCALBASE} == "/usr")
RPM2PKG_STRIP= 1
.else
RPM2PKG_STRIP= 0
.endif
RPM2PKG_STAGE= do-install
INSTALLATION_DIRS= bin
.if ${OPSYS} != "Linux"
post-install:
${LN} -fs ${EMULDIR}/usr/bin/aim ${PREFIX}/bin/aim
${ECHO} "bin/aim" >> ${RPM2PKG_PLIST}
.endif
.include "../../mk/bsd.pkg.mk"
|