mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
76e953115a
- Pass maintainership to submitter PR: 126985 Submitted by: L Campbell <llc2w at virginia dot edu> (improved by me) Approved by: Stefan Sperling <stsp at stsp dot in-berlin dot de> (maintainer)
43 lines
1.0 KiB
Makefile
43 lines
1.0 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.8
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= llc2w@virginia.edu
|
|
COMMENT= Nintendo DS emulator
|
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gtk20 libglade2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= GMSGFMT=msgfmt DATADIRNAME=share
|
|
|
|
USE_AUTOTOOLS= aclocal:19 autoconf:262
|
|
ACLOCAL_ARGS=
|
|
AUTOCONF_ARGS=
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -DGTKGLEXT_AVAILABLE -DHAVE_LIBGDKGLEXT_X11_1_0 \
|
|
-DHAVE_GL_GL_H -DHAVE_GL_GLU_H
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "ia64"
|
|
BROKEN= Does not compile on ia64
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|@MKDIR_P@|${MKDIR}|' ${WRKSRC}/src/cli/Makefile.in \
|
|
${WRKSRC}/src/gtk/Makefile.in ${WRKSRC}/src/gtk-glade/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|../MMU.h|../&|' ${WRKSRC}/src/gtk/tools/ioregsView.c
|
|
|
|
.include <bsd.port.post.mk>
|