2013-04-22 17:14:34 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2013/04/22 21:14:34 ratchov Exp $
|
2011-04-18 07:53:18 -04:00
|
|
|
|
|
|
|
BROKEN-hppa = ./src/x/xdga2s.s:25: Error: symbol .text is already defined
|
2009-10-15 10:38:05 -04:00
|
|
|
|
|
|
|
COMMENT = game programming library for C/C++ developers
|
|
|
|
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
|
|
|
V = 4.2.3
|
|
|
|
DISTNAME = allegro-$V
|
2013-04-22 17:14:34 -04:00
|
|
|
REVISION = 2
|
2009-10-15 10:38:05 -04:00
|
|
|
CATEGORIES = games devel multimedia
|
2010-05-24 20:46:39 -04:00
|
|
|
SHARED_LIBS = alleg 1.0 # 4.2
|
2009-10-15 10:38:05 -04:00
|
|
|
|
|
|
|
HOMEPAGE = http://alleg.sourceforge.net/
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=alleg/}
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
2010-11-16 06:23:25 -05:00
|
|
|
USE_GROFF = Yes
|
2009-10-15 10:38:05 -04:00
|
|
|
|
|
|
|
MAKE_FILE = makefile
|
|
|
|
ALL_TARGET = default
|
|
|
|
|
2012-02-21 11:21:41 -05:00
|
|
|
CONFIGURE_STYLE = autoconf
|
2009-10-15 10:38:05 -04:00
|
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
|
|
|
|
SUBST_VARS = V
|
|
|
|
|
2010-04-25 22:56:30 -04:00
|
|
|
WANTLIB = X11 Xcursor Xext Xpm Xxf86dga Xxf86vm c m \
|
|
|
|
sndio pthread
|
2009-10-15 10:38:05 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS = --enable-artsdigi=no \
|
|
|
|
--enable-esddigi=no \
|
|
|
|
--enable-jackdigi=no \
|
2010-04-25 22:56:30 -04:00
|
|
|
--enable-ossdigi=no \
|
2009-10-15 10:38:05 -04:00
|
|
|
--enable-ossmidi=no \
|
2010-04-25 22:56:30 -04:00
|
|
|
--enable-modules=no \
|
2009-10-15 10:38:05 -04:00
|
|
|
--with-x
|
|
|
|
MAKE_ENV += shared_major_minor=${LIBalleg_VERSION}
|
|
|
|
|
2013-03-11 07:02:49 -04:00
|
|
|
NO_TEST = Yes
|
2009-10-15 10:38:05 -04:00
|
|
|
|
2010-04-25 22:56:30 -04:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/sndio.c ${WRKSRC}/src/unix
|
|
|
|
|
2009-10-15 10:38:05 -04: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>
|