aboutsummaryrefslogtreecommitdiff
path: root/devel/linux_devtools-7/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-11-05 09:07:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-11-05 09:07:44 +0000
commitb1cf59535c70b37f79dbb4a7374b9908cd760c4c (patch)
treede86c8c77ebfec33fb4888f702c1c1fc593cce83 /devel/linux_devtools-7/Makefile
parent46ce9b21a3308230eb3c7821516af7ccc044bb41 (diff)
downloadports-b1cf59535c70b37f79dbb4a7374b9908cd760c4c.tar.gz
ports-b1cf59535c70b37f79dbb4a7374b9908cd760c4c.zip
Notes
Diffstat (limited to 'devel/linux_devtools-7/Makefile')
-rw-r--r--devel/linux_devtools-7/Makefile139
1 files changed, 0 insertions, 139 deletions
diff --git a/devel/linux_devtools-7/Makefile b/devel/linux_devtools-7/Makefile
deleted file mode 100644
index cfcea6f8ae9f..000000000000
--- a/devel/linux_devtools-7/Makefile
+++ /dev/null
@@ -1,139 +0,0 @@
-# New ports collection makefile for: linux_devtools
-# Date created: Oct 3, 2001
-# Whom: marcel@FreeBSD.org
-#
-# $FreeBSD$
-#
-
-PORTNAME= linux_devtools
-PORTVERSION= 7.1
-PORTREVISION= 3
-CATEGORIES= devel emulators linux
-MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
-MASTER_SITE_SUBDIR= ${PORTVERSION}/${LANG}/os/${ARCH}/RedHat/RPMS
-DISTFILES= ${RPM_MAKE} \
- binutils-2.10.91.0.2-3.${MACHINE_ARCH}.rpm \
- ${RPM_GDB}
-EXTRACT_ONLY=
-
-PATCH_SITES= ${MASTER_SITE_REDHAT_LINUX}
-PATCH_SITE_SUBDIR= updates/${PORTVERSION}/${LANG}/os/${ARCH}
-PATCHFILES= ${UPDATES}
-
-MAINTAINER= freebsd-emulation@FreeBSD.org
-COMMENT= Packages needed for doing development in Linux mode
-
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-BROKEN= "Incomplete pkg-plist"
-DEPRECATED= "${BROKEN}"
-EXPIRATION_DATE= 2005-09-22
-
-ONLY_FOR_ARCHS= alpha i386
-NO_LATEST_LINK= yes
-
-USE_LINUX= 7
-DIST_SUBDIR= rpm
-PREFIX= ${LINUXBASE}
-NO_BUILD= yes
-NO_FILTER_SHLIBS= yes
-NO_MTREE= yes
-PLIST= ${WRKDIR}/plist
-RESTRICTED= "binaries under GNU GPL without accompanying source"
-MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
-
-# Let's avoid hardcoding 'en' as the language.
-LANG= en
-
-.include <bsd.port.pre.mk>
-
-.if (${ARCH} == "alpha")
-PATCH_SITES= \
- ftp://ftp2.compaq.com/pub/linux/RedHat/7.2-alpha/updates/rpms/alpha/ \
- ftp://alpha.crl.dec.com/pub/linux/redhat/7.2-alpha/updates/rpms/alpha/
-PORTREVISION= 2
-.endif
-
-.if (${ARCH} == "i386")
-RPM_GDB= gdb-5.0rh-5.i386.rpm
-RPM_MAKE= make-3.79.1-5.i386.rpm
-UPDATES= XFree86-devel-4.1.0-50.i386.rpm \
- glibc-devel-2.2.4-33.i386.rpm \
- cpp-2.96-112.7.1.i386.rpm \
- gcc-2.96-112.7.1.i386.rpm \
- gcc-c++-2.96-112.7.1.i386.rpm \
- gcc-g77-2.96-112.7.1.i386.rpm \
- libstdc++-devel-2.96-112.7.1.i386.rpm \
- kernel-headers-2.4.9-34.i386.rpm
-.else
-RPM_GDB= gdb-5.0rh-9.alpha.rpm
-RPM_MAKE= make-3.79.1-6.alpha.rpm
-UPDATES= XFree86-devel-4.1.0-29.4hp.alpha.rpm \
- glibc-devel-2.2.4-32.1.alpha.rpm \
- cpp-2.96-112.7.2.1hp.alpha.rpm \
- gcc-2.96-112.7.2.1hp.alpha.rpm \
- gcc-c++-2.96-112.7.2.1hp.alpha.rpm \
- gcc-g77-2.96-112.7.2.1hp.alpha.rpm \
- kernel-source-2.4.18-27.7.x.hp.alpha.rpm \
- libstdc++-devel-2.96-112.7.2.1hp.alpha.rpm
-.endif
-
-DBPATH= /var/lib/rpm
-RPM= LC_ALL=C rpm
-RPMFLAGS= --root ${LINUXBASE} --dbpath ${DBPATH} --nodeps \
- --replacepkgs --ignoreos
-RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
-
-REMOVE_DIRS= dev tmp var/tmp
-REMOVE_FILES=
-
-do-patch:
- @${DO_NADA}
-
-pre-install:
- @${RM} -rf ${WRKSRC}/tmp
- @${MKDIR} ${WRKSRC}/tmp
-.for ii in ${DISTFILES} ${PATCHFILES}
- cd ${WRKSRC}/tmp; rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${ii} | ${CPIO} -id
-.endfor
- cd ${WRKSRC}/tmp; ${FIND} * -type f -o -type l > ${PLIST}
-.if (${ARCH} == "i386")
- ${ECHO_CMD} boot/kernel.h >> ${PLIST}
-.endif
- cd ${WRKSRC}/tmp; ${FIND} -d * -type d | ${GREP} -vE "man|locale" | \
- ${GREP} -vE "(bin$$|doc$$|info$$|hare$$|src$$|usr$$)" | \
- ${GREP} -vE "(lib/X11$$|usr/include$$|X11R6/include$$)" | \
- ${GREP} -vE "(usr/lib$$|gcc-lib$$|X11R6/lib$$|X11R6$$)" | \
- ${SED} -e 's:^:@dirrm :' |grep -v "dirrm lib" >> ${PLIST}
- @${RM} -rf ${WRKSRC}/tmp
-
-do-install:
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- @${MKDIR} ${LINUXBASE}/tmp
- @${MKDIR} ${LINUXBASE}/var/tmp
- @${MKDIR} ${LINUXBASE}/dev
- @${RM} -f ${LINUXBASE}/dev/null
- @mknod ${LINUXBASE}/dev/null c 2 2
- @${CHMOD} 666 ${LINUXBASE}/dev/null
-#
-# Install all packages.
- @for R in ${DISTFILES}; do \
- ${ECHO_MSG} $$R; \
- ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \
- done
-#
-# Install updates
- @for R in ${PATCHFILES}; do \
- ${ECHO_MSG} $$R; \
- ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \
- done
-#
-# Finish
- @for D in ${REMOVE_DIRS}; do \
- ${RM} -rf ${LINUXBASE}/$$D; \
- done
- @for F in ${REMOVE_FILES}; do \
- ${RM} ${LINUXBASE}/$$F; \
- done
-
-.include <bsd.port.post.mk>