summaryrefslogtreecommitdiff
path: root/devel/allegro/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-05 05:02:41 +0000
committerxtraeme <xtraeme>2004-04-05 05:02:41 +0000
commitf9811a368c1867ba4d38abfcc2110a6fe52d8bd5 (patch)
treee697d9b9d8ca0693c872d478e43882b61bc3c23f /devel/allegro/Makefile
parent66fa13768858207f17e7da6ad40203bde6742407 (diff)
downloadpkgsrc-f9811a368c1867ba4d38abfcc2110a6fe52d8bd5.tar.gz
Initial import of allegro-4.1.13 from pkgsrc-wip, Initial work by
Thomas Klausner plus minor changes by me. Allegro is a portable library mainly aimed at video game and multimedia programming, originally started by Shawn Hargreaves for the DJGPP compiler in a mixture of C and assembler. According to the Oxford Companion to Music, Allegro is the Italian for "quick, lively, bright". It is also a recursive acronym which stands for "Allegro Low LEvel Game ROutines". Cross-platform support o Dos (DJGPP, Watcom) o Unix (Linux, *BSD, Irix, Solaris, Darwin) o Windows (MSVC, MinGW, Cygwin, Borland) o BeOS o QNX o MacOS X
Diffstat (limited to 'devel/allegro/Makefile')
-rw-r--r--devel/allegro/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile
new file mode 100644
index 00000000000..cb3de7e0afc
--- /dev/null
+++ b/devel/allegro/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/05 05:02:41 xtraeme Exp $
+#
+
+DISTNAME= allegro-4.1.13
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=alleg/}
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://alleg.sourceforge.net/
+COMMENT= Allegro game programming library
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_X11= yes
+GNU_CONFIGURE= yes
+
+MAKEFILE= makefile
+ALL_TARGET= # there is no 'all' target for some reason
+USE_MAKEINFO= yes
+INFO_FILES= allegro.info
+INSTALL_TARGET= install install-info
+
+# NetBSD's OSS midi emulation is non-existant.
+CONFIGURE_ARGS+= --disable-ossmidi
+
+LIBS+= ${LIBOSSAUDIO}
+CFLAGS+= -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= USE_ESOUND
+
+.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-esddigi
+.include "../../audio/esound/buildlink3.mk"
+.endif
+
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"