pkgsrc/security/qca2/Makefile.common
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

27 lines
718 B
Makefile

# $NetBSD: Makefile.common,v 1.2 2018/07/04 13:40:36 jperkin Exp $
DISTNAME= qca-2.1.3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_KDE:=qca/2.1.3/src/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://delta.affinix.com/qca/
LICENSE= gnu-lgpl-v2.1
PATCHDIR= ${.CURDIR}/../../security/qca2/patches
DISTINFO_FILE= ${.CURDIR}/../../security/qca2/distinfo
USE_TOOLS+= gmake
USE_CMAKE= yes
USE_LANGUAGES= c c++
# install under qt4 prefix to not clash with qca 1.x
CMAKE_ARGS+= -DQCA_INSTALL_IN_QT_PREFIX=ON
CMAKE_ARGS+= -DOSX_FRAMEWORK=OFF
CMAKE_ARGS+= -DBUILD_TESTS=OFF
SUBST_CLASSES+= certs
SUBST_STAGE.certs= pre-configure
SUBST_FILES.certs= CMakeLists.txt
SUBST_VARS.certs= PREFIX