summaryrefslogtreecommitdiff
path: root/audio/ocp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2009-12-26 21:02:37 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2009-12-26 21:02:37 +0000
commitc29c7a6af901bdf53689d323711f30c26289cd6b (patch)
tree05ffb2ce39e284b5e1d6a5d1322d785533bcae4e /audio/ocp
parent- Update to 20091225 (diff)
Update to 0.1.18, this version comes with optional sdl audio support
Notes
Notes: svn path=/head/; revision=246726
Diffstat (limited to 'audio/ocp')
-rw-r--r--audio/ocp/Makefile18
-rw-r--r--audio/ocp/distinfo6
-rw-r--r--audio/ocp/pkg-plist3
3 files changed, 20 insertions, 7 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index c865128cca8b..8270e89b1b22 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= ocp
-PORTVERSION= 0.1.17
-PORTREVISION= 1
+PORTVERSION= 0.1.18
PORTEPOCH= 1
CATEGORIES= audio
-MASTER_SITES= CRITICAL
+MASTER_SITES= http://stian.cubic.org/ocp/ \
+ CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= The legendary Open Cubic Player
@@ -56,7 +56,8 @@ PFILES= configure cpiface/cpianal.c cpiface/cpidots.c \
OPTIONS= ADPLUG "Build with adplug support" on \
FLAC "Build with FLAC support" on \
MIDI "Build with timidity support" on \
- X11 "Build with X11 support" on
+ X11 "Build with X11 support" on \
+ SDL "Build with SDL support" on
.include <bsd.port.pre.mk>
@@ -87,6 +88,15 @@ PLIST_SUB+= ADPLUG="@comment "
CONFIGURE_ARGS+= --without-adplug
.endif
+.if defined(WITH_SDL)
+USE_SDL= sound
+CONFIGURE_ARGS+= --with-sdl=yes
+PLIST_SUB+= SDL=""
+.else
+CONFIGURE_ARGS+= --with-sdl=no
+PLIST_SUB+= SDL="@comment "
+.endif
+
.if defined(WITH_FLAC)
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
CONFIGURE_ARGS+= --with-flac
diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo
index f6abff4133be..5c189a1dc92b 100644
--- a/audio/ocp/distinfo
+++ b/audio/ocp/distinfo
@@ -1,3 +1,3 @@
-MD5 (ocp-0.1.17.tar.gz) = bae0d84dd429104e30e380088c92bd02
-SHA256 (ocp-0.1.17.tar.gz) = cf099f363acfe614a2bbf69f0b89916dec01998be8a81a114c0c4988b3114a1e
-SIZE (ocp-0.1.17.tar.gz) = 802000
+MD5 (ocp-0.1.18.tar.gz) = 7e1118126160f92aa7e52c728ac1439d
+SHA256 (ocp-0.1.18.tar.gz) = 0cb1c97f731ba7748cc135f1728f99fc14b154e021fad4c2a7cd39d91fe22a81
+SIZE (ocp-0.1.18.tar.gz) = 827309
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 7e0f2aa29202..575db01e3c9e 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -1,4 +1,7 @@
bin/ocp
+bin/ocp-curses
+%%XORG%%bin/ocp-x11
+%%SDL%%bin/ocp-sdl
bin/ultrafix.sh
%%XORG%%etc/X11/wmconfig/opencubicplayer
lib/ocp/autoload/10-compat.so