summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-08 00:34:36 +0000
committerlioux <lioux@FreeBSD.org>2003-02-08 00:34:36 +0000
commit85ee3c69b079d115420343837e5715f31f06e49b (patch)
tree4d9e051c59e227fa2ab5e5d67ed67e9ed2918684 /multimedia
parent1345f2b8a02fd31253e72670e43d3473c52bd430 (diff)
downloadFreeBSD-ports-85ee3c69b079d115420343837e5715f31f06e49b.zip
FreeBSD-ports-85ee3c69b079d115420343837e5715f31f06e49b.tar.gz
New port Goggles version 0.2.4: A FOX frontend to the Ogle DVD
player
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/goggles/Makefile50
-rw-r--r--multimedia/goggles/distinfo1
-rw-r--r--multimedia/goggles/pkg-comment1
-rw-r--r--multimedia/goggles/pkg-descr6
-rw-r--r--multimedia/goggles/pkg-plist2
6 files changed, 61 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index bc252d8..915bac6 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -5,6 +5,7 @@
SUBDIR += dvdrip
SUBDIR += ffmpeg
SUBDIR += ffmpeg045
+ SUBDIR += goggles
SUBDIR += gstreamer
SUBDIR += gstreamer-player
SUBDIR += gstreamer-plugins
diff --git a/multimedia/goggles/Makefile b/multimedia/goggles/Makefile
new file mode 100644
index 0000000..bbad764
--- /dev/null
+++ b/multimedia/goggles/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Ogle FOX GUI
+# Date created: Tue Jul 9 20:24:02 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Goggles
+PORTVERSION= 0.2.4
+CATEGORIES= multimedia
+MASTER_SITES= http://www.fifthplanet.net/files/
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/ogle/libdvdcontrol.so.8:${PORTSDIR}/multimedia/ogle
+LIB_DEPENDS= FOX-1.1.22:${PORTSDIR}/x11-toolkits/fox
+RUN_DEPENDS= ogle:${PORTSDIR}/multimedia/ogle
+
+USE_GMAKE= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-dvdcontrol=${LOCALBASE}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+pre-everything::
+.ifndef(WITH_DVD_DEVICE)
+ @${ECHO_MSG} '===> The default DVD device is /dev/acd0c'
+ @${ECHO_MSG} "===> You can choose any DVD device at Ogle's command line"
+ @${ECHO_MSG} '===> Define WITH_DVD_DEVICE if you want to change the default'
+ @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
+.endif
+
+.include <bsd.port.pre.mk>
+
+.ifdef(WITH_DVD_DEVICE)
+DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
+.else
+DEFAULT_DVD_DEVICE=/dev/acd0c
+.endif
+
+post-patch:
+# point to specific device
+ @${REINPLACE_CMD} -E -e \
+ 's|\"/dev/dvd\"|\"${DEFAULT_DVD_DEVICE}\"|' \
+ ${WRKSRC}/src/dvdwindow.cpp
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/goggles/distinfo b/multimedia/goggles/distinfo
new file mode 100644
index 0000000..b2c93e5
--- /dev/null
+++ b/multimedia/goggles/distinfo
@@ -0,0 +1 @@
+MD5 (goggles-0.2.4.tar.gz) = 7c3d50fdf47d1135dc547af150ef2fbc
diff --git a/multimedia/goggles/pkg-comment b/multimedia/goggles/pkg-comment
new file mode 100644
index 0000000..90fdca7
--- /dev/null
+++ b/multimedia/goggles/pkg-comment
@@ -0,0 +1 @@
+A FOX frontend to the Ogle DVD player
diff --git a/multimedia/goggles/pkg-descr b/multimedia/goggles/pkg-descr
new file mode 100644
index 0000000..6e3aef3
--- /dev/null
+++ b/multimedia/goggles/pkg-descr
@@ -0,0 +1,6 @@
+This is a Graphical Interface for Ogle.
+
+Goggles is a FOX frontend to the Ogle DVD player both visually and
+functionally resembling the one from graphics/ogle-gui port.
+
+WWW: http://www.fifthplanet.net/cgi-bin/wiki.pl?Goggles
diff --git a/multimedia/goggles/pkg-plist b/multimedia/goggles/pkg-plist
new file mode 100644
index 0000000..36cf257
--- /dev/null
+++ b/multimedia/goggles/pkg-plist
@@ -0,0 +1,2 @@
+bin/goggles
+bin/goggles_gui
OpenPOWER on IntegriCloud