aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/xine/Makefile3
-rw-r--r--graphics/xine/files/patch-configure11
-rw-r--r--graphics/xine/pkg-message4
-rw-r--r--graphics/xine/pkg-plist2
-rw-r--r--multimedia/xine/Makefile3
-rw-r--r--multimedia/xine/files/patch-configure11
-rw-r--r--multimedia/xine/pkg-message4
-rw-r--r--multimedia/xine/pkg-plist2
8 files changed, 38 insertions, 2 deletions
diff --git a/graphics/xine/Makefile b/graphics/xine/Makefile
index cd2c1b59b151..e35cb3db6db0 100644
--- a/graphics/xine/Makefile
+++ b/graphics/xine/Makefile
@@ -17,4 +17,7 @@ GNU_CONFIGURE= yes
USE_X_PREFIX= yes
USE_IMLIB= yes
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/graphics/xine/files/patch-configure b/graphics/xine/files/patch-configure
new file mode 100644
index 000000000000..727b498ed90f
--- /dev/null
+++ b/graphics/xine/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Oct 10 07:57:35 2000
++++ configure Sat Oct 14 18:10:35 2000
+@@ -3566,7 +3566,7 @@
+ *) echo "$host is not currently supported by xine"; exit 1;;
+ esac
+
+- GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wall -O3 -fomit-frame-pointer -static -funroll-loops -finline-functions"
++ GLOBAL_CFLAGS="$GLOBAL_CFLAGS $CFLAGS -Wall -fomit-frame-pointer -static -funroll-loops -finline-functions"
+ ;;
+ esac
+
diff --git a/graphics/xine/pkg-message b/graphics/xine/pkg-message
new file mode 100644
index 000000000000..05d7f5b20978
--- /dev/null
+++ b/graphics/xine/pkg-message
@@ -0,0 +1,4 @@
+Make sure you've enough shared memory, the xine FAQ
+advises to have the following sysctl settings:
+kern.ipc.shmmax=67108864
+kern.ipc.shmall=32768
diff --git a/graphics/xine/pkg-plist b/graphics/xine/pkg-plist
index 5eac87a33329..8abab195fc37 100644
--- a/graphics/xine/pkg-plist
+++ b/graphics/xine/pkg-plist
@@ -2,7 +2,6 @@ lib/xine/plugins/input_file.so
lib/xine/plugins/input_file.la
lib/xine/plugins/input_dvd.so
lib/xine/plugins/input_dvd.la
-share/xine/skins/default
share/xine/skins/default/bg.png
share/xine/skins/default/close.png
share/xine/skins/default/exit.png
@@ -16,6 +15,7 @@ share/xine/skins/default/pause.png
share/xine/skins/default/prev.png
share/xine/skins/xine_logo.png
bin/xine
+@dirrm share/xine/skins/default
@dirrm share/xine/skins
@dirrm share/xine
@dirrm lib/xine/plugins
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index cd2c1b59b151..e35cb3db6db0 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -17,4 +17,7 @@ GNU_CONFIGURE= yes
USE_X_PREFIX= yes
USE_IMLIB= yes
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/multimedia/xine/files/patch-configure b/multimedia/xine/files/patch-configure
new file mode 100644
index 000000000000..727b498ed90f
--- /dev/null
+++ b/multimedia/xine/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Oct 10 07:57:35 2000
++++ configure Sat Oct 14 18:10:35 2000
+@@ -3566,7 +3566,7 @@
+ *) echo "$host is not currently supported by xine"; exit 1;;
+ esac
+
+- GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wall -O3 -fomit-frame-pointer -static -funroll-loops -finline-functions"
++ GLOBAL_CFLAGS="$GLOBAL_CFLAGS $CFLAGS -Wall -fomit-frame-pointer -static -funroll-loops -finline-functions"
+ ;;
+ esac
+
diff --git a/multimedia/xine/pkg-message b/multimedia/xine/pkg-message
new file mode 100644
index 000000000000..05d7f5b20978
--- /dev/null
+++ b/multimedia/xine/pkg-message
@@ -0,0 +1,4 @@
+Make sure you've enough shared memory, the xine FAQ
+advises to have the following sysctl settings:
+kern.ipc.shmmax=67108864
+kern.ipc.shmall=32768
diff --git a/multimedia/xine/pkg-plist b/multimedia/xine/pkg-plist
index 5eac87a33329..8abab195fc37 100644
--- a/multimedia/xine/pkg-plist
+++ b/multimedia/xine/pkg-plist
@@ -2,7 +2,6 @@ lib/xine/plugins/input_file.so
lib/xine/plugins/input_file.la
lib/xine/plugins/input_dvd.so
lib/xine/plugins/input_dvd.la
-share/xine/skins/default
share/xine/skins/default/bg.png
share/xine/skins/default/close.png
share/xine/skins/default/exit.png
@@ -16,6 +15,7 @@ share/xine/skins/default/pause.png
share/xine/skins/default/prev.png
share/xine/skins/xine_logo.png
bin/xine
+@dirrm share/xine/skins/default
@dirrm share/xine/skins
@dirrm share/xine
@dirrm lib/xine/plugins