diff options
author | acm <acm@FreeBSD.org> | 2008-05-21 02:56:21 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2008-05-21 02:56:21 +0800 |
commit | 7320025f2acfbeaaece1c74eae4ed677e777e925 (patch) | |
tree | 85c2cc1390e6c2feb9f73655dd0dd485de1b0f76 /emulators | |
parent | 41d7de75289806264c4aedf8c3f4e247b2ec3050 (diff) | |
download | freebsd-ports-gnome-7320025f2acfbeaaece1c74eae4ed677e777e925.tar.gz freebsd-ports-gnome-7320025f2acfbeaaece1c74eae4ed677e777e925.tar.zst freebsd-ports-gnome-7320025f2acfbeaaece1c74eae4ed677e777e925.zip |
- New port: emulators/mupen64plus-rice
A graphic plugin for Mupen64Plus emulator
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/mupen64plus-rice/Makefile | 25 | ||||
-rw-r--r-- | emulators/mupen64plus-rice/files/patch-rice_video_Makefile | 22 | ||||
-rw-r--r-- | emulators/mupen64plus-video-rice/Makefile | 25 | ||||
-rw-r--r-- | emulators/mupen64plus-video-rice/files/patch-rice_video_Makefile | 22 |
5 files changed, 95 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 3a7f1fd28f0d..181873c71d7c 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -112,6 +112,7 @@ SUBDIR += mupen64plus-glide SUBDIR += mupen64plus-gln64 SUBDIR += mupen64plus-input + SUBDIR += mupen64plus-rice SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader diff --git a/emulators/mupen64plus-rice/Makefile b/emulators/mupen64plus-rice/Makefile new file mode 100644 index 000000000000..8fee40047d36 --- /dev/null +++ b/emulators/mupen64plus-rice/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: mupen64plus-rice +# Date created: 2008-05-16 +# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> +# +# $FreeBSD$ +# + +PKGNAMESUFFIX= -rice + +COMMENT= The rice graphics plugin for Mupen64plus + +USE_GL= yes +USE_SDL= sdl + +#USE_GCC= 4.1+ + +FIXFILES= rice_video/liblinux/BMGImage.c rice_video/liblinux/BMGUtils.c + +PLUGIN_NAME= ricevideo + +MASTERDIR= ${.CURDIR}/../mupen64plus-base + +OPTIONS= # + +.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-rice/files/patch-rice_video_Makefile b/emulators/mupen64plus-rice/files/patch-rice_video_Makefile new file mode 100644 index 000000000000..c637a3f04771 --- /dev/null +++ b/emulators/mupen64plus-rice/files/patch-rice_video_Makefile @@ -0,0 +1,22 @@ +--- rice_video/Makefile 2008-03-29 14:41:03.000000000 -0500 ++++ rice_video/Makefile 2008-05-17 09:40:34.000000000 -0500 +@@ -4,8 +4,8 @@ + include ../pre.mk + + # local CFLAGS, LIBS, and LDFLAGS +-CFLAGS += -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -fpic -DPIC +-LDFLAGS += -L/usr/X11R6/lib `sdl-config --libs` -lGL -shared -Wl,-Bsymbolic ++CFLAGS += -DUSE_GTK $(SDL_FLAGS) $(GTK_FLAGS) -fpic -DPIC ++LDFLAGS += -L$(LOCALBASE)/lib $(SDL_LIBS) -lGL -shared -Wl,-Bsymbolic + + # set options + +@@ -101,7 +101,7 @@ + all: ricevideo.so + + ricevideo.so: $(OBJECTS) +- $(LD) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@ ++ $(CXX) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@ + $(STRIP) $@ + + clean: diff --git a/emulators/mupen64plus-video-rice/Makefile b/emulators/mupen64plus-video-rice/Makefile new file mode 100644 index 000000000000..8fee40047d36 --- /dev/null +++ b/emulators/mupen64plus-video-rice/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: mupen64plus-rice +# Date created: 2008-05-16 +# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> +# +# $FreeBSD$ +# + +PKGNAMESUFFIX= -rice + +COMMENT= The rice graphics plugin for Mupen64plus + +USE_GL= yes +USE_SDL= sdl + +#USE_GCC= 4.1+ + +FIXFILES= rice_video/liblinux/BMGImage.c rice_video/liblinux/BMGUtils.c + +PLUGIN_NAME= ricevideo + +MASTERDIR= ${.CURDIR}/../mupen64plus-base + +OPTIONS= # + +.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-rice/files/patch-rice_video_Makefile b/emulators/mupen64plus-video-rice/files/patch-rice_video_Makefile new file mode 100644 index 000000000000..c637a3f04771 --- /dev/null +++ b/emulators/mupen64plus-video-rice/files/patch-rice_video_Makefile @@ -0,0 +1,22 @@ +--- rice_video/Makefile 2008-03-29 14:41:03.000000000 -0500 ++++ rice_video/Makefile 2008-05-17 09:40:34.000000000 -0500 +@@ -4,8 +4,8 @@ + include ../pre.mk + + # local CFLAGS, LIBS, and LDFLAGS +-CFLAGS += -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -fpic -DPIC +-LDFLAGS += -L/usr/X11R6/lib `sdl-config --libs` -lGL -shared -Wl,-Bsymbolic ++CFLAGS += -DUSE_GTK $(SDL_FLAGS) $(GTK_FLAGS) -fpic -DPIC ++LDFLAGS += -L$(LOCALBASE)/lib $(SDL_LIBS) -lGL -shared -Wl,-Bsymbolic + + # set options + +@@ -101,7 +101,7 @@ + all: ricevideo.so + + ricevideo.so: $(OBJECTS) +- $(LD) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@ ++ $(CXX) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@ + $(STRIP) $@ + + clean: |