2017-11-01 07:44:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2017/11/01 06:44:49 maya Exp $
|
2011-12-04 13:24:37 +01:00
|
|
|
|
2016-07-28 19:52:08 +02:00
|
|
|
DISTNAME= cmake-fedora-2.6.0-modules-only
|
2011-12-04 13:24:37 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-modules-only//}
|
|
|
|
CATEGORIES= devel
|
2017-11-01 07:44:49 +01:00
|
|
|
# Doesn't host our old version, fedorahosted retired.
|
|
|
|
#MASTER_SITES= https://releases.pagure.org/cmake-fedora/
|
2011-12-04 13:24:37 +01:00
|
|
|
|
2015-03-15 18:09:00 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-11-01 07:44:49 +01:00
|
|
|
HOMEPAGE= https://pagure.io/cmake-fedora
|
2011-12-04 13:24:37 +01:00
|
|
|
COMMENT= Set of cmake modules for fedora developers
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Modules
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2016-07-28 19:52:08 +02:00
|
|
|
.include "../../devel/cmake/Makefile.version"
|
|
|
|
PLIST_SUBST+= CMAKE_API=${CMAKE_API}
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/cmake-${CMAKE_API}/Modules
|
2011-12-04 13:24:37 +01:00
|
|
|
|
|
|
|
do-install:
|
2016-07-28 19:52:08 +02:00
|
|
|
cd ${WRKSRC} && pax -rwpp -s '/.*\.orig//' Modules ${DESTDIR}${PREFIX}/share/cmake-${CMAKE_API}
|
2011-12-04 13:24:37 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|