pkgsrc/devel/libffi/Makefile
he b8389afd84 Update from version 3.0.8nb1 to 3.0.8nb2.
Pkgsrc changes:
 o Add portability to the various mips-based NetBSD ports.
   The self-tests even complete without any unexpected failures.
2009-05-26 12:27:12 +00:00

33 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.11 2009/05/26 12:27:12 he Exp $
#
DISTNAME= libffi-3.0.8
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://sources.redhat.com/libffi/
COMMENT= Foreign function interface
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
INFO_FILES= yes
PKGCONFIG_OVERRIDE+= libffi.pc.in
# Since we don't have "TEST_DEPENDS", we implement it as a hack:
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
TEST_TARGET= check
BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
.endif
.include "../../mk/bsd.pkg.mk"