fcc618dac6
-------------- 6.45 2015-04-09 Add bitcoin donation address
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2015/04/10 01:48:37 mef Exp $
|
|
#
|
|
|
|
VERSION= 6.45
|
|
PKGNAME= dnsbl-milter-${VERSION}
|
|
DISTNAME= dnsbl-${VERSION}
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.five-ten-sg.com/dnsbl/packages/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.five-ten-sg.com/dnsbl/
|
|
COMMENT= DNSBL Sendmail milter
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
PKG_SYSCONFSUBDIR?= dnsbl-milter
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}/${PKG_SYSCONFSUBDIR}
|
|
CONFIGURE_ARGS+= ac_cv_path_BASH=${SH}
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
RCD_SCRIPTS= dnsbl-milter
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_STAGE.conf= pre-configure
|
|
SUBST_FILES.conf= src/dnsbl.cpp
|
|
SUBST_FILES.conf+= src/tokenizer.cpp
|
|
SUBST_FILES.conf+= src/context.cpp
|
|
SUBST_SED.conf+= -e "s|@CONFDIR@|${PKG_SYSCONFDIR}|g"
|
|
SUBST_MESSAGE.conf= Fixing paths for configuration
|
|
|
|
EGDIR= share/examples/dnsbl-milter
|
|
|
|
CONFS= dnsbl.conf hosts-ignore.conf tld.conf html-tags.conf
|
|
.for f in ${CONFS}
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|
.endfor
|
|
|
|
INSTALLATION_DIRS= ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
INSTALL_DIRS= src man
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${CONFS} ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|