2013-03-21 08:45:11 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2013/03/21 08:45:14 ajacoutot Exp $
|
2002-05-01 17:19:23 +00:00
|
|
|
|
2010-01-10 13:10:36 +00:00
|
|
|
# m68k: mmap configure test causes system hang
|
|
|
|
# arm: doesn't build super-old and broken assember files
|
2011-04-16 10:51:39 +00:00
|
|
|
ONLY_FOR_ARCHS= alpha amd64 hppa i386 mips64 mips64el powerpc sparc sparc64
|
2003-07-06 22:46:14 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= foreign function call libraries
|
2002-05-01 17:19:23 +00:00
|
|
|
|
2007-01-26 22:32:23 +00:00
|
|
|
DISTNAME= ffcall-1.10
|
2010-09-23 13:38:33 +00:00
|
|
|
REVISION = 1
|
2007-01-26 22:32:23 +00:00
|
|
|
SHARED_LIBS= avcall 1.0 \
|
|
|
|
callback 1.0
|
2002-05-01 17:19:23 +00:00
|
|
|
CATEGORIES= devel
|
2006-02-04 00:05:21 +00:00
|
|
|
MASTER_SITES= http://www.haible.de/bruno/gnu/ \
|
|
|
|
ftp://ftp.ilog.fr/pub/Users/haible/gnu/
|
2003-05-21 00:05:52 +00:00
|
|
|
HOMEPAGE= http://www.haible.de/bruno/packages-ffcall.html
|
2002-05-01 17:19:23 +00:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2004-11-23 11:22:00 +00:00
|
|
|
WANTLIB= c
|
2002-05-01 17:19:23 +00:00
|
|
|
|
2010-10-18 17:47:50 +00:00
|
|
|
USE_GROFF = Yes
|
2004-06-22 23:50:44 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2002-08-09 18:43:00 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autoconf
|
|
|
|
|
2010-09-23 13:38:33 +00:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
|
|
CONFIGURE_ENV += cl_cv_c_struct_return_small=no
|
|
|
|
.elif ${MACHINE_ARCH} == "sparc64"
|
|
|
|
CONFIGURE_ENV += cl_cv_c_struct_return_small=yes
|
|
|
|
.endif
|
|
|
|
|
2008-01-04 17:48:33 +00:00
|
|
|
FAKE_FLAGS= htmldir="\$$(datadir)/doc/ffcall/html"
|
2002-05-01 17:19:23 +00:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffcall/html
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|