pkgsrc-wip/nanomsgxx/Makefile
2014-08-08 11:55:56 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2014/08/08 11:55:56 chybz Exp $
PKGNAME= nanomsgxx-0.1
CATEGORIES= devel
GHCOMMIT= ab79438ddbf9033b93a2f53db068c03735cd45d7
DISTNAME= ${GHCOMMIT}.zip
MASTER_SITES= https://github.com/achille-roussel/nanomsgxx/archive/
DIST_SUBDIR= nanomsgxx
EXTRACT_SUFX= # none
MAINTAINER= rchibois@gmail.com
HOMEPAGE= https://github.com/achille-roussel/nanomsgxx
COMMENT= Nanomsg binding for C++11
LICENSE= mit
DEPENDS+= nanomsg>=0:../../devel/nanomsg
WRKSRC= ${WRKDIR}/nanomsgxx-${GHCOMMIT}
USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
.include "../../lang/python/pyversion.mk"
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= waf wscript
MAKE_ENV+= PYTHON=${PYTHONBIN}
BUILD_DEPENDS+= py${PYTHON_VERSION_DEFAULT}-expat:../../textproc/py-expat
do-configure:
cd ${WRKSRC} && env ${MAKE_ENV} ./waf configure
do-build:
cd ${WRKSRC} && env ${MAKE_ENV} ./waf build
do-install:
cd ${WRKSRC} && env DESTDIR=${DESTDIR} ${MAKE_ENV} ./waf install
.include "../../lang/python/application.mk"
.include "../../devel/nanomsg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"