# $NetBSD: Makefile,v 1.21 2009/03/22 21:02:17 wiz Exp $ # DISTNAME= liboil-0.3.16 CATEGORIES= devel MASTER_SITES= http://liboil.freedesktop.org/download/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://liboil.freedesktop.org/wiki/ COMMENT= Library of simple, CPU-optimized functions PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_LIBTOOL= yes CONFIGURE_ARGS+= --disable-glib # Only used by examples. PKGCONFIG_OVERRIDE+= liboil-uninstalled.pc.in PKGCONFIG_OVERRIDE+= liboil.pc.in TEST_TARGET= check .include "options.mk" .include "../../mk/bsd.prefs.mk" .if !empty(MACHINE_PLATFORM:MSunOS-5.8-*) SUBST_CLASSES+= solaris SUBST_STAGE.solaris= pre-configure SUBST_MESSAGE.solaris= Replacing with SUBST_FILES.solaris= liboil/*.h SUBST_SED.solaris= -e 's,,,' .endif .include "../../mk/bsd.pkg.mk"