1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/mail/fetchmail/Makefile

47 lines
1.5 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: fetchmail
1998-06-29 13:52:08 +00:00
# Version required: 4.*
# Date created: 26 Oct 1996
# Whom: Ville Eerola <ve@sci.fi>
#
# $Id: Makefile,v 1.65 1998/07/20 03:39:29 steve Exp $
#
# NOTE: The fetchmailconf program (an interactive program for
# writing .fetchmailrc files) requires Python, found in the Ports
# Collection under lang/python. The fetchmail program itself
# does not need Python, so there is no RUN_DEPENDS for Python in
# this Makefile.
DISTNAME= fetchmail-4.5.5
CATEGORIES= mail
1997-02-13 22:05:56 +00:00
MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= ve@sci.fi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-POP2
CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
MAN1= fetchmail.1
1998-03-20 15:05:27 +00:00
.if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
CONFIGURE_ARGS += --with-kerberos=/usr/include
.endif
1997-04-24 16:23:32 +00:00
FDOC= ${PREFIX}/share/doc/fetchmail
1997-06-11 02:38:35 +00:00
post-patch:
1997-06-16 15:51:55 +00:00
@${CP} -f /usr/include/md5.h ${WRKSRC}
@perl -pi.bak -e 's|^#!/.*/python|#!${PREFIX}/bin/python|;' ${WRKSRC}/fetchmailconf
@${SED} -e "s|@PREFIX@|${PREFIX}|" ${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
1997-06-11 02:38:35 +00:00
1997-04-24 16:23:32 +00:00
post-install:
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
${LN} -sf fetchmail.1.gz ${PREFIX}/man/man1/fetchmailconf.1.gz
1997-04-24 16:23:32 +00:00
cd ${WRKSRC} && ${INSTALL_DATA} \
1997-07-10 01:22:05 +00:00
sample.rcfile FAQ NOTES FEATURES README COPYING \
1997-08-20 04:06:36 +00:00
fetchmail-FAQ.html fetchmail-features.html \
1997-07-10 01:22:05 +00:00
design-notes.html ${FDOC}
${MV} ${PREFIX}/bin/fetchmailconf ${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
1997-04-24 16:23:32 +00:00
.include <bsd.port.mk>