pkgsrc/emulators/dynamips/Makefile
jperkin 5393242c73 *: 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.
2018-07-04 13:40:07 +00:00

28 lines
846 B
Makefile

# $NetBSD: Makefile,v 1.13 2018/07/04 13:40:17 jperkin Exp $
DISTNAME= dynamips-0.2.17
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=GNS3/}
GITHUB_PROJECT= dynamips
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= kefren@NetBSD.org
HOMEPAGE= https://github.com/GNS3/dynamips
COMMENT= Cisco 3600 and 7200 MIPS emulator
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
USE_CMAKE= yes
SUBST_CLASSES+= libelf
SUBST_STAGE.libelf= pre-configure
SUBST_FILES.libelf= common/dynamips.h common/rom2c.c
SUBST_SED.libelf= -e 's,<libelf.h>,<libelf/libelf.h>,'
SUBST_MESSAGE.libelf= Fix libelf header file path
.include "../../devel/libelf/buildlink3.mk"
.include "../../devel/libuuid/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"