2018-01-21 08:36:51 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2018/01/21 08:36:51 kirby Exp $
|
2011-04-18 11:53:18 +00:00
|
|
|
|
|
|
|
BROKEN-hppa = ./src/x/xdga2s.s:25: Error: symbol .text is already defined
|
2009-10-15 14:38:05 +00:00
|
|
|
|
|
|
|
COMMENT = game programming library for C/C++ developers
|
|
|
|
|
|
|
|
V = 4.2.3
|
|
|
|
DISTNAME = allegro-$V
|
2017-09-28 22:06:15 +00:00
|
|
|
REVISION = 6
|
2009-10-15 14:38:05 +00:00
|
|
|
CATEGORIES = games devel multimedia
|
2010-05-25 00:46:39 +00:00
|
|
|
SHARED_LIBS = alleg 1.0 # 4.2
|
2009-10-15 14:38:05 +00:00
|
|
|
|
2015-12-06 12:15:18 +00:00
|
|
|
HOMEPAGE = http://liballeg.org/
|
2018-01-21 08:36:51 +00:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=alleg/}
|
2009-10-15 14:38:05 +00:00
|
|
|
|
2015-12-06 12:15:18 +00:00
|
|
|
# readme.txt: "You may use, modify, redistribute, and generally hack it about
|
|
|
|
# in any way you like, and you do not have to give us anything in return."
|
2009-10-15 14:38:05 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
MAKE_FILE = makefile
|
|
|
|
ALL_TARGET = default
|
|
|
|
|
2012-02-21 16:21:41 +00:00
|
|
|
CONFIGURE_STYLE = autoconf
|
2017-08-07 14:15:23 +00:00
|
|
|
AUTOCONF_VERSION = 2.63
|
2009-10-15 14:38:05 +00:00
|
|
|
|
|
|
|
SUBST_VARS = V
|
|
|
|
|
2010-04-26 02:56:30 +00:00
|
|
|
WANTLIB = X11 Xcursor Xext Xpm Xxf86dga Xxf86vm c m \
|
|
|
|
sndio pthread
|
2009-10-15 14:38:05 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS = --enable-artsdigi=no \
|
|
|
|
--enable-esddigi=no \
|
|
|
|
--enable-jackdigi=no \
|
2010-04-26 02:56:30 +00:00
|
|
|
--enable-ossdigi=no \
|
2009-10-15 14:38:05 +00:00
|
|
|
--enable-ossmidi=no \
|
2010-04-26 02:56:30 +00:00
|
|
|
--enable-modules=no \
|
2009-10-15 14:38:05 +00:00
|
|
|
--with-x
|
2017-05-04 22:03:30 +00:00
|
|
|
# XXX work around bogus configure entry with clang
|
|
|
|
CONFIGURE_ENV = allegro_cv_support_include_prefix=yes
|
|
|
|
|
2009-10-15 14:38:05 +00:00
|
|
|
MAKE_ENV += shared_major_minor=${LIBalleg_VERSION}
|
|
|
|
|
2013-03-11 11:02:49 +00:00
|
|
|
NO_TEST = Yes
|
2017-05-04 20:09:31 +00:00
|
|
|
CFLAGS += -fgnu89-inline
|
2009-10-15 14:38:05 +00:00
|
|
|
|
2010-04-26 02:56:30 +00:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/sndio.c ${WRKSRC}/src/unix
|
|
|
|
|
2009-10-15 14:38:05 +00:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC} && ${MAKE_PROGRAM} install-man
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/allegro
|
|
|
|
rm -f ${WRKSRC}/docs/html/build/tmpfile.txt
|
|
|
|
cd ${WRKSRC}/docs/html && pax -rw . ${PREFIX}/share/doc/allegro
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|