Add an option, as with pine, to apply Eduardo Chappa's `fancy threading'

patch.  Defaults to off, for now.
Bump PKGREVISION.
This commit is contained in:
jwise 2008-01-14 15:09:14 +00:00
parent f2d4e36654
commit a2d7091949
2 changed files with 17 additions and 7 deletions

View file

@ -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

View file

@ -1,5 +1,8 @@
$NetBSD: distinfo,v 1.6 2007/12/29 19:49:44 abs Exp $
$NetBSD: distinfo,v 1.7 2008/01/14 15:09:14 jwise Exp $
SHA1 (alpine-1.00.tar.bz2) = 1eae937d385f5a844fd52096fe428471928439fc
RMD160 (alpine-1.00.tar.bz2) = d1ff2f90388e0107d5e4039fa35939b1def52ccf
Size (alpine-1.00.tar.bz2) = 4792104 bytes
SHA1 (alpine/alpine-1.00.tar.bz2) = 1eae937d385f5a844fd52096fe428471928439fc
RMD160 (alpine/alpine-1.00.tar.bz2) = d1ff2f90388e0107d5e4039fa35939b1def52ccf
Size (alpine/alpine-1.00.tar.bz2) = 4792104 bytes
SHA1 (alpine/fancy.patch.gz) = b7260d0ce00c8f79cefc942a0de2e1f04ca3f7b5
RMD160 (alpine/fancy.patch.gz) = 85416c9cc500b1e4d7258269db8a59e50cee6230
Size (alpine/fancy.patch.gz) = 24900 bytes