summaryrefslogtreecommitdiff
path: root/chat/aim
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
commitae0f7bb6570a72f4f758209a00fd719e85fd5227 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /chat/aim
parentc1f29c2cdbfd37ad83c7801866c9b1288f1e446c (diff)
downloadpkgsrc-ae0f7bb6570a72f4f758209a00fd719e85fd5227.tar.gz
First step at reworking Linux binary packages.
Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms.
Diffstat (limited to 'chat/aim')
-rw-r--r--chat/aim/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/chat/aim/Makefile b/chat/aim/Makefile
index 162dc738ecd..cc99a4239c9 100644
--- a/chat/aim/Makefile
+++ b/chat/aim/Makefile
@@ -1,21 +1,29 @@
-# $NetBSD: Makefile,v 1.10 2005/12/05 20:49:52 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2005/12/12 14:43:23 joerg Exp $
DISTNAME= aim-1.5.286
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
+
+.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= NetBSD-*-i386
+ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}
CHECK_SHLIBS= NO
@@ -25,9 +33,6 @@ EXTRACT_ONLY= # nothing
PLIST_SRC= ${WRKDIR}/PLIST.rpm
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-DIST_SUBDIR= .
-RPMFILES= ${DISTFILES}
-
INSTALLATION_DIRS= bin
do-install:
@@ -36,5 +41,4 @@ do-install:
-p ${EMULSUBDIR} ${DISTDIR}/${DISTFILES}
${LN} -fs ../${EMULSUBDIR}/usr/bin/aim ${PREFIX}/bin/aim
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"