summaryrefslogtreecommitdiff
path: root/mail/alpine/Makefile
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2008-01-14 15:09:14 +0000
committerjwise <jwise@pkgsrc.org>2008-01-14 15:09:14 +0000
commita2d709194939f9da70b799357119e154f332ebcc (patch)
treef679f39531744608cf6bdc49900b68340b5497f7 /mail/alpine/Makefile
parentf2d4e366540e94c9bb18098ffd547942b2e998da (diff)
downloadpkgsrc-a2d709194939f9da70b799357119e154f332ebcc.tar.gz
Add an option, as with pine, to apply Eduardo Chappa's `fancy threading'
patch. Defaults to off, for now. Bump PKGREVISION.
Diffstat (limited to 'mail/alpine/Makefile')
-rw-r--r--mail/alpine/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index 6564266cbb2..582c0e2471f 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2008/01/01 16:05:13 abs Exp $
+# $NetBSD: Makefile,v 1.11 2008/01/14 15:09:14 jwise Exp $
#
DISTNAME= alpine-1.00
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/
+DIST_SUBDIR= alpine
EXTRACT_SUFX= .tar.bz2
MAINTAINER= abs@NetBSD.org
@@ -23,7 +24,7 @@ USE_LIBTOOL= yes
INSTALLATION_DIRS= bin ${PKMANDIR}/man1
PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
-PKG_SUPPORTED_OPTIONS= pinepwd
+PKG_SUPPORTED_OPTIONS= pinepwd fancythreads
PKG_SUGGESTED_OPTIONS= pinepwd
.include "../../mk/bsd.options.mk"
@@ -36,6 +37,12 @@ CONFIGURE_ARGS+= --without-pthread
CONFIGURE_ARGS+= --with-passfile=.pinepwd
.endif
+.if !empty(PKG_OPTIONS:Mfancythreads)
+PATCH_SITES+= http://staff.washington.edu/chappa/alpine/patches/alpine-1.00/
+PATCHFILES+= fancy.patch.gz
+PATCH_DIST_STRIP= -p1
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1