9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
31 lines
758 B
Makefile
31 lines
758 B
Makefile
# $NetBSD: Makefile,v 1.4 2020/01/26 17:31:04 rillig Exp $
|
|
|
|
DISTNAME= rttr-0.9.6-src
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://www.rttr.org/releases/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.rttr.org/
|
|
COMMENT= C++ Reflection Library
|
|
LICENSE= mit
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF
|
|
CMAKE_ARGS+= -DBUILD_UNIT_TESTS=OFF
|
|
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
CXXFLAGS+= -Wno-error=implicit-int-float-conversion
|
|
.endif
|
|
|
|
post-install:
|
|
chmod -R a+r ${DESTDIR}/${PREFIX}/include/rttr/
|
|
chmod a+r ${DESTDIR}/${PREFIX}/share/rttr/*
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|