diff options
author | ache <ache@FreeBSD.org> | 1997-05-19 21:01:11 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-05-19 21:01:11 +0800 |
commit | 164710e8bb56734d512bc3b6e34db04b6105ba61 (patch) | |
tree | c9c45284e42a5d15b2dbadc88b85171b95309b85 /mail/mutt-devel/Makefile | |
parent | 8385f1bf6c91a80a00b26cff97d0c99340815bbf (diff) | |
download | freebsd-ports-gnome-164710e8bb56734d512bc3b6e34db04b6105ba61.tar.gz freebsd-ports-gnome-164710e8bb56734d512bc3b6e34db04b6105ba61.tar.zst freebsd-ports-gnome-164710e8bb56734d512bc3b6e34db04b6105ba61.zip |
Fix problem with PGP patch
Add -lmytinfo to LIBS
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r-- | mail/mutt-devel/Makefile | 68 |
1 files changed, 53 insertions, 15 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index a3c0c6db12af..cca33b5323f5 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -1,37 +1,75 @@ # ex:ts=8 -# New ports collection makefile for: mutt +# New ports collection makefile for: mutt w/pgp hooks # Version required: 0.xy # Date created: Thur July 25, 1996 # Whom: David O'Brien (obrien@NUXI.com) # -# $Id: Makefile,v 1.27 1997/04/05 17:27:37 obrien Exp $ +# $Id: Makefile,v 1.32 1997/05/17 05:34:22 obrien Exp $ -DISTNAME= ${PKGNAME}e -PKGNAME= mutt-0.74 +BASEDIST= mutt-0.74 +DISTNAME= ${BASEDIST} +PKGNAME= mutt-pgp-0.74 CATEGORIES= mail -MASTER_SITES= ftp://ftp.cs.hmc.edu/pub/me/mutt/ \ - ftp://ftp.ibp.fr/pub/unix/mail/mutt/ \ - ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \ - ftp://ftp.teuto.de/pub/user/lmb/ \ - ftp://ftp.funet.fi/pub/unix/mail/mutt/ +MASTER_SITES= ftp://ftp.cs.hmc.edu/pub/me/mutt/ +MASTER_SITE_OVERRIDE= -PATCH_SITES= ftp://ftp.nuxi.com/pub/mutt/${PKGNAME:S/^mutt-//}/ \ - http://www.frmug.org/mutt/mutt/${PKGNAME:S/^mutt-//}/ \ - http://www.math.fu-berlin.de/~leitner/mutt/${PKGNAME:S/^mutt-//}/ \ - http://www.efrei.fr/~parmelan/mutt/${PKGNAME:S/^mutt-//}/ \ - ftp://www.frmug.org/pub/mutt/mutt/${PKGNAME:S/^mutt-//}/ +PATCH_SITES= http://www.frmug.org/mutt/mutt/0.73/ \ + http://www.math.fu-berlin.de/~leitner/mutt/0.73/ \ + http://www.efrei.fr/~parmelan/mutt/0.73/ \ + ftp://www.frmug.org/pub/mutt/mutt/0.73/ PATCHFILES= MAINTAINER= obrien@FreeBSD.org +# Need to define USA_RESIDENT to YES or NO +RESTRICTED= "USA ITAR export restrictions (has PGP hooks)" + DIST_SUBDIR= mutt -WRKSRC= ${WRKDIR}/${PKGNAME} #PATCH_DIST_STRIP= -p2 PATCH_DIST_STRIP= -p1 #PATCH_DIST_STRIP= GNU_CONFIGURE= yes MAN1= mutt.1 +.if !defined(USA_RESIDENT) || (${USA_RESIDENT} != YES && ${USA_RESIDENT} != yes && ${USA_RESIDENT} != NO && ${USA_RESIDENT} != no) +pre-fetch: + @echo + @echo You must set variable USA_RESIDENT to YES, if you are USA resident, + @echo or to NO if you aren\'t a USA resident in order to build this package + @false + +.elif defined(USA_RESIDENT) +.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes +# can't grab patches from Nuxi unless you are in USA/Canada +PATCH_SITES:= ftp://ftp.nuxi.com/pub/mutt/${BASEDIST:S/^mutt-//}/ \ + ${PATCH_SITES} +pre-fetch: # don't use "do-fetch" otherwise we won't get the patches + @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} + @(cd ${DISTDIR}/${DIST_SUBDIR} ; \ + if [ ! -f ${DISTFILES} -a ! -f `${BASENAME} ${DISTFILES}` ]; then \ + ${FETCH_CMD} -o /tmp/README.US-only ${MASTER_SITES}README.US-only ; \ + sed -e 's:US-only/.*:&:w /tmp/muttusa.dir' /tmp/README.US-only >/dev/null ; \ + USADISTRIB=`sed -e 's:^.*US-only/::' /tmp/muttusa.dir` ; \ + ${FETCH_CMD} -m ${FETCH_BEFORE_ARGS} ${MASTER_SITES}US-only/$$USADISTRIB/${DISTNAME}${EXTRACT_SUFX} ${FETCH_AFTER_ARGS} ; \ + /bin/rm -f /tmp/README.US-only /tmp/muttusa.dir ; \ + fi) +FILESDIR= ${.CURDIR}/files.usa + +.else #non-USA resident +DISTNAME= ${BASEDIST}e +FILESDIR= ${.CURDIR}/files.non_usa +MASTER_SITES:= ftp://ftp.ibp.fr/pub/unix/mail/mutt/mutt/ \ + ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \ + ftp://ftp.teuto.de/pub/user/lmb/ \ + ftp://ftp.funet.fi/pub/unix/mail/mutt/ \ + ${MASTER_SITES} +# 01.pgp.1 needs to be applied before all others! +PATCHFILES:= 01.pgp.1 ${PATCHFILES} +WRKSRC= ${WRKDIR}/${BASEDIST} + +.endif # USA resident = yes +.endif # USA resident set + post-install: @#### don't strip until out of beta peroid |