1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/emulators/desmume/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: desmume
# Date created: Wed 7 Feb 2007 21:46:15 CET
# Whom: Stefan Sperling <stsp@stsp.in-berlin.de>
#
# $FreeBSD$
#
PORTNAME= desmume
PORTVERSION= 0.9.7
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= llc2w@virginia.edu
COMMENT= Nintendo DS emulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_GL= gl
USE_SDL= sdl
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= GMSGFMT=msgfmt DATADIRNAME=share
USE_AUTOTOOLS= aclocal autoconf
ACLOCAL_ARGS=
AUTOCONF_ARGS=
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -DGTKGLEXT_AVAILABLE \
-DHAVE_LIBGDKGLEXT_X11_1_0 -DHAVE_GL_GL_H -DHAVE_GL_GLU_H
CXXFLAGS+= ${CFLAGS}
MAN1= desmume-cli.1 \
desmume-glade.1 \
desmume.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= Does not compile on ia64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|mode_t|mode_t_|g' ${WRKSRC}/src/utils/libfat/libfat_pc.h
# FreeBSD 7.x is missing strnlen(), adjusting this enables a builtin version of strnlen()
.if ${OSVERSION} < 800000
@${REINPLACE_CMD} -e 's|#ifdef __APPLE__|#if 1|g' ${WRKSRC}/src/utils/libfat/directory.cpp
.endif
.include <bsd.port.post.mk>