summaryrefslogtreecommitdiff
path: root/chat
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
commit1f6a39a84e10fec37df3728c67f6821cc88e7231 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /chat
parent7923936df560993a53a43905e2f693c1d5d6fdba (diff)
downloadpkgsrc-1f6a39a84e10fec37df3728c67f6821cc88e7231.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')
-rw-r--r--chat/aim/Makefile16
-rw-r--r--chat/ymessenger/Makefile14
2 files changed, 18 insertions, 12 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"
diff --git a/chat/ymessenger/Makefile b/chat/ymessenger/Makefile
index f0e0aba7722..e6232cb3824 100644
--- a/chat/ymessenger/Makefile
+++ b/chat/ymessenger/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/05 20:49:54 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2005/12/12 14:43:23 joerg Exp $
DISTNAME= ymessenger-0.93.0
CATEGORIES= chat
@@ -9,11 +9,16 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://messenger.yahoo.com/
COMMENT= Yahoo! instant messaging client
+RPMFILES= ${DISTFILES}
+
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_gtk>=6.4:../../emulators/${SUSE_DIR_PREFIX}_gtk
+.endif
-ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-i386 NetBSD-1.4Z[A-Z]-i386 \
- NetBSD-1.[5-9]*-i386 NetBSD-[2-9]*-i386
+ONLY_FOR_PLATFORM= *-*-i386
CHECK_SHLIBS= no
@@ -30,10 +35,7 @@ NO_BUILD= yes
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-RPMFILES= ${DISTFILES}
-
post-install:
${LN} -fs ../${EMULSUBDIR}/usr/local/bin/ymessenger ${PREFIX}/bin
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"