summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-02-13 03:16:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-02-13 03:16:31 +0000
commitb6c95c28584d84a1bea2b013450559d1d4268bb4 (patch)
tree8103d8a25286051d4ef86db12b435a3d2a655bee /graphics
parentInitial revision of this port. It will now have a history of its own. :) (diff)
New port of a xmps plugin for Win32 (TM) Codecs
Reviewed by: sobomax
Notes
Notes: svn path=/head/; revision=38290
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-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
6 files changed, 46 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ca9a4be3b050..3013013eb65c 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -236,6 +236,7 @@
SUBDIR += xmovie
SUBDIR += xmps
SUBDIR += xmps-opendivx-plugin
+ SUBDIR += xmps-win32-plugin
SUBDIR += xmrm
SUBDIR += xpaint
SUBDIR += xpdf
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%%