[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / mailfront

File: [cvs.NetBSD.org] / pkgsrc / mail / mailfront / Makefile (download)

Revision 1.35, Wed Oct 26 10:31:38 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.34: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.35 2022/10/26 10:31:38 wiz Exp $
#

DISTNAME=		mailfront-2.22
PKGREVISION=		8
CATEGORIES=		mail
MASTER_SITES=		${HOMEPAGE}archive/

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		https://untroubled.org/mailfront/
COMMENT=		Mail server network protocol front-ends
LICENSE=		gnu-gpl-v2

DEPENDS+=		daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS+=		qmail>=1.03nb8:../../mail/qmail

DJB_MAKE_TARGETS=	NO
BUILD_TARGET=		all
DJB_CONFIG_CMDS+=	${ECHO} ${PREFIX}/include > conf-include;	\
			${ECHO} ${PREFIX}/lib/${PKGBASE} > conf-modules;

FILES_SUBST+=		QMAIL_DAEMON_USER=${QMAIL_DAEMON_USER:Q}
FILES_SUBST+=		QMAIL_LOG_USER=${QMAIL_LOG_USER:Q}
RCD_SCRIPTS=		smtpfront
INSTALLATION_DIRS=	share/doc/mailfront
INSTALL_ENV+=		install_prefix=${DESTDIR:Q}

BUILD_DEFS+=		QMAIL_DAEMON_USER QMAIL_LOG_USER

USE_LIBTOOL=		yes

MAKE_JOBS_SAFE=		no # due to hacky libtoolization

PKG_SYSCONFSUBDIR=	qmail

.include "options.mk"

post-install:
	cd ${WRKSRC};							\
	for f in ANNOUNCEMENT NEWS README *.html; do			\
		${INSTALL_DATA} $${f} 					\
			${DESTDIR}${PREFIX}/share/doc/mailfront;	\
	done

BUILDLINK_API_DEPENDS.bglibs+=	bglibs>=2.01
.include "../../devel/bglibs/buildlink3.mk"
BUILDLINK_API_DEPENDS.cvm+=	cvm>=0.97
.include "../../security/cvm/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"