2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2012/10/31 11:17:19 asau Exp $
|
2006-01-15 20:51:56 +01:00
|
|
|
#
|
|
|
|
|
2010-02-07 17:10:02 +01:00
|
|
|
DISTNAME= liboil-0.3.17
|
2006-01-15 20:51:56 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://liboil.freedesktop.org/download/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-01-15 20:51:56 +01:00
|
|
|
HOMEPAGE= http://liboil.freedesktop.org/wiki/
|
|
|
|
COMMENT= Library of simple, CPU-optimized functions
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
2006-01-15 21:05:31 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-glib # Only used by examples.
|
2006-01-15 20:51:56 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= liboil-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= liboil.pc.in
|
|
|
|
|
2006-08-29 12:18:14 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2008-07-30 11:53:36 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2006-07-13 19:04:51 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !empty(MACHINE_PLATFORM:MSunOS-5.8-*)
|
2006-07-13 20:23:14 +02:00
|
|
|
SUBST_CLASSES+= solaris
|
|
|
|
SUBST_STAGE.solaris= pre-configure
|
2006-09-04 00:55:33 +02:00
|
|
|
SUBST_MESSAGE.solaris= Replacing <stdint.h> with <inttypes.h>
|
2006-07-13 20:23:14 +02:00
|
|
|
SUBST_FILES.solaris= liboil/*.h
|
|
|
|
SUBST_SED.solaris= -e 's,<stdint\.h>,<inttypes.h>,'
|
2006-07-13 19:04:51 +02:00
|
|
|
.endif
|
|
|
|
|
2006-01-15 20:51:56 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|