pkgsrc/devel/allegro/Makefile
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2005/12/05 20:50:02 rillig Exp $
DISTNAME= allegro-4.1.18
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=alleg/}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://alleg.sourceforge.net/
COMMENT= Allegro game programming library
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
MAKEFILE= makefile
BUILD_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}
.include "options.mk"
SUBST_CLASSES+= oss
SUBST_STAGE.oss= post-patch
SUBST_FILES.oss= src/unix/uoss.c setup/setup.c
SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.oss= "Fixing harcoded audio device."
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch
SUBST_FILES.path= src/unix/umodules.c src/unix/usystem.c
SUBST_SED.path= -e "s,@@PREFIX@@,${PREFIX},g"
SUBST_MESSAGE.path= "Fixing harcoded path"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"