openbsd-ports/mail/fetchmail/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

2000-10-16 09:30:30 -04:00
# $OpenBSD: Makefile,v 1.59 2000/10/16 13:30:33 fgsch Exp $
1997-11-14 19:04:24 -05:00
2000-09-27 03:14:31 -04:00
DISTNAME= fetchmail-5.5.3
1997-11-14 19:04:24 -05:00
CATEGORIES= mail
NEED_VERSION= 1.326
MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \
ftp://ftp.ccil.org/pub/esr/fetchmail/
2000-06-08 12:58:54 -04:00
2000-06-12 11:38:34 -04:00
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
2000-10-16 09:30:30 -04:00
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
1997-11-14 19:04:24 -05:00
2000-06-08 12:58:54 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-07-23 18:08:23 -04:00
CONFIGURE_STYLE= gnu dest
2000-09-07 02:48:01 -04:00
CONFIGURE_ARGS= --disable-nls --enable-inet6 --with-ssl
2000-02-12 03:02:07 -05:00
2000-09-07 02:48:01 -04:00
FLAVORS= kerberos
2000-06-27 19:22:03 -04:00
FLAVOR?=
.if ${FLAVOR:L:Mkerberos}
CONFIGURE_ARGS+= --with-kerberos
1997-11-14 19:04:24 -05:00
.endif
pre-patch:
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
2000-08-04 19:41:33 -04:00
@tbl ${WRKSRC}/fetchmail.man > ${WRKSRC}/fetchmail.tbl; \
cp -f ${WRKSRC}/fetchmail.tbl ${WRKSRC}/fetchmail.man
1997-11-14 19:04:24 -05:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
@cd ${PREFIX}/man/man1 && ln -sf fetchmail.1 fetchmailconf.1
1997-11-14 19:04:24 -05:00
cd ${WRKSRC} && ${INSTALL_DATA} \
sample.rcfile FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html ${PREFIX}/share/doc/fetchmail
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf \
${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
1997-11-14 19:04:24 -05:00
.include <bsd.port.mk>