diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2009-04-01 15:25:39 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2009-04-01 15:25:39 +0000 |
commit | 824eda00fccb57b36978b562ecfc6572fa5de766 (patch) | |
tree | dddb20be9539275c41e943b4763c0b29ba61151d /textproc/linux-f8-scim-libs/Makefile | |
parent | 8217c4dd1dea5cbe146907f97afb3e458208ec77 (diff) |
Here are new Linux Fedora 8 infrastructure ports.
The recommended version of FreeBSD to use them is 8-CURRENT.
FreeBSD-7.x is not fully compatible with compat.linux.osrelease
2.6.16. Some syscalls cannot be MFCed due to native FreeBSD
ABI breakage.
Usage (and package building):
1. define compat.linux.osrelease=2.6.16;
2. add following variables to /etc/make.conf:
. OVERRIDE_LINUX_BASE_PORT=f8;
. OVERRIDE_LINUX_NONBASE_PORTS=f8.
Approved by: bsam (me) ;-)
Notes
Notes:
svn path=/head/; revision=231438
Diffstat (limited to 'textproc/linux-f8-scim-libs/Makefile')
-rw-r--r-- | textproc/linux-f8-scim-libs/Makefile | 56 |
1 files changed, 14 insertions, 42 deletions
diff --git a/textproc/linux-f8-scim-libs/Makefile b/textproc/linux-f8-scim-libs/Makefile index d180ded8f0d2..5bc2397693e5 100644 --- a/textproc/linux-f8-scim-libs/Makefile +++ b/textproc/linux-f8-scim-libs/Makefile @@ -1,58 +1,30 @@ -# New ports collection makefile for: linux-scim-libs -# Date created: 8 January 2008 -# Whom: hrs +# New ports collection makefile for: textproc/linux-f8-scim-libs +# Date created: 2008-04-15 +# Whom: bsam # # $FreeBSD$ # PORTNAME= scim-libs -PORTVERSION= # defined below -PORTREVISION= 1 +PORTVERSION= 1.4.7 CATEGORIES= textproc linux -MASTER_SITE_SUBDIR= # defined below -PKGNAMESUFFIX= -fc${LINUX_DIST_VER} -DISTNAME= ${PORTNAME}-${PORTVERSION}-${PORTSUBVERSION}.fc${LINUX_DIST_VER} - -MAINTAINER= hrs@FreeBSD.org -COMMENT= Smart Common Input Method platform, library part, Linux binary +PKGNAMEPREFIX= linux-f8- +DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} -MASTER_SITE_SRC_SUBDIR= # defined below -SRC_DISTFILES= scim-${PORTVERSION}-${PORTSUBVERSION}.fc${LINUX_DIST_VER}${SRC_SUFX} +MAINTAINER= emulation@FreeBSD.org +COMMENT= Smart Common Input Method libraries (Linux Fedora 8) ONLY_FOR_ARCHS= i386 amd64 USE_LINUX_RPM= yes USE_LINUX_APPS= gtk2 +LINUX_DIST_VER= 8 +RPMVERSION= 7.fc8 USE_LDCONFIG= yes -PLIST_SUB= LINUX_RPM_ARCH=${LINUX_RPM_ARCH} -PLIST= ${PKGDIR}/pkg-plist.fc${LINUX_DIST_VER} -MD5_FILE= ${PKGDIR}/distinfo.${LINUX_RPM_ARCH}.fc${LINUX_DIST_VER} +SRC_DISTFILES= scim-${PORTVERSION}-${RPMVERSION}.src.rpm -.if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == f8 -PORTVERSION= 1.4.7 -PORTSUBVERSION= 7 -LINUX_DIST_VER= 8 -MASTER_SITE_SUBDIR= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages -MASTER_SITE_SRC_SUBDIR= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS -.elif defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == f7 -PORTVERSION= 1.4.5 -PORTSUBVERSION= 18 -LINUX_DIST_VER= 7 -MASTER_SITE_SUBDIR= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Fedora -MASTER_SITE_SRC_SUBDIR= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS -.else -PORTVERSION= 1.4.4 -PORTSUBVERSION= 1 -LINUX_DIST_VER= 4 -MASTER_SITE_SUBDIR= ../extras/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} -MASTER_SITE_SRC_SUBDIR= ../extras/${LINUX_DIST_VER}/SRPMS -post-extract: - cd ${WRKDIR}/usr/lib && ${RM} -rf gtk-2.0 -.endif +DESCR= ${.CURDIR}/../scim/pkg-descr -.for V in fc4 f7 f8 -makesum-${V}: - ${MAKE} PACKAGE_BUILDING=yes OVERRIDE_LINUX_BASE_PORT=${V} makesum -.endfor -makesum-all: makesum-fc4 makesum-f7 makesum-f8 +post-install: + @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0-32 > ${PREFIX}/etc/gtk-2.0/${LINUX_RPM_ARCH}-redhat-linux-gnu/gtk.immodules .include <bsd.port.mk> |