1997-11-22 06:27:54 +01:00
|
|
|
# New ports collection makefile for: pine
|
|
|
|
# http://www.washington.edu/pine/
|
|
|
|
# Version required: 3.96
|
|
|
|
# Date created: 03 September 1994
|
|
|
|
# Whom: mr
|
|
|
|
#
|
1998-02-12 01:26:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 1998/02/12 00:26:27 tv Exp $
|
1997-11-22 06:42:42 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.21 1997/03/26 02:12:07 ache Exp
|
1997-11-22 06:27:54 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pine3.96
|
|
|
|
PKGNAME= pine-3.96
|
|
|
|
CATEGORIES= mail news
|
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
MAN1= pine.1 pico.1 pilot.1
|
|
|
|
|
1997-11-22 06:41:33 +01:00
|
|
|
post-patch:
|
1998-02-12 00:44:56 +01:00
|
|
|
${CP} -f ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig
|
1998-01-24 21:36:06 +01:00
|
|
|
${SED} \
|
|
|
|
-e 's|.*\(#define.*SYSTEM_PINERC_FIXED\) .*|\1 "'"${PREFIX}/lib/pine.conf.fixed"'"|g' \
|
|
|
|
-e 's|.*\(#define.*SYSTEM_PINERC\) .*|\1 "'"${PREFIX}/lib/pine.conf"'"|g' \
|
|
|
|
<${WRKSRC}/pine/osdep/os-neb.h.orig >${WRKSRC}/pine/osdep/os-neb.h
|
1997-11-22 06:41:33 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ./build neb
|
|
|
|
|
|
|
|
do-install:
|
1998-02-12 01:26:27 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pico/libpico.a ${PREFIX}/lib/libpico.a
|
1998-01-24 21:36:06 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
|
1998-02-12 01:26:27 +01:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/pgpencrypt
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpdecode ${PREFIX}/bin/pgpdecode
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpsign ${PREFIX}/bin/pgpsign
|
1998-01-24 21:36:06 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/etc/dot.pinerc.pgp.sample
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
|
|
|
|
( ${ECHO} '# (This file is not part of the pine distribution! - HF)' ; \
|
|
|
|
${PREFIX}/bin/pine -conf ) | ${SED} \
|
1997-11-22 06:41:33 +01:00
|
|
|
-e 's|^\(use-only-domain-name\)=.*$$|\1=No|g' \
|
|
|
|
-e 's|^\(mail-directory\)=.*$$|\1=Mail|g' \
|
|
|
|
-e 's|^\(feature-list\)=.*$$|\1=enable-mail-check-cue,enable-suspend,expanded-view-of-addressbooks,include-header-in-reply,include-text-in-reply,show-selected-in-boldface,signature-at-bottom|g' \
|
|
|
|
-e 's|^\(sort-key\)=.*$$|\1=Arrival/Reverse|g' \
|
|
|
|
>${PREFIX}/lib/pine.conf
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/pine.conf.fixed ${PREFIX}/lib/pine.conf.fixed
|
|
|
|
|
1997-11-22 06:27:54 +01:00
|
|
|
post-install:
|
|
|
|
install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
|
|
|
|
${PREFIX}/share/doc/pine
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} doc/tech-notes.txt ${PREFIX}/share/doc/pine
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|