summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-12 07:24:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-12 07:24:13 +0800
commit55a310e4dc1df296a98f3d677457140032a170ce (patch)
tree24167f45772f6835515059f6f0d99fd2d9917e3c /multimedia
parent80137ab1864c65c262938cb1c181d846aa77bc4f (diff)
downloadmarcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar.gz
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar.bz2
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar.lz
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar.xz
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.tar.zst
marcuscom-ports-55a310e4dc1df296a98f3d677457140032a170ce.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7721 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmps-win32-plugin/Makefile46
-rw-r--r--multimedia/xmps-win32-plugin/distinfo3
-rw-r--r--multimedia/xmps-win32-plugin/pkg-descr1
3 files changed, 50 insertions, 0 deletions
diff --git a/multimedia/xmps-win32-plugin/Makefile b/multimedia/xmps-win32-plugin/Makefile
new file mode 100644
index 000000000..23e7ba1f0
--- /dev/null
+++ b/multimedia/xmps-win32-plugin/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: xmps-win32-plugin
+# Date created: 03 Feb 20001
+# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= xmps-win32-plugin
+PORTVERSION= 0.0.4
+PORTREVISION= 6
+CATEGORIES= multimedia
+MASTER_SITES= http://ftp.vin.bg.ac.yu/linux/mmedia/xmps/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= xmps plugin for Win32 (TM) Codecs
+
+LIB_DEPENDS= xmps.0:${PORTSDIR}/multimedia/xmps
+RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
+
+USE_GETTEXT= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gtk12
+USE_XLIB= yes
+USE_LDCONFIG= yes
+
+#CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs
+CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
+LIB_VERSION= 0
+PLIST_FILES= lib/xmps/codecs/video/libwin32.a \
+ lib/xmps/codecs/video/libwin32.la \
+ lib/xmps/codecs/video/libwin32.so \
+ lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \
+ ${WRKSRC}/src/win32_codec.c
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/*
+
+post-install:
+ @${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}
+
+.include <bsd.port.mk>
diff --git a/multimedia/xmps-win32-plugin/distinfo b/multimedia/xmps-win32-plugin/distinfo
new file mode 100644
index 000000000..30fd2cfe4
--- /dev/null
+++ b/multimedia/xmps-win32-plugin/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmps-win32-plugin-0.0.4.tar.gz) = 14a4677fca132d326dde36277f8f912c
+SHA256 (xmps-win32-plugin-0.0.4.tar.gz) = 6d836177156f0ab76531bdd483d192d4b9f940f286ef3b6a452e4849a5800803
+SIZE (xmps-win32-plugin-0.0.4.tar.gz) = 273304
diff --git a/multimedia/xmps-win32-plugin/pkg-descr b/multimedia/xmps-win32-plugin/pkg-descr
new file mode 100644
index 000000000..1cd126dff
--- /dev/null
+++ b/multimedia/xmps-win32-plugin/pkg-descr
@@ -0,0 +1 @@
+Win32 Codecs plugin for XMPS