aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64-glide/Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-10-09 07:35:36 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-10-09 07:35:36 +0000
commitf10920752de278a74de0212fb219a5ed68a59f20 (patch)
tree335f453f8525d3165695c78d667522a514f39a4e /emulators/mupen64-glide/Makefile
parent31424eae3fcec0f2567c3496fc10571e37af5f61 (diff)
downloadports-f10920752de278a74de0212fb219a5ed68a59f20.tar.gz
ports-f10920752de278a74de0212fb219a5ed68a59f20.zip
Notes
Diffstat (limited to 'emulators/mupen64-glide/Makefile')
-rw-r--r--emulators/mupen64-glide/Makefile50
1 files changed, 7 insertions, 43 deletions
diff --git a/emulators/mupen64-glide/Makefile b/emulators/mupen64-glide/Makefile
index 401ce43c2ab6..7a277f29e641 100644
--- a/emulators/mupen64-glide/Makefile
+++ b/emulators/mupen64-glide/Makefile
@@ -5,59 +5,23 @@
# $FreeBSD$
#
-PORTNAME= mupen64
PORTVERSION= 0.7
-PORTREVISION= 3
-CATEGORIES+= emulators
-MASTER_SITES= http://mupen64.emulation64.com/files/0.4/
+PORTREVISION= 4
PKGNAMESUFFIX= -glide
-DISTNAME= glide64_0_7_ME
-MAINTAINER?= tlp@LiquidX.org
COMMENT= Glide64 graphics plugin for Mupen64
-BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
+BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-USE_BZIP2= yes
-USE_GMAKE= yes
USE_SDL= sdl
-USE_GNOME= gtk12
-USE_XLIB= yes
USE_GL= yes
-USE_GCC= 3.4
-ONLY_FOR_ARCHS= i386
-PLUGIN_NAME= Glide64
-PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so
-PLIST_FILES+= share/mupen64/plugins/${PLUGIN_NAME}.ini
-PLIST_DIRS= share/mupen64/plugins
-PLIST_DIRS+= share/mupen64
-
-FIXME2= wrapper/main.cpp
-
-do-configure:
-.for i in ${FIXME2}
- ${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL.h|' ${WRKSRC}/${i}
-.endfor
+FIXFILES= #
-do-install:
- @${MKDIR} ${PREFIX}/share/mupen64/plugins
- ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \
- ${PREFIX}/share/mupen64/plugins/
- ${INSTALL_DATA} ${WRKSRC}/${PLUGIN_NAME}.ini \
- ${PREFIX}/share/mupen64/plugins/
-
-.include <bsd.port.pre.mk>
-
-CFLAGS+= -Iwrapper/ `${SDL_CONFIG} --cflags`
-CFLAGS+= -DUSE_GTK `${GTK_CONFIG} --cflags` -fPIC
-CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -ffast-math -Wall -pipe
-CFLAGS+= -DX86 -mcpu=athlon
-LDFLAGS+= -lGL -lGLU -L${X11BASE}/lib `${SDL_CONFIG} --libs` -lc
+PLUGIN_NAME= Glide64
-MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LD="${CXX}"
+MASTERDIR= ${.CURDIR}/../mupen64-base
-post-install:
- @${CAT} ${PKGMESSAGE}
+OPTIONS= #
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"