Skip to content

Commit

Permalink
net-mail/signify: Port to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.16, Repoman-2.3.6
  • Loading branch information
SoapGentoo committed Nov 27, 2017
1 parent 4842e73 commit d2d7a77
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion net-mail/signify/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST signify_1.14-1.tar.gz 13853 SHA256 8c1c19ead3c3dcb40e08a5ead4bba214c930d1e0e06cc18067d090b3d841cdd6 SHA512 4b94c6bae6d36b60610318625eca7856f63a578ed22cc1690ea5ffa1d823471c73729f3f404d5d944f3262004ca6a9dd8ece1ae2cfa1dc3fed0152614792f7e2 WHIRLPOOL 34329f60458755f53484daf385857ba1f8a80983c0d0e230fc570b7259ed56c788a9b9ebd8a5b71b537c694b5d0fc482349b0a717513f5e1c7a6c00b2fc865af
DIST signify_1.14-1.tar.gz 13853 BLAKE2B 3bdf1cebfe4f4e88c5db94d2faad42c99f47a2bbc71374b65f5c576f25a26ed999e58cc0e1f8f084adab8e4ccc4bb6ea4cfe79c0c4b9b990d8abdc681f4118c0 SHA512 4b94c6bae6d36b60610318625eca7856f63a578ed22cc1690ea5ffa1d823471c73729f3f404d5d944f3262004ca6a9dd8ece1ae2cfa1dc3fed0152614792f7e2
34 changes: 16 additions & 18 deletions net-mail/signify/signify-1.14.ebuild
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

S=${WORKDIR}/${PN}
EAPI=6

DESCRIPTION="A (semi-)random e-mail signature rotator"
SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}-1.tar.gz"
HOMEPAGE="http://signify.sf.net/"
SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}-1.tar.gz"

RDEPEND="dev-lang/perl"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"

SLOT="0"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="ppc sparc x86 ~amd64"
IUSE=""

src_unpack() {
unpack ${A}
cd ${S}
sed -i 's/head -1/head -n1/' Makefile
}
src_compile() {
echo "Perl script! Woohoo! No need to compile!"
RDEPEND="dev-lang/perl"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${PN}

src_prepare() {
default
sed -i 's/head -1/head -n1/' Makefile || die
}

src_install() {
make PREFIX=${D}/usr/ MANDIR=${D}/usr/share/man install || die
dodoc COPYING README
emake PREFIX="${ED%/}"/usr MANDIR="${ED%/}"/usr/share/man install
einstalldocs

docinto examples
dodoc examples/{Columned,Complex,Simple,SimpleOrColumned}
docompress -x /usr/share/doc/${PF}/examples
}

0 comments on commit d2d7a77

Please sign in to comment.