1998-11-13 02:16:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 1998/11/13 01:21:40 frueauf 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
|
|
|
#
|
|
|
|
|
1998-07-22 04:45:45 +02:00
|
|
|
DISTNAME= pine4.02
|
|
|
|
PKGNAME= pine-4.02
|
1997-11-22 06:27:54 +01:00
|
|
|
CATEGORIES= mail news
|
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/
|
|
|
|
|
1998-07-22 00:12:24 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.washington.edu/pine/
|
1997-11-22 06:27:54 +01:00
|
|
|
|
1998-07-19 05:39:17 +02:00
|
|
|
# This pkg doesn't build pico or libpico; the pico pkg does that part.
|
1998-07-22 04:45:45 +02:00
|
|
|
DEPENDS= pico-3.2:../../editors/pico
|
1998-07-19 05:39:17 +02:00
|
|
|
|
1998-07-22 04:45:45 +02:00
|
|
|
CONFLICTS= pine-3.96 pine-4.00
|
1998-06-07 21:52:23 +02:00
|
|
|
|
1998-11-13 02:16:35 +01:00
|
|
|
NOT_FOR_ARCHS= alpha #LP64 problems
|
|
|
|
|
1998-07-19 07:21:34 +02:00
|
|
|
do-configure:
|
1998-02-12 00:44:56 +01:00
|
|
|
${CP} -f ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig
|
1998-07-31 19:51:21 +02:00
|
|
|
${SED} -e 's@/usr/local/lib/@${PREFIX}/etc/@' \
|
1998-07-19 05:39:17 +02:00
|
|
|
<${WRKSRC}/pine/osdep/os-neb.h.orig >${WRKSRC}/pine/osdep/os-neb.h
|
|
|
|
cd ${WRKSRC}/pico && ${MAKE} -f makefile.neb os.h
|
1997-11-22 06:41:33 +01:00
|
|
|
|
|
|
|
do-build:
|
1998-07-19 05:39:17 +02:00
|
|
|
cd ${WRKSRC} && ./build neb PREFIX=${PREFIX}
|
1997-11-22 06:41:33 +01:00
|
|
|
|
|
|
|
do-install:
|
1998-07-19 05:39:17 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/
|
1998-07-19 06:33:06 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pine/abookcpy ${PREFIX}/bin/
|
1998-07-19 05:39:17 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpdecode ${PREFIX}/bin/
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pgpsign ${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pine
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/share/examples/pine/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
|
1998-01-24 21:36:06 +01:00
|
|
|
( ${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|^\(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' \
|
1998-07-31 19:51:21 +02:00
|
|
|
>${PREFIX}/etc/pine.conf
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/pine.conf.fixed ${PREFIX}/etc/
|
1998-03-07 22:23:51 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pine
|
1998-07-19 05:39:17 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine/
|
1997-11-22 06:27:54 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|