pkgsrc/mail/fetchmailconf/Makefile
2009-02-09 22:56:21 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.73 2009/02/09 22:56:24 joerg Exp $
DISTNAME= fetchmail-6.3.8
PKGNAME= ${DISTNAME:S/fetchmail/fetchmailconf/}
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://download.berlios.de/fetchmail/ \
http://download2.berlios.de/fetchmail/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fetchmail.berlios.de/
COMMENT= Configuration tool for fetchmail
DEPENDS+= ${DISTNAME}{,nb*}:../../mail/fetchmail
NO_BUILD= YES
DISTINFO_FILE= ${.CURDIR}/../../mail/fetchmail/distinfo
PATCHDIR= ${.CURDIR}/../../mail/fetchmail/patches
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-hesiod
LDFLAGS+= ${CFLAGS}
USE_TOOLS+= msgfmt tbl
USE_LANGUAGES+= c
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
INSTALL_TARGET= install-pythonPYTHON
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
PYTHON_PATCH_SCRIPTS= fetchmailconf.py
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf.py ${PREFIX}/bin/fetchmailconf
${LN} -s fetchmail.1 ${PREFIX}/${PKGMANDIR}/man1/fetchmailconf.1
.include "../../lang/python/application.mk"
.include "../../x11/py-Tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"