blob: 8e79a03884db012816fc7466ea416a7fc19cc4ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# New ports collection makefile for: linux-scim-libs
# Date created: 8 January 2008
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= scim-libs
PORTVERSION= # defined below
PORTREVISION= 4
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
CONFLICTS= linux-f8-scim-libs-[0-9]* linux-f10-scim-libs-[0-9]*
MASTER_SITE_SRC_SUBDIR= # defined below
SRC_DISTFILES= scim-${PORTVERSION}-${PORTSUBVERSION}.fc${LINUX_DIST_VER}${SRC_SUFX}
# EXPIRATION_DATE is the EoL of the last 7.x release
EXPIRATION_DATE=2013-02-28
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM= yes
USE_LINUX_APPS= gtk2
USE_LDCONFIG= yes
PLIST_SUB= LINUX_RPM_ARCH=${LINUX_RPM_ARCH}
PLIST= ${PKGDIR}/pkg-plist.fc${LINUX_DIST_VER}
DISTINFO_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
.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>
|