pkgsrc/chat/aim/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2006/05/22 22:22:02 jlam 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}
2003-07-17 23:21:03 +02:00
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}
NO_BUILD= YES
EXTRACT_ONLY= # nothing
PLIST_SRC= ${WRKDIR}/PLIST.rpm
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
INSTALLATION_DIRS= bin
.include "../../mk/bsd.pkg.mk"