aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-src-rh-8/Makefile
blob: 30f1d8fa5efe90e60d14d93cc48b99a43d65cc4a (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
63
64
65
66
67
68
69
70
71
72
# New ports collection makefile for:	linux_base-src-rh-8
# Date created:				2003-09-28
# Whom:					trevor
#
# $FreeBSD$
#

PORTNAME=		linux_base-src-rh-8
PORTVERSION=		8.0
CATEGORIES=		emulators linux
MASTER_SITES=		${MASTER_SITE_REDHAT_LINUX} \
			${MASTER_SITE_REDHAT_LINUX:S/$/:new/}
MASTER_SITE_SUBDIR=	8.0/en/os/i386/SRPMS updates/8.0/en/os/SRPMS/:new
# The rpm and popt sources are packaged together.
DISTFILES=		\
	acl-2.0.11-2.src.rpm \
	attr-2.0.8-3.src.rpm \
	basesystem-8.0-1.src.rpm \
	bash-2.05b-5.src.rpm \
	compat-gcc-7.3-2.96.110.src.rpm \
	filesystem-2.1.6-5.src.rpm \
	fileutils-4.1.9-11.src.rpm \
	gcc-3.2-7.src.rpm \
	gdbm-1.8.0-18.src.rpm \
	glib-1.2.10-8.src.rpm \
	glibc-2.3.2-4.80.8.src.rpm:new \
	grep-2.5.1-4.src.rpm \
	libelf-0.8.2-2.src.rpm \
	libtermcap-2.0.8-31.src.rpm \
	readline-4.3-3.src.rpm \
	redhat-release-8.0-8.src.rpm \
	rpm-4.1-1.06.src.rpm \
	setserial-2.17-9.src.rpm \
	setup-2.5.20-1.src.rpm \
	sh-utils-2.0.12-3.src.rpm \
	termcap-11.0.1-13.src.rpm \
	texinfo-4.2-5.src.rpm
EXTRACT_ONLY=

MAINTAINER=		ports@FreeBSD.org
COMMENT=		(L)GPL sources for linux_base-8, to comply with licences

RUN_DEPENDS=		${LINUXBASE}/usr/src:${PORTSDIR}/emulators/linux_base-8

BROKEN=			Broken dependency
DEPRECATED=		original port should use ALWAYS_KEEP_DISTFILES    
EXPIRATION_DATE=	2006-02-01

.undef USE_LINUX

DIST_SUBDIR=		rpm/src/rh-${PORTVERSION}
NO_MTREE=		yes
PLIST=			${WRKDIR}/plist
PREFIX=			${LINUXBASE}

do-build:
	${RM} -f ${PLIST}
.for ii in ${DISTFILES:S/:new//}
	${ECHO_MSG} ${ii}
	${ECHO_CMD} usr/src/redhat/SRPMS/${ii} >> ${PLIST}
.endfor
.for ii in /SRPMS /
	${ECHO_CMD} @dirrm usr/src/redhat${ii} >> ${PLIST}
.endfor

do-install:
	- ${MKDIR} ${PREFIX}/usr/src/redhat/SRPMS
.for ii in ${DISTFILES:S/:new//}
	${CP} -p ${DISTDIR}/${DIST_SUBDIR}/${ii} ${PREFIX}/usr/src/redhat/SRPMS/
.endfor

.include <bsd.port.mk>