pkgsrc-wip/libpthread-stubs/Makefile
Aleksej Saushev fa92529aff Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-10-03 09:10:35 +00:00

31 lines
766 B
Makefile

# $NetBSD: Makefile,v 1.12 2012/10/03 09:10:40 asau Exp $
DISTNAME= libpthread-stubs-1.0
PKGREVISION= 6
CATEGORIES= devel
DISTFILES= # empty
MAINTAINER= blair.sadewitz@gmail.com #drochner@NetBSD.org
COMMENT= Library providing noop-stubs for pthread functions
PKG_DESTDIR_SUPPORT= none
WRKSRC= ${WRKDIR}
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= pthread-stubs.pc
PKGCONFIG_BASE= ${PKGBASE:S/lib//1}
SUBST_CLASSES+= pc
SUBST_STAGE.pc= post-extract
SUBST_MESSAGE.pc= Creating pkg-config file
SUBST_FILES.pc+= pthread-stubs.pc
SUBST_VARS.pc+= PKGVERSION PKGCONFIG_BASE PREFIX
do-extract:
${CP} ${FILESDIR}/pthread-stubs.c ${FILESDIR}/Makefile \
${FILESDIR}/pthread-stubs.pc ${FILESDIR}/pth.sym ${WRKSRC}
.include "../../mk/bsd.pkg.mk"