summaryrefslogtreecommitdiff
path: root/mail/qtraceaddr/Makefile
blob: 34e7dcae0df6f0bebd5c6d41f5b1ad557f84358a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.2 2022/02/07 09:01:02 schmonz Exp $

DISTNAME=		qtraceaddr
PKGNAME=		${DISTNAME}-20061202
CATEGORIES=		mail
MASTER_SITES=		https://code.dogmap.org./qmail/
DIST_SUBDIR=		${PKGNAME_NOREV}
EXTRACT_SUFX=		# none

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		https://code.dogmap.org./qmail/\#qtraceaddr
COMMENT=		Illustrates how qmail would deliver to an address
LICENSE=		public-domain

WRKSRC=			${WRKDIR}
USE_LANGUAGES=		# none
USE_TOOLS+=		perl:run
NO_BUILD=		yes

REPLACE_PERL=		${PKGBASE}

SUBST_CLASSES+=		defs
SUBST_STAGE.defs=	do-configure
SUBST_FILES.defs=	${PKGBASE}
SUBST_VARS.defs=	QMAILDIR QMAIL_ALIAS_USER

BUILD_DEFS+=		QMAILDIR QMAIL_ALIAS_USER

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin/

.include "../../mk/bsd.pkg.mk"