dev-lang/mercury: Use ecvs_clean to clean workdir

* add missing die

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-01-22 22:03:03 +01:00
parent c92912aef9
commit 0dbd28d2e9
8 changed files with 42 additions and 49 deletions
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -49,7 +49,7 @@ src_prepare() {
epatch "${WORKDIR}"/${PV}-tests
fi
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -132,7 +132,7 @@ src_test() {
TWS="${S}"
fi
cd "${TESTDIR}"
cd "${TESTDIR}" || die
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \
|| die "sed WORKSPACE failed"
@@ -202,8 +202,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -49,7 +49,7 @@ src_prepare() {
epatch "${WORKDIR}"/${PV}-tests
fi
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -132,7 +132,7 @@ src_test() {
TWS="${S}"
fi
cd "${TESTDIR}"
cd "${TESTDIR}" || die
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \
|| die "sed WORKSPACE failed"
@@ -202,8 +202,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -49,7 +49,7 @@ src_prepare() {
epatch "${WORKDIR}"/${PV}-tests
fi
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -132,7 +132,7 @@ src_test() {
TWS="${S}"
fi
cd "${TESTDIR}"
cd "${TESTDIR}" || die
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \
|| die "sed WORKSPACE failed"
@@ -202,8 +202,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -49,7 +49,7 @@ src_prepare() {
epatch "${WORKDIR}"/${PV}-tests
fi
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -132,7 +132,7 @@ src_test() {
TWS="${S}"
fi
cd "${TESTDIR}"
cd "${TESTDIR}" || die
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \
|| die "sed WORKSPACE failed"
@@ -202,8 +202,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -43,7 +43,7 @@ src_prepare() {
"${S}"/scripts/Mmake.vars.in \
|| die "sed libdir failed"
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -117,7 +117,7 @@ src_test() {
TWS="${S}"
fi
cd "${S}"/tests
cd "${S}"/tests || die
sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \
|| die "sed WORKSPACE failed"
@@ -183,8 +183,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -43,7 +43,7 @@ src_prepare() {
"${S}"/scripts/Mmake.vars.in \
|| die "sed libdir failed"
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -117,7 +117,7 @@ src_test() {
TWS="${S}"
fi
cd "${S}"/tests
cd "${S}"/tests || die
sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \
|| die "sed WORKSPACE failed"
@@ -183,8 +183,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
cd "${WORKDIR}" || die
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
@@ -43,7 +43,7 @@ src_prepare() {
"${S}"/scripts/Mmake.vars.in \
|| die "sed libdir failed"
cd "${S}"
cd "${S}" || die
eautoconf
}
@@ -116,7 +116,7 @@ src_test() {
TWS="${S}"
fi
cd "${S}"/tests
cd "${S}"/tests || die
sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \
|| die "sed WORKSPACE failed"
@@ -182,8 +182,7 @@ src_install() {
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
ecvs_clean "${D}"/usr/share/doc/${PF}/samples
fi
}
+7 -7
View File
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>keri@gentoo.org</email>
<name>Keri Harris</name>
</maintainer>
<use>
<flag name='erlang'>Support Mercury Erlang grade</flag>
</use>
<maintainer>
<email>keri@gentoo.org</email>
<name>Keri Harris</name>
</maintainer>
<use>
<flag name="erlang">Support Mercury Erlang grade</flag>
</use>
</pkgmetadata>