pkgsrc/mail/pine/Makefile
adam fb38ffb291 Version 4.56 is a maintenance release with only a few new features.
Additions include:
  * enable-multiple-newsrcs makes Pine use a different newsrc file for
    each NNTP server
  * predict-nntp-server makes Pine use current NNTP server for posting
  * Now possible to set the outgoing NNTP server based on the Role being
    used
  * Option tab-checks-recent to have TAB display number of recent messages
    in a highlighted folder
  * For aggregate Saves there is now a default Save folder, which is
    derived from the first message being saved
  * If Unix Pine alternate compose editor returns nonzero,
    ask the user if they want to use the resulting file anyway
  * Environment variable, "h_news_config", default values
    supported
  * Missing arguments to -f or -F are prompted for
  * Some speedup to subscribe to news when the whole list of groups is not
    needed

Bugs that have been addressed in this release include:
  * Mbox functionality was broken
  * Take to a Filter or other Rule crashed in 4.55
  * Crash when Sorting on an IMAP server which does not have SORT
    extension and some other related mystery crashes
  * Features which were changed in Setup/Config and then backed out by
    answering "No" would sometimes stay changed until
    quitting Pine
  * After UnCut in composer headers leave the cursor positioned at the
    end of the uncut text instead of at the beginning or end of the line
  * When Unix Pine forwarded address book entries as a Vcard attachment
    it added extra carriage returns which caused problems
  * Full header prevented the ability to view the ATTACHMENT INDEX
    screen
  * In MIME Digests, Newsgroups, References, and other headers were
    ignored when viewing or replying to messages inside the digest
  * PC-Pine installer could possibly present incorrect information for
    the mail server login name
  * Roles with search criteria weren't being used when composing a new
    message
  * For attachments of type application/octet-stream, place precedence
    of a mailcap entry over the file's extension
2003-07-28 15:44:10 +00:00

94 lines
3.4 KiB
Makefile

# $NetBSD: Makefile,v 1.74 2003/07/28 15:44:10 adam Exp $
DISTNAME= pine4.56
PKGNAME= pine-4.56
CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.fu-berlin.de/unix/mail/pine/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.washington.edu/pine/
COMMENT= Program for Internet News and E-mail
LICENSE= pine-license
BUILD_DEFS+= PINE_USE_LDAP
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
CONF_FILES= ${PREFIX}/share/examples/pine/pine.conf ${PKG_SYSCONFDIR}/pine.conf
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDNAME= so5
BUILDFILE= sol
.elif ${OPSYS} == "Linux"
BUILDNAME= lrh
BUILDFILE= lnx
.elif ${OPSYS} == "Darwin"
BUILDNAME= osx
BUILDFILE= osx
.else
BUILDNAME= neb
BUILDFILE= neb
.endif
.if defined(PINE_USE_LDAP) && (${PINE_USE_LDAP} == "YES")
. include "../../databases/openldap/buildlink2.mk"
LDAPCFLAGS= LDAPCFLAGS="-DENABLE_LDAP"
LDAPLIBS= LDAPLIBS="-lldap -llber"
.endif
pre-patch:
# Make sure the imap lib that comes with pine isn't
# used (see http://www.securityfocus.com/advisories/2646)
${RM} -fr ${WRKSRC}/imap
do-configure:
${CP} -f ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig
${SED} \
-e 's@/usr/local/lib/@${PKG_SYSCONFDIR}/@' \
-e 's@DEFAULT_DEBUG.*2@DEFAULT_DEBUG 0@' \
<${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig >${WRKSRC}/pine/osdep/os-${BUILDFILE}.h
@${RM} -rf ${WRKSRC}/pico
@${LN} -sf ${BUILDLINK_DIR}/include/pico ${WRKSRC}/pico
do-build:
cd ${WRKSRC} && ./build ${BUILDNAME} ${LDAPCFLAGS} ${LDAPLIBS} \
PREFIX=${PREFIX} \
CC="${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/rpdump ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/rpload ${PREFIX}/bin/
${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/dot.pinerc.pgp
${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} \
-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' \
>${PREFIX}/share/examples/pine/pine.conf
${INSTALL_DATA} ${FILESDIR}/pine.conf.fixed ${PREFIX}/share/examples/pine/
${INSTALL_DATA_DIR} ${PREFIX}/share/pine
${INSTALL_DATA_DIR} ${PREFIX}/share/pine/contrib
${INSTALL_DATA_DIR} ${PREFIX}/share/pine/contrib/utils
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/pine/
${INSTALL_DATA} ${WRKSRC}/contrib/krb5-setup ${PREFIX}/share/pine/contrib
${INSTALL_DATA} ${WRKSRC}/contrib/ldap-setup ${PREFIX}/share/pine/contrib
${INSTALL_DATA} ${WRKSRC}/contrib/utils/* ${PREFIX}/share/pine/contrib/utils
${CHMOD} +x ${PREFIX}/share/pine/contrib/utils/*.sh
.include "../../devel/ncurses/buildlink2.mk"
.include "../../editors/pico/buildlink2.mk"
.include "../../mail/imap-uw/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"