aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmps-win32-plugin
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-02-13 11:16:31 +0800
committerlioux <lioux@FreeBSD.org>2001-02-13 11:16:31 +0800
commit08bfdf37c66e8c11132938a18f03ef95cdf78284 (patch)
treea1c5d9f84b82f81f1eeacbb9c2f9073752edaded /graphics/xmps-win32-plugin
parent29c444d28aaf6cdc53399663db5c3c8f24e9a96e (diff)
downloadfreebsd-ports-gnome-08bfdf37c66e8c11132938a18f03ef95cdf78284.tar.gz
freebsd-ports-gnome-08bfdf37c66e8c11132938a18f03ef95cdf78284.tar.zst
freebsd-ports-gnome-08bfdf37c66e8c11132938a18f03ef95cdf78284.zip
New port of a xmps plugin for Win32 (TM) Codecs
Reviewed by: sobomax
Diffstat (limited to 'graphics/xmps-win32-plugin')
-rw-r--r--graphics/xmps-win32-plugin/Makefile38
-rw-r--r--graphics/xmps-win32-plugin/distinfo1
-rw-r--r--graphics/xmps-win32-plugin/pkg-comment1
-rw-r--r--graphics/xmps-win32-plugin/pkg-descr3
-rw-r--r--graphics/xmps-win32-plugin/pkg-plist2
5 files changed, 45 insertions, 0 deletions
diff --git a/graphics/xmps-win32-plugin/Makefile b/graphics/xmps-win32-plugin/Makefile
new file mode 100644
index 000000000000..fefb621e1a15
--- /dev/null
+++ b/graphics/xmps-win32-plugin/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: xmps-win32-plugin
+# Date created: 03 Feb 20001
+# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmps-win32-plugin
+PORTVERSION= 0.0.4
+CATEGORIES= graphics
+MASTER_SITES= http://xmps.sourceforge.net/sources/
+
+MAINTAINER= lioux@FreeBSD.org
+
+LIB_DEPENDS= xmps.0:${PORTSDIR}/graphics/xmps \
+ intl.1:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_GTK= yes
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
+
+CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
+#CODEC_PORT= ../win32-codecs
+CODEC_DETECTION_FILE!= cd ${CODEC_PORT} && ${MAKE} -V CODEC_DETECTION_FILE
+LIB_VERSION= 0
+
+post-patch:
+ ${PERL} -pi -ne "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" ${WRKSRC}/src/win32_codec.c
+
+post-install:
+ @${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}
+
+.include <bsd.port.mk>
diff --git a/graphics/xmps-win32-plugin/distinfo b/graphics/xmps-win32-plugin/distinfo
new file mode 100644
index 000000000000..04e4be76102f
--- /dev/null
+++ b/graphics/xmps-win32-plugin/distinfo
@@ -0,0 +1 @@
+MD5 (xmps-win32-plugin-0.0.4.tar.gz) = 14a4677fca132d326dde36277f8f912c
diff --git a/graphics/xmps-win32-plugin/pkg-comment b/graphics/xmps-win32-plugin/pkg-comment
new file mode 100644
index 000000000000..6028d0efb17d
--- /dev/null
+++ b/graphics/xmps-win32-plugin/pkg-comment
@@ -0,0 +1 @@
+xmps plugin for Win32 (TM) Codecs
diff --git a/graphics/xmps-win32-plugin/pkg-descr b/graphics/xmps-win32-plugin/pkg-descr
new file mode 100644
index 000000000000..5ab5a865597f
--- /dev/null
+++ b/graphics/xmps-win32-plugin/pkg-descr
@@ -0,0 +1,3 @@
+Win32 Codecs plugin for XMPS
+
+WWW: http://xmps.sourceforge.net/
diff --git a/graphics/xmps-win32-plugin/pkg-plist b/graphics/xmps-win32-plugin/pkg-plist
new file mode 100644
index 000000000000..814f5d7380e2
--- /dev/null
+++ b/graphics/xmps-win32-plugin/pkg-plist
@@ -0,0 +1,2 @@
+lib/xmps/codecs/video/libwin32.so
+lib/xmps/codecs/video/libwin32.so.%%LIB_VERSION%%