summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-7.0_pre200704.ebuild')
-rw-r--r--sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-7.0_pre200704.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-7.0_pre200704.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-7.0_pre200704.ebuild
new file mode 100644
index 0000000..94416e2
--- /dev/null
+++ b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-7.0_pre200704.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.2.ebuild,v 1.1 2007/01/15 21:36:42 drizzt Exp $
+
+inherit bsdmk freebsd
+
+DESCRIPTION="Makefiles definitions used for building and installing libraries and system files"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+IUSE=""
+
+SRC_URI="http://84.33.1.46/~drizzt/stages/${SHARE}.tar.bz2"
+
+RDEPEND=""
+DEPEND=""
+
+RESTRICT="strip"
+
+S="${WORKDIR}/share/mk"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/share
+ epatch "${FILESDIR}/${PN}-7.0-gentoo.patch"
+
+ [[ ${CHOST} != *-*bsd* || ${CHOST} == *-gnu ]] && \
+ epatch "${FILESDIR}/${PN}-6.0-gnu.patch"
+}
+
+src_compile() { :; }
+
+src_install() {
+ if [[ ${CHOST} != *-freebsd* ]]; then
+ insinto /usr/share/mk/freebsd
+ else
+ insinto /usr/share/mk
+ fi
+ doins *.mk
+}