9b15a0535d
- build with -pthread in LDFLAGS instead of -lpthread in LIBS; allegro-config passes LDFLAGS on, so dependent ports build correctly (WANTLIB changes in dependent ports coming soon) - don't build modules in liballegro: we don't ship an allegrorc to be able to choose which modules to use "sndio bits look ok" ratchov@
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2010/04/26 02:56:30 jakemsr Exp $
|
|
|
|
COMMENT = game programming library for C/C++ developers
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
V = 4.2.3
|
|
DISTNAME = allegro-$V
|
|
PKGNAME = ${DISTNAME}p0
|
|
CATEGORIES = games devel multimedia
|
|
SHARED_LIBS = alleg 0.0 # 4.2
|
|
|
|
HOMEPAGE = http://alleg.sourceforge.net/
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=alleg/}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
MAKE_FILE = makefile
|
|
ALL_TARGET = default
|
|
|
|
CONFIGURE_STYLE = gnu autoconf
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
SUBST_VARS = V
|
|
|
|
WANTLIB = X11 Xcursor Xext Xpm Xxf86dga Xxf86vm c m \
|
|
sndio pthread
|
|
|
|
CONFIGURE_ARGS = --enable-artsdigi=no \
|
|
--enable-esddigi=no \
|
|
--enable-jackdigi=no \
|
|
--enable-ossdigi=no \
|
|
--enable-ossmidi=no \
|
|
--enable-modules=no \
|
|
--with-x
|
|
MAKE_ENV += shared_major_minor=${LIBalleg_VERSION}
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/sndio.c ${WRKSRC}/src/unix
|
|
|
|
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>
|