summaryrefslogtreecommitdiff
path: root/emulators/suse100_slang
diff options
context:
space:
mode:
authorjlam <jlam>2007-07-29 05:18:36 +0000
committerjlam <jlam>2007-07-29 05:18:36 +0000
commit275d7ca4f86079521544b7e820383bc271742a03 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /emulators/suse100_slang
parent838c2b6ce6faa38ac52676e60b80d81504e7827c (diff)
downloadpkgsrc-275d7ca4f86079521544b7e820383bc271742a03.tar.gz
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
Diffstat (limited to 'emulators/suse100_slang')
-rw-r--r--emulators/suse100_slang/DESCR9
-rw-r--r--emulators/suse100_slang/Makefile29
-rw-r--r--emulators/suse100_slang/Makefile.i3863
-rw-r--r--emulators/suse100_slang/Makefile.powerpc3
-rw-r--r--emulators/suse100_slang/Makefile.x86_643
-rw-r--r--emulators/suse100_slang/PLIST2
-rw-r--r--emulators/suse100_slang/PLIST_rpmfix.i3862
7 files changed, 16 insertions, 35 deletions
diff --git a/emulators/suse100_slang/DESCR b/emulators/suse100_slang/DESCR
index f9f21396127..f870b1b9b9f 100644
--- a/emulators/suse100_slang/DESCR
+++ b/emulators/suse100_slang/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-the "slang" library.
+This package supports running ELF binaries linked with glibc2 that
+require S-Lang shared libraries.
diff --git a/emulators/suse100_slang/Makefile b/emulators/suse100_slang/Makefile
index 5b48a342908..c0311a3a591 100644
--- a/emulators/suse100_slang/Makefile
+++ b/emulators/suse100_slang/Makefile
@@ -1,27 +1,20 @@
-# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:22 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/29 05:18:58 jlam Exp $
-DISTNAME= suse_slang-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_slang-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
+DISTFILES= slang-1.4.9-127.${SUSE_ARCH}.rpm
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for slang library
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Linux compatibility package for S-Lang
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
+EMUL_MODULES.linux= base
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+# This symlink is managed by ldconfig(8).
+CHECK_FILES_SKIP+= ${EMULDIR}/usr/${LINUX_LIBSUBDIR}/libslang.so.1
post-install:
- cd ${PREFIX}/${EMULSUBDIR}/usr/lib && \
- ${LN} -sf libslang-utf8.so.1 libslang.so.1
+ cd ${EMULDIR}/usr/lib && ${LN} -fs libslang-utf8.so.1 libslang.so.1
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse100_slang/Makefile.i386 b/emulators/suse100_slang/Makefile.i386
deleted file mode 100644
index 919a4929a5c..00000000000
--- a/emulators/suse100_slang/Makefile.i386
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1.1.1 2006/04/18 14:43:27 salo Exp $
-
-RPMFILES= slang-1.4.9-127.${SUSE_ARCH}.rpm
diff --git a/emulators/suse100_slang/Makefile.powerpc b/emulators/suse100_slang/Makefile.powerpc
deleted file mode 100644
index ad5d557c2f3..00000000000
--- a/emulators/suse100_slang/Makefile.powerpc
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/04/18 14:43:27 salo Exp $
-
-RPMFILES= slang-1.4.9-127.${SUSE_ARCH}.rpm
diff --git a/emulators/suse100_slang/Makefile.x86_64 b/emulators/suse100_slang/Makefile.x86_64
deleted file mode 100644
index 448940cc2e0..00000000000
--- a/emulators/suse100_slang/Makefile.x86_64
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/04/18 14:43:27 salo Exp $
-
-RPMFILES= slang-1.4.9-127.${SUSE_ARCH}.rpm
diff --git a/emulators/suse100_slang/PLIST b/emulators/suse100_slang/PLIST
deleted file mode 100644
index 4451b4a5386..00000000000
--- a/emulators/suse100_slang/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2006/06/30 16:20:24 salo Exp $
-@exec ${LN} -sf %D/${EMULSUBDIR}/usr/lib/libslang-utf8.so.1 %D/${EMULSUBDIR}/usr/lib/libslang.so.1
diff --git a/emulators/suse100_slang/PLIST_rpmfix.i386 b/emulators/suse100_slang/PLIST_rpmfix.i386
deleted file mode 100644
index ba94212ba3d..00000000000
--- a/emulators/suse100_slang/PLIST_rpmfix.i386
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST_rpmfix.i386,v 1.1 2006/04/28 14:15:06 joerg Exp $
-/usr/lib/libslang.so.1