summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /mail-client/hap
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'mail-client/hap')
-rw-r--r--mail-client/hap/Manifest1
-rw-r--r--mail-client/hap/files/hap-3.7-ncurses.patch14
-rw-r--r--mail-client/hap/hap-3.7-r1.ebuild39
-rw-r--r--mail-client/hap/metadata.xml5
4 files changed, 59 insertions, 0 deletions
diff --git a/mail-client/hap/Manifest b/mail-client/hap/Manifest
new file mode 100644
index 000000000000..fbde181a46ac
--- /dev/null
+++ b/mail-client/hap/Manifest
@@ -0,0 +1 @@
+DIST hap-3.7.tar 194560 SHA256 ae2aa6fbc2d95bcdc0a58cb8e51e458eff868241bd6576123bc291a55d8c4de2 SHA512 3a42b8ae5d4c96812190e0551df289ad748c11f93d7632de1698437246723fd159a3f1a0b6f06c925b31ce8e389b73bc0b3a68f978570ae5d9f283d1651fa42b WHIRLPOOL a250c94dde3af898f4df81eef458735a08daf0c33c914abea4fb521c0088164078224322768256cb7ec58e7e7288094ec3770651394dc05dd376aa95de6ce918
diff --git a/mail-client/hap/files/hap-3.7-ncurses.patch b/mail-client/hap/files/hap-3.7-ncurses.patch
new file mode 100644
index 000000000000..1ae79b9e9810
--- /dev/null
+++ b/mail-client/hap/files/hap-3.7-ncurses.patch
@@ -0,0 +1,14 @@
+--- configure.in 1996-07-17 00:50:03.000000000 +0300
++++ configure.in 2013-03-06 15:09:29.579148360 +0200
+@@ -6,8 +6,9 @@
+ AC_PROG_INSTALL
+
+ dnl Checks for libraries.
+-dnl Replace `main' with a function in -ltermcap:
+-AC_CHECK_LIB(termcap, tputs)
++dnl Replace `main' with a function in -lncurses or -ltinfo
++AC_CHECK_LIB(ncurses, tputs,,
++ [AC_CHECK_LIB(tinfo, tputs)])
+
+ dnl Checks for header files.
+ AC_CHECK_HEADERS(sgtty.h unistd.h libc.h termcap.h strings.h string.h dirent.h sys/ioctl.h)
diff --git a/mail-client/hap/hap-3.7-r1.ebuild b/mail-client/hap/hap-3.7-r1.ebuild
new file mode 100644
index 000000000000..76f2c0417d4e
--- /dev/null
+++ b/mail-client/hap/hap-3.7-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools eutils
+
+DESCRIPTION="A terminal mail notification program (replacement for biff)"
+HOMEPAGE="http://www.transbay.net/~enf/sw.html"
+SRC_URI="http://www.transbay.net/~enf/${P}.tar"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ppc x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # Fix configure to use ncurses instead of termcap (bug #103105)
+ epatch "${FILESDIR}/${P}-ncurses.patch"
+
+ # Fix Makefile.in to use our CFLAGS and LDFLAGS
+ sed -i -e "s/^CFLAGS=-O/CFLAGS=${CFLAGS}/" \
+ -e "s/^LDFLAGS=.*/LDFLAGS=${LDFLAGS}/" Makefile.in || die
+
+ # Rebuild the compilation framework
+ eautoreconf
+}
+
+src_install() {
+ dobin hap
+ doman hap.1
+ dodoc README HISTORY
+}
diff --git a/mail-client/hap/metadata.xml b/mail-client/hap/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/mail-client/hap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>