summaryrefslogtreecommitdiff
path: root/chat/aim/Makefile
blob: 162dc738ecd396d304254e7196618415ca5b7bb1 (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.10 2005/12/05 20:49:52 rillig Exp $

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

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

BUILD_DEPENDS+=	rpm2pkg>=1.2:../../pkgtools/rpm2pkg
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

ONLY_FOR_PLATFORM= NetBSD-*-i386

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

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

DIST_SUBDIR=	.
RPMFILES=	${DISTFILES}

INSTALLATION_DIRS=	bin

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"
.include "../../mk/bsd.pkg.mk"