Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+92
View File
@@ -0,0 +1,92 @@
# $NetBSD: Makefile.common,v 1.3 2012/10/03 12:55:19 asau Exp $
# used by emulators/suse113_base/Makefile
SUSE_PKG= yes
SUSE_VERSION= 12.1
EMUL_REQD= suse>=${SUSE_VERSION}
# The SuSE 12.x Linux packages are only usable on the following platforms.
# The SUSE_COMPAT32 packages are available only on x86_64 and they emulate i386.
# The non-SUSE_COMPAT32 packages are available on both i386 and x86_64
# and they emulate the corresponding linux platform.
.if !defined(SUSE_COMPAT32)
EMUL_PLATFORMS+= linux-x86_64
ONLY_FOR_PLATFORM+= NetBSD-5.99*-i386
ONLY_FOR_PLATFORM+= NetBSD-[6-9]*-i386
.endif
EMUL_PLATFORMS+= linux-i386
ONLY_FOR_PLATFORM+= NetBSD-5.99*-x86_64
ONLY_FOR_PLATFORM+= NetBSD-[6-9]*-x86_64
.include "../../mk/bsd.prefs.mk"
# _SUSE_ARCH.* is a table of ${EMUL_ARCH} to SuSE architectures.
_SUSE_ARCH.${EMUL_ARCH}= ${EMUL_ARCH}
_SUSE_ARCH.i386= i586
_SUSE_ARCH= ${_SUSE_ARCH.${EMUL_ARCH}}
SUSE_ARCH= ${_SUSE_ARCH}
_SUSE_FTP_SUBDIR= distribution/${SUSE_VERSION}/repo/oss/suse/
_SUSE_FTP_SUBDIR_UPD= update/${SUSE_VERSION}/
MASTER_SITE_SUSE_${SUSE_VERSION}= \
http://download.opensuse.org/${_SUSE_FTP_SUBDIR}
MASTER_SITE_SUSE_${SUSE_VERSION}_UPD= \
http://download.opensuse.org/${_SUSE_FTP_SUBDIR_UPD}
MASTER_SITES?= ${MASTER_SITE_SUSE_${SUSE_VERSION}}/${SUSE_ARCH}/
DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}
HOMEPAGE?= http://www.opensuse.org/
WRKSRC?= ${WRKDIR}
BUILD_DIRS?= # empty
MANCOMPRESSED?= yes
EMUL_PKG_FMT?= rpm
RPM2PKG_PREFIX?= ${DESTDIR}${PREFIX}
RPM2PKG_SUBPREFIX?= ${EMULSUBDIR}
RPM2PKG_STAGE?= do-install
SUSE_PKGSRCDIR= ${.CURDIR}/../${.CURDIR:T:S/_32_/_/}
FILESDIR= ${SUSE_PKGSRCDIR}/files
PATCHDIR= ${SUSE_PKGSRCDIR}/patches
PKGDIR= ${SUSE_PKGSRCDIR}
.if defined(SUSE_COMPAT32)
PKGNAME:= ${DISTNAME:S/^suse_/suse32_/}
COMMENT:= ${COMMENT:S/Linux/Linux 32-bit/}
.if defined(CONFLICTS)
CONFLICTS:= ${CONFLICTS:S/^suse_/suse32_/}
.endif
LINUX_BASE= linux32
.else
LINUX_BASE= linux
.endif
PLIST_SUBST+= LINUX_BASE=${LINUX_BASE:Q}
FILES_SUBST+= LINUX_BASE=${LINUX_BASE:Q}
LINUX_LIBSUBDIR?= lib
PLIST_SUBST+= LINUX_LIBSUBDIR=${LINUX_LIBSUBDIR:Q}
FILES_SUBST+= LINUX_LIBSUBDIR=${LINUX_LIBSUBDIR:Q}
# Include an "override" SuSE-specific and architecture-specific
# Makefile fragment if it exists.
#
.sinclude "${SUSE_PKGSRCDIR}/suse.${EMUL_ARCH}.mk"
.if defined(RPMPKGS) && !empty(RPMPKGS)
. for distfile in ${RPMPKGS}
DISTFILES+= ${distfile}.rpm
SITES.${distfile:T:S/=/--/}.rpm?= \
${MASTER_SITE_SUSE_${SUSE_VERSION}}${distfile:E}/
. endfor
.endif
.if defined(RPMUPDPKGS) && !empty(RPMUPDPKGS)
. for distfile in ${RPMUPDPKGS}
DISTFILES+= ${distfile}.rpm
SITES.${distfile:T:S/=/--/}.rpm?= \
${MASTER_SITE_SUSE_${SUSE_VERSION}_UPD}${distfile:E}/
. endfor
.endif
+53
View File
@@ -0,0 +1,53 @@
# $NetBSD: emulator.mk,v 1.1.1.1 2012/03/21 13:40:05 obache Exp $
#
# This file is included by linux-suse.mk in the emulator framework.
#
# Variables set by this file:
#
# EMUL_DISTRO
# The SuSE Linux distribution.
#
# DEPENDS_${EMUL_DISTRO}.*
# A table that maps "modules" to SuSE package dependencies.
#
EMUL_DISTRO= suse-12.1
.if defined(SUSE_PKG)
_SUSE_VERSION_REQD= -12.1{,nb*}
.else
_SUSE_VERSION_REQD= >=12.1<12.2
.endif
# DEPENDS_suse-12.1.* maps Linux "modules" to SuSE package dependencies.
DEPENDS_suse-12.1.alsa?= suse_alsa${_SUSE_VERSION_REQD}:../../emulators/suse121_alsa
DEPENDS_suse-12.1.aspell?= suse_aspell${_SUSE_VERSION_REQD}:../../emulators/suse121_aspell
DEPENDS_suse-12.1.base?= suse_base${_SUSE_VERSION_REQD}:../../emulators/suse121_base
DEPENDS_suse-12.1.compat?= suse_compat${_SUSE_VERSION_REQD}:../../emulators/suse121_compat
DEPENDS_suse-12.1.cups?= suse_libcups${_SUSE_VERSION_REQD}:../../emulators/suse121_libcups
DEPENDS_suse-12.1.curl?= suse_libcurl${_SUSE_VERSION_REQD}:../../emulators/suse121_libcurl
DEPENDS_suse-12.1.drm?= suse_libdrm${_SUSE_VERSION_REQD}:../../emulators/suse121_libdrm
DEPENDS_suse-12.1.expat?= suse_expat${_SUSE_VERSION_REQD}:../../emulators/suse121_expat
DEPENDS_suse-12.1.fontconfig?= suse_fontconfig${_SUSE_VERSION_REQD}:../../emulators/suse121_fontconfig
DEPENDS_suse-12.1.freetype2?= suse_freetype2${_SUSE_VERSION_REQD}:../../emulators/suse121_freetype2
DEPENDS_suse-12.1.glx?= suse_glx${_SUSE_VERSION_REQD}:../../emulators/suse121_glx
DEPENDS_suse-12.1.gtk2?= suse_gtk2${_SUSE_VERSION_REQD}:../../emulators/suse121_gtk2
DEPENDS_suse-12.1.jpeg?= suse_libjpeg${_SUSE_VERSION_REQD}:../../emulators/suse121_libjpeg
DEPENDS_suse-12.1.krb5?= suse_krb5${_SUSE_VERSION_REQD}:../../emulators/suse121_krb5
DEPENDS_suse-12.1.libsigc++2?= suse_libsigc++2${_SUSE_VERSION_REQD}:../../emulators/suse121_libsigc++2
DEPENDS_suse-12.1.locale?= suse_locale${_SUSE_VERSION_REQD}:../../emulators/suse121_locale
DEPENDS_suse-12.1.motif?= suse_openmotif${_SUSE_VERSION_REQD}:../../emulators/suse121_openmotif
DEPENDS_suse-12.1.openssl?= suse_openssl${_SUSE_VERSION_REQD}:../../emulators/suse121_openssl
DEPENDS_suse-12.1.png?= suse_libpng${_SUSE_VERSION_REQD}:../../emulators/suse121_libpng
DEPENDS_suse-12.1.qt4?= suse_qt4${_SUSE_VERSION_REQD}:../../emulators/suse121_qt4
DEPENDS_suse-12.1.slang?= suse_slang${_SUSE_VERSION_REQD}:../../emulators/suse121_slang
DEPENDS_suse-12.1.tiff?= suse_libtiff${_SUSE_VERSION_REQD}:../../emulators/suse121_libtiff
DEPENDS_suse-12.1.x11?= suse_x11${_SUSE_VERSION_REQD}:../../emulators/suse121_x11
DEPENDS_suse-12.1.xml2?= suse_libxml2${_SUSE_VERSION_REQD}:../../emulators/suse121_libxml2
.if (${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")
. for _mod_ in ${_EMUL_MODULES}
DEPENDS_suse-12.1.${_mod_}:= \
${DEPENDS_suse-12.1.${_mod_}:S/^suse_/suse32_/:S/suse121_/&32_/}
. endfor
.endif