openbsd-ports/mail/fetchmail/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.55 2000/08/30 03:40:23 brad Exp $
1997-11-14 19:04:24 -05:00
2000-08-26 14:12:53 -04:00
DISTNAME= fetchmail-5.5.1
1997-11-14 19:04:24 -05:00
CATEGORIES= mail
NEED_VERSION= 1.310
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/
MAINTAINER= 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
CONFIGURE_ARGS= --disable-nls --enable-inet6
2000-02-12 03:02:07 -05:00
2000-06-27 19:22:03 -04:00
FLAVORS= kerberos ssl
FLAVOR?=
.if ${FLAVOR:L:Mkerberos}
CONFIGURE_ARGS+= --with-kerberos
1997-11-14 19:04:24 -05:00
.endif
.if ${FLAVOR:L:Mssl}
CONFIGURE_ARGS+= --with-ssl
.endif
1997-11-14 19:04:24 -05:00
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>