diff options
-rw-r--r-- | audio/ocp/Makefile | 18 | ||||
-rw-r--r-- | audio/ocp/distinfo | 6 | ||||
-rw-r--r-- | audio/ocp/pkg-plist | 3 |
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 |