summaryrefslogtreecommitdiff
path: root/mail/alpine
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2007-10-11 13:14:48 +0000
committertv <tv@pkgsrc.org>2007-10-11 13:14:48 +0000
commitacf643f5a5be4f9cd7242dd000094e3fa5c91d47 (patch)
tree0842817de26718c688f016cb8543ffeeef99851f /mail/alpine
parent9ed99eff62022df51e30c8065252d4e9a7617c9c (diff)
downloadpkgsrc-acf643f5a5be4f9cd7242dd000094e3fa5c91d47.tar.gz
Add $HOME/.pinepwd support by default; bump PKGREVISION. Option "pinepwd"
can be disabled to remove the behavior again. In spite of UW's "recommendations" against enabling this, it should be up to the sysadmin and user whether to use the rope to build a bridge or hang him/herself. PC-Pine has it enabled by default; there's no reason besides FUD to make the Un*x build any different.
Diffstat (limited to 'mail/alpine')
-rw-r--r--mail/alpine/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index a398dba23d6..b06f8315d95 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/08/08 16:05:57 abs Exp $
+# $NetBSD: Makefile,v 1.6 2007/10/11 13:14:48 tv Exp $
#
DISTNAME= alpine-0.999
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/
EXTRACT_SUFX= .tar.bz2
@@ -22,6 +22,16 @@ USE_LIBTOOL= yes
INSTALLATION_DIRS= bin ${PKMANDIR}/man1
+PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
+PKG_SUPPORTED_OPTIONS= pinepwd
+PKG_SUGGESTED_OPTIONS= pinepwd
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpinepwd)
+CONFIGURE_ARGS+= --with-passfile=.pinepwd
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1