Annotation of pkgsrc/mail/fetchmail/Makefile, Revision 1.184
1.184 ! mef 1: # $NetBSD: Makefile,v 1.183 2014/10/09 14:06:39 wiz Exp $
1.1 tron 2:
1.171 tnn 3: # Note to updaters: mail/fetchmailconf reaches over here, make sure it builds.
1.180 morr 4: DISTNAME= fetchmail-6.3.22
1.182 tron 5: PKGREVISION= 2
1.1 tron 6: CATEGORIES= mail
1.168 zafer 7: MASTER_SITES= http://download.berlios.de/fetchmail/
1.159 tron 8: EXTRACT_SUFX= .tar.bz2
1.1 tron 9:
1.166 frueauf 10: MAINTAINER= pkgsrc-users@NetBSD.org
1.184 ! mef 11: HOMEPAGE= http://www.fetchmail.info/
1.130 martti 12: COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
1.1 tron 13:
1.146 jlam 14: .include "../../mk/bsd.prefs.mk"
15:
1.142 jlam 16: USE_PKGLOCALEDIR= yes
17: GNU_CONFIGURE= yes
1.99 jlam 18: CONFIGURE_ARGS+= --without-hesiod
1.161 tron 19: CONFIGURE_ENV+= PYTHON=:
1.100 jlam 20: LDFLAGS+= ${CFLAGS}
1.158 jlam 21: USE_TOOLS+= msgfmt tbl
1.1 tron 22:
1.154 tonio 23: .if ${OPSYS} == "Darwin"
24: LDFLAGS+= -lresolv
25: CFLAGS.Darwin+= -DBIND_8_COMPAT -DHAVE_RESOLV_H
26: .endif
27:
1.146 jlam 28: .include "options.mk"
1.1 tron 29:
1.176 obache 30: TEST_TARGET= check
31:
1.141 jlam 32: DOCDIR= ${PREFIX}/share/doc/fetchmail
1.132 jlam 33: RCD_SCRIPTS= fetchmail
1.1 tron 34:
1.145 jlam 35: .include "../../devel/gettext-lib/buildlink3.mk"
36:
1.89 wiz 37: .if defined(REPLACE_KERBEROS_LIBS)
1.147 wiz 38: pre-configure:
1.89 wiz 39: cd ${WRKSRC} && \
40: for F in configure.in configure; do \
41: ${SED} -e "s/-lkrb -ldes/-lkrb -ldes -lcom_err -lroken/" \
42: $$F > $$F.mod; \
43: ${MV} -f $$F.mod $$F; \
44: done
45: ${CHMOD} a+x ${WRKSRC}/configure
46: .endif
1.1 tron 47:
1.57 tron 48: post-build:
1.140 jlam 49: for file in ${WRKSRC}/fetchmail.man; do \
50: ${MV} -f $$file $$file.tbl; \
1.143 drochner 51: ${TBL} $$file.tbl > $$file; \
1.140 jlam 52: done
1.63 wiz 53:
1.1 tron 54: post-install:
1.164 heinz 55: ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
1.141 jlam 56: cd ${WRKSRC}; for file in \
57: FAQ NOTES FEATURES README COPYING \
58: fetchmail-FAQ.html fetchmail-features.html \
59: design-notes.html; \
60: do \
1.164 heinz 61: ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}; \
1.141 jlam 62: done
1.1 tron 63:
1.5 agc 64: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>