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

File: [cvs.NetBSD.org] / pkgsrc / comms / minicom / Makefile (download)

Revision 1.70, Wed Jul 4 13:40:12 2018 UTC (4 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
Changes since 1.69: +2 -2 lines

*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.

# $NetBSD: Makefile,v 1.70 2018/07/04 13:40:12 jperkin Exp $

DISTNAME=	minicom-2.7.1
CATEGORIES=	comms
MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/4215/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://alioth.debian.org/projects/minicom/
COMMENT=	MS-DOS Telix serial communication program "workalike"
LICENSE=	gnu-gpl-v2

DEPENDS+=	gkermit-[0-9]*:../../comms/gkermit
DEPENDS+=	lrzsz-[0-9]*:../../comms/lrzsz

INSTALLATION_DIRS=	share/examples/minicom

USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake msgfmt
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}

PKG_SYSCONFSUBDIR=	minicom
EGDIR=			${PREFIX}/share/examples/minicom

SUBST_CLASSES+=		minicom
SUBST_MESSAGE.minicom=	Fixing hardcoded paths.
SUBST_STAGE.minicom=	pre-configure
SUBST_FILES.minicom=	src/rwconf.c
SUBST_VARS.minicom=	PREFIX

.include "options.mk"

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"