diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2008-11-21 15:48:50 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2008-11-21 15:48:50 +0000 |
commit | 42fc23de7500e463057fa9bf5ffa50f52b86aee4 (patch) | |
tree | 285ddfa419becb8b62206968c0bc05356f700ca7 /textproc/linux-f8-scim-libs/Makefile | |
parent | 053280bd76947705f90ea21738d6e3dcc60554dd (diff) |
- Add linux_base-{f7,f8} support.
- Separate out gtk module part to textproc/linux-scim-gtk.
Notes
Notes:
svn path=/head/; revision=223127
Diffstat (limited to 'textproc/linux-f8-scim-libs/Makefile')
-rw-r--r-- | textproc/linux-f8-scim-libs/Makefile | 45 |
1 files changed, 37 insertions, 8 deletions
diff --git a/textproc/linux-f8-scim-libs/Makefile b/textproc/linux-f8-scim-libs/Makefile index 0fe27db0fa8c..f4159156d85d 100644 --- a/textproc/linux-f8-scim-libs/Makefile +++ b/textproc/linux-f8-scim-libs/Makefile @@ -6,25 +6,54 @@ # PORTNAME= scim-libs -PORTVERSION= 1.4.4 +PORTVERSION= # defined below +PORTREVISION= 1 CATEGORIES= textproc linux -MASTER_SITE_SUBDIR= ../extras/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} -MASTER_SITE_SRC_SUBDIR= ../extras/${LINUX_DIST_VER}/SRPMS -DISTNAME= ${PORTNAME}-${PORTVERSION}-1.fc4 +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 RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 +MASTER_SITE_SRC_SUBDIR= # defined below +SRC_DISTFILES= scim-${PORTVERSION}-${PORTSUBVERSION}.fc${LINUX_DIST_VER}${SRC_SUFX} + ONLY_FOR_ARCHS= i386 amd64 USE_LINUX_RPM= yes -SRC_DISTFILES= scim-${PORTVERSION}-1.fc4${SRC_SUFX} -LINUX_DIST_VER= 4 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} + +.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 -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 +.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 .include <bsd.port.mk> |