2000-01-21 16:45:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.62 2000/01/21 15:45:32 fredb Exp $
|
1998-02-28 12:05:37 +01:00
|
|
|
#
|
|
|
|
|
2000-01-21 16:45:32 +01:00
|
|
|
DISTNAME= fetchmail-5.2.4
|
1998-02-28 12:05:37 +01:00
|
|
|
CATEGORIES= mail
|
1998-12-02 12:13:46 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ \
|
|
|
|
http://www.tuxedo.org/~esr/fetchmail/ \
|
|
|
|
http://sunsite.unc.edu/pub/Linux/system/mail/pop/
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1998-07-04 06:41:35 +02:00
|
|
|
MAINTAINER= mycroft@netbsd.org
|
2000-01-10 23:50:16 +01:00
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1999-08-18 01:54:18 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
|
1999-03-29 18:26:46 +02:00
|
|
|
|
1998-02-28 12:05:37 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
|
|
|
|
|
1999-09-14 04:32:21 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
1999-08-18 11:24:08 +02:00
|
|
|
|
1998-06-03 15:07:08 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
1999-09-14 04:32:21 +02:00
|
|
|
.if defined(KERBEROS) && ${KERBEROS} == 4
|
|
|
|
USE_KERBEROS= yes
|
1999-05-04 01:39:22 +02:00
|
|
|
CONFIGURE_ARGS+=--with-kerberos=yes
|
1999-09-14 04:32:21 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-kerberos=no
|
1998-02-28 12:05:37 +01:00
|
|
|
.endif
|
1999-09-14 04:32:21 +02:00
|
|
|
|
1999-09-04 00:00:52 +02:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
1999-07-08 01:28:12 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-inet6
|
|
|
|
.endif
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1999-03-29 18:26:46 +02:00
|
|
|
FDOC= ${PREFIX}/share/doc/fetchmail
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1998-02-28 12:35:39 +01:00
|
|
|
post-extract:
|
1999-10-09 00:06:51 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
@${RM} -f ${WRKSRC}/md5.h
|
1999-10-01 12:31:57 +02:00
|
|
|
.endif
|
1999-10-09 00:06:51 +02:00
|
|
|
@${MV} ${WRKSRC}/fetchmail.man ${WRKSRC}/fetchmail.tbl
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1999-03-29 18:26:46 +02:00
|
|
|
pre-configure:
|
|
|
|
(cd ${WRKSRC}; autoreconf)
|
|
|
|
|
1999-10-09 00:06:51 +02:00
|
|
|
post-build:
|
|
|
|
tbl ${WRKSRC}/fetchmail.tbl >${WRKSRC}/fetchmail.man
|
2000-01-10 23:50:16 +01:00
|
|
|
|
1998-02-28 12:05:37 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} \
|
|
|
|
sample.rcfile FAQ NOTES FEATURES README COPYING \
|
|
|
|
fetchmail-FAQ.html fetchmail-features.html \
|
|
|
|
design-notes.html ${FDOC}
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|