summaryrefslogtreecommitdiff
path: root/chat/aim/Makefile
blob: 5436cdaeb7bc5e58d8291811be723dc03045b464 (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
# $NetBSD: Makefile,v 1.14 2006/02/05 23:08:23 joerg Exp $

DISTNAME=	aim-1.5.286
PKGREVISION=	1
CATEGORIES=	chat
MASTER_SITES=	http://ftp.newaol.com/aimgen/380469/
EXTRACT_SUFX=	-1.i386.rpm

DIST_SUBDIR=	.
RPMFILES=	${DISTFILES}

MAINTAINER=	fredb@NetBSD.org
HOMEPAGE=	http://www.aim.com/
COMMENT=	AOL Instant Messenger (SM)

BUILD_DEPENDS+=	rpm2pkg>=1.2:../../pkgtools/rpm2pkg

do-install:
	${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
	${LOCALBASE}/sbin/rpm2pkg -d ${PREFIX} -f ${PLIST_SRC} \
	        -p ${EMULSUBDIR} ${DISTDIR}/${DISTFILES}
	${LN} -fs ../${EMULSUBDIR}/usr/bin/aim ${PREFIX}/bin/aim

.include "../../emulators/suse_linux/Makefile.application"

.if !defined(USE_NATIVE_LINUX)
DEPENDS+=	suse_base>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_base
DEPENDS+=	suse_compat>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+=	suse_x11>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_x11
DEPENDS+=	suse_gtk>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_gtk
.endif

ONLY_FOR_PLATFORM= *-*-i386

WRKSRC=		${WRKDIR}
CHECK_SHLIBS=	NO
NO_BUILD=	YES

EXTRACT_ONLY=	# nothing
PLIST_SRC=	${WRKDIR}/PLIST.rpm
PLIST_SUBST+=	EMULSUBDIR=${EMULSUBDIR:Q}

INSTALLATION_DIRS=	bin

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