head	1.4;
access;
symbols
	pkgsrc-2026Q3:1.4.0.8
	pkgsrc-2026Q3-base:1.4
	pkgsrc-2026Q2:1.4.0.6
	pkgsrc-2026Q2-base:1.4
	pkgsrc-2026Q1:1.4.0.4
	pkgsrc-2026Q1-base:1.4
	pkgsrc-2025Q4:1.4.0.2
	pkgsrc-2025Q4-base:1.4;
locks; strict;
comment	@# @;


1.4
date	2025.12.16.09.55.41;	author wiz;	state Exp;
branches;
next	1.3;
commitid	qMlm74KztYkklCmG;

1.3
date	2025.12.13.12.41.21;	author wiz;	state Exp;
branches;
next	1.2;
commitid	8EjRaki9etKcmfmG;

1.2
date	2025.12.12.03.00.28;	author manu;	state Exp;
branches;
next	1.1;
commitid	icG3wfN9g4pLa4mG;

1.1
date	2025.12.11.00.48.27;	author manu;	state Exp;
branches;
next	;
commitid	VEGOyyBoxEoktVlG;


desc
@@


1.4
log
@flowerysong-openarc: try helping the package find libmilter

discussed with manu@@
@
text
@# $NetBSD: Makefile,v 1.3 2025/12/13 12:41:21 wiz Exp $

DISTNAME=	OpenARC-1.3.0
PKGNAME=	flowerysong-${DISTNAME:tl}
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_GITHUB:=flowerysong/}
GITHUB_PROJECT=	OpenARC
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/flowerysong/OpenARC
COMMENT=	Open source ARC library, MTA filter implementation and tools
LICENSE=	modified-bsd

CONFLICTS+=	openarc-[0-9]*

RCD_SCRIPTS=	openarc

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_LIBTOOL=	yes
USE_TOOLS+=	aclocal autoconf automake pkg-config

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+=		LIBMILTER_CPPFLAGS=-I${BUILDLINK_PREFIX.libmilter}/include
CONFIGURE_ENV+=		LIBMILTER_LDPFLAGS=-L${BUILDLINK_PREFIX.libmilter}/lib

SUBST_CLASSES+=			interpreter
SUBST_STAGE.interpreter=	pre-configure
SUBST_MESSAGE.interpreter=	Substituting /usr/bin/env python3 interpreter
SUBST_FILES.interpreter=	contrib/openarc-keygen
SUBST_SED.interpreter+=		-e "s,\#! */usr/bin/env *python3,\#!${PYTHONBIN},"

EGDIR=		${PREFIX}/share/examples/${PKGBASE}

INSTALLATION_DIRS=	${EGDIR}

pre-configure:
	cd ${WRKSRC} && autoreconf -fiv

post-install:
	${INSTALL_DATA} ${WRKSRC}/openarc/openarc.conf.sample \
		${DESTDIR}${EGDIR}/

.include "../../security/openssl/buildlink3.mk"
.include "../../devel/libidn2/buildlink3.mk"
.include "../../textproc/jansson/buildlink3.mk"
.include "../../mail/libmilter/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.3
log
@flowerysong-operarc: fix fetch stage

clean some pkglint, fix spelling of CONFLICTS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/12/12 03:00:28 manu Exp $
d26 2
a27 1
CONFIGURE_ARGS+=	--with-milter=${BUILDLINK_PREFIX.libmilter}
@


1.2
log
@Add CONFLICT for mail/openarc and mail/flowerysong-openarc
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.1 2025/12/11 00:48:27 manu Exp $
d7 2
a8 1
GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
d15 1
a15 1
CONFLICT+=	openarc-[0-9]*
d32 1
a32 1
SUBST_SED.interpreter+=	-e "s,\#! */usr/bin/env *python3,\#!${PYTHONBIN},"
@


1.1
log
@Add  flowerysong-openarc version 1.3.0

This is a for from mail/openarc maintainer, integrating bugfixes in a
stable release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/08/24 22:10:25 taca Exp $
d13 2
@

